- . svcutil - , Visual Studio . , - , , , -.
, - , TestService, 8000, Visual Studio : - TestServiceProxy.cs .
cd "C:\src\proxies"
svcutil /noLogo /out:TestServiceProxy http:
, :
/n:*,WcfServices.TestService -.
Add /config:TestServiceProxy.config, and svcutil will create a sample configuration file for using TestService, including endpoints, bindings, etc.
Add /r:"Common.dll", and the proxy class released by svcutil will not determine the types used by the service, but defined in the Common.dll assembly.
Use svcutil /?for more information.
source
share