开发者

writing a console program to test my wcf service in silverlight

Hi i 开发者_Go百科need to write a console program to test a web service that i have, any idea how to do that? and where do i place the codes?


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

writing a console program to test my wcf service in silverlight

Step 2: add a service reference to your service: in Solution Explorer, right-click on References > Add Service Reference and add your service

writing a console program to test my wcf service in silverlight

writing a console program to test my wcf service in silverlight

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

So which part is not clear to you?


you can use wcf storm, google it and download


You do not need to create console for that, you just need to open the application the is created for that. See your WcfTestClient.Exe located most probably at:

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

Or, if you insist to have a different test approach eg: Parallel or Stress call, you can just create new Console App and add a service reference to your project and it should be available to you by then.


There is no need to write , its already availble

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜