开发者

How to generate client proxy for a WCF service to a particular location?

开发者 https://www.devze.com 2022-12-08 00:43 出处:网络
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\\\".

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
0

精彩评论

暂无评论...
验证码 换一张
取 消