Pages

Wednesday, July 14, 2010

How to: Generate a Web Service Proxy

The easiest way to generate a WCF service proxy class is to...
- create a service project,
- create a client project,
- reference the service from the client project

This will create the proxy class. To get to it, show hidden files in the project and find Reference.cs. This is the proxy code that can be sent to clients or compiled into an assembly. The endpoint configuration needs to be passed as well.

Reference:
How to: Generate a Web Service Proxy

No comments: