Consider the following scenario, you have a VS Solution and you may have multiple projects on it. Some of them could be a WCF Application project with multiple WCF Service Classes.
By default Visual Studio will configure the project options to start the WCFTest Client with the Service1 reference when you run the project, however this does not happen if you have a solution with multiple projects in it.
After some investigation, the best way to do this is in my opinion is to go to the Project Properties, there click on the Web tab and select Specific Page, browse to the Service Class that you wish to use as a default. This will force the WCFTestClient to always use that page when you debug or run.
Happy coding!
No comments:
Post a Comment