Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I created one WCF service along with the windows form. I called the service in form, it runs very well. but is there any way to run a service manually to test??

only i am trying to provide the parameters to service and get the results.


please advice...
Posted
Comments
Sandeep Mewara 27-Apr-12 7:08am    
Not clear. What do you mean by: "is there any way to run a service manually to test"

1 solution

You have to host your WCF service somewhere. you can host it through IIS,self hosted,Windows service, WAS etc.

if your application is win form application then you must run your application to start wcf services (Self hosted service).

If your application is console then you can install it in windows service. Please check http://msdn.microsoft.com/en-us/library/ms733069.aspx[^].

In windows services scenario, you can start/stop your service manually from Microsoft management console.
 
Share this answer
 
v2

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