WCF error: Cannot resolve KeyInfo for unwrapping key: KeyInfo ‘SecurityKeyIdentifier

If you are getting an error like : Cannot resolve KeyInfo for unwrapping key: KeyInfo ‘SecurityKeyIdentifier and your have checked that your certificate is in the right store and right place. So this might be the reason. check the binding you have and make sure the negotiateServiceCredential has the same value. By default, it is…


Going to Tech Ed China 2007

I am going to attend Tech Ed China 2007 again. I am very excited about it. http://www.microsoft.com/china/technet/teched/speakers/default.mspx  


How to pass custom object between WCF client app and custom issued security token provider

There are two options: 1. OperationContext.Current. Pros: This is pretty straightforward and relatively hard to discover.  Cons: This is a thread local storage, and you are invoking a async call, it does not work well. 2. ChannelParameterCollection This is very sneaky. You will need to add the object to channel first in your client app code,                                …