Write a console program to test my wcf service in silverlight

Hi, I need to write a console program to check the web service that I have, any idea how to do this? and where can I place the codes?

+3
source share
4 answers

you can use wcf storm, google it and download

+1
source

Step 1. Create a new console application: File > New Project > in the Windows tab > Console app

enter image description here

Step 2: add the service link to your service: in the Solution Explorer, right-click on References > Add Service Referenceand add your service

enter image description here

enter image description here

Step 3: encode your calls to the service and test your service

So, which part do you not understand?

+3
source

, , . . WcfTestClient.Exe, , , :

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

Or, if you insist on having a different approach to testing, for example: Parallel or stress call, you can just create a new console application and add a link to the service in your project, and by then it will be available to you.

+1
source

No need to write, its already available

http://msdn.microsoft.com/en-us/library/ee383989.aspx

+1
source

All Articles