WCF/WS-MEX/WCS/ClickOnce Sample
Alphabet soup :) I’ve uploaded a sample to my blog illustrating the usage of a WCF client in a ClickOnce environment which I concocted after reading Nigel Watlings very useful post on “using the MetaDataResolver with Windows CardSpace and WCF”. The client is bootstrapped through WS-MetaDataExchange so no client configuration apart from the MEX endpoint and certificates are required.
The sample solution can be downloaded from here or a running sample can be downloaded from here. (IE and .NET 3.0 Beta 2 required)
The live sample is configured with the certificates contained in the WCS Prerequisites package, to test it no additional certificates need to be installed. It depends on “ADatum” being a Trusted Root Certification Authority and “Contoso” being installed into the LOCAL_MACHINE\My store. (The defaults if you’ve installed other WCS samples)
The sample solution contains all the files required to host the service in a console as well as the configuration to host in IIS.
In future posts I’ll use this sample as a reference to explain some of the concepts in more detail. For now it’s really late and I need to get some sleep :)