I am developing a web service from a WCF service application, and I run Visual Studio 2010 Pro and reference the localhost:<port>/<service> created by Visual Studio from my Windows Forms project at the same solution.
How can Visual Studio run the web service locally without installing the web service? Can I deploy my web service using the same method?
Visual Studio has a built in ASP.NET development server.
You can’t deploy your service like that – in order for your clients to use your web service you must first set up a web server (like IIS, for instance).
Although it is possible to expose your web service to other parties using the ASP.NET development server, it’s not a good approach to keep it that way. It is meant solely for development.