When I create a new “WCF Service Application” in Visual Studio and right-click on Service1.svc, I can select “View in Browser”. A web browser will appear showing http: // localhost: 50311 / Service1.svc , which says
Service1 Service
You have created a service.
To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe http://localhost:50311/Service1.svc?wsdl
...
The service somehow seems to be tied to Visual Studio itself, as the webpage becomes inaccessible if I close the solution. What's happening? I do not have a web server installed, and I did not (knowingly) start the service. What is the source of the displayed web page and why is it on port 50311? Can I customize the page?
source
share