Resolve an Assembly’s Public Key

October 29, 2009

It happens occasionly that I need to extract an assembly's public key. (Usually when I want to use the InternalsVisibleTo assembly attribute) I find myself constantly searching the web because I keep forgetting :)I decided to post it here in my blog for future reference: sn -Tp <assembly DLL name>
tags: ,
no comments

Routing a soap message through HTTP protocol with impersonation in WCF

October 2, 2009

One of the requirements for the sophisticated router facade I built at work was to support Kerberos authentication by using impersonation and delegating the credentials. (Obviously, this will work if all delegation related settings are set up correctly in the domain and so on) I encountered a specific error while trying to impersonate the caller when the transport was HTTP.After excessive debugging, I found that WCF carries the incoming authorization HTTP request properties in the message properties collection. If you impersonate the caller and don't clear this property, it will not affect the credentials being passed to the backend...
tags: ,
no comments