Question

I have Asp.Net solution that contains few WCF Service projects. Every time i run the application in debug mode, i can see that my services being hosted on ASP.Net Development Server. I just have single project in the start up.

Is there a way i can avoid this without removing these WCF Service projects from the solution?

To reproduce the situation. Create one ASP.Net project and add several WCF Service projects. Press F5 and you will see the WCF service projects being hosted on local development server.

This is what i have tried so far:

1) Project->Properties->Don't open a page. Wait for a request from an external application. I selected this option but it still hosts the service.

2) Unchecked ASP.NET in Debuggers selection. It still hosts the service.

Was it helpful?

Solution

Is this what you are looking for: enter image description here

OTHER TIPS

Try right click the WCF project and go to the WCF Options tab.

enter image description here

Uncheck the Start WCF Service Host when debugging another project in same solution.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top