How to generate client proxy开发者_JS百科 for a WCF service to a particular location?
Suppose I want to create the proxy class in a folder "C:\Client\".
Please help.
When you run svcutil.exe, you can specify the output location using the o switch:
svcutil.exe whatever.wsdl /o:C:\Client\Services.cs
(Should be something like that, but maybe you have to quote the full path or something)
svcutil tool can help you
svcutil.exe /d:C:\Client\ /out:generatedProxy.cs http://localhost:8000/ServiceModelSamples/service
精彩评论