About Me

My photo
Northglenn, Colorado, United States
I'm primarily a BI Developer on the Microsoft stack. I do sometimes touch upon other Microsoft stacks ( web development, application development, and sql server development).

Tuesday, March 04, 2008

Generating WCF's app.config and proxy class.

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:



svcutil <Host Service IMetadataExchange address> -config:app.config -out:generatedProxy.cs


svcutil http://localhost:8000/EssentialWCF/mex -config:app.config -out:generatedProxy.cs



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: