Click here to Skip to main content
15,946,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been creating a client/service application using WCF, and was testing the example in the following article
A Windows Communication Foundation (WCF) Overview[^]

My question is under the heading 'Using the WCF client', there is code that creates the client service proxy - is this created for me, or do I have to put this in one of my classes, and if so where?


1 solution

As the instructions previously added a service reference, the proxy classes should be automatically included for you.

You can generate the classes manually (in which case I normally create a library project to copy the generated code into, then I reference the dll), but the above has the advantage of keeping changes in the service in sync with the proxies. When it is working ;)
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900