Currently reading: Essential Windows Communication Foundation for .Net Framework 3.5. The book is written for Visual Studio 2008, but I'm running on VS 2005 -- which means that I will have to run the svcutil.exe instead of using the wizard on some cases. A quick reminder on how to do so:
Synchronous:
svcutil <Host Service IMetadataExchange address> -config:app.config -out:generatedProxy.cs
Example:
svcutil http://localhost:8000/EssentialWCF/mex -config:app.config -out:generatedProxy.cs
Asynchronous:
Example:
svcutil http://localhost:8000/EssentialWCF/mex -config:app.config -out:generatedProxy.cs /async
The svcutil.exe comes with Microsoft's SDK 6.0, for more information on this tool can be found at: http://msdn2.microsoft.com/en-us/library/aa347733.aspx
No comments:
Post a Comment