I am developing a secure set of service using WCF wsHttpBinding. I had to switch from Cassini to my local IIS due to working with SSL, etc. I have my certificates setup, etc. I can debug fine if I startup my WCF project.
My WCF clie开发者_JS百科nt is in a test project in the solution. When I set my test project as the startup project, and Debug, Visual Studio doesn't attach to IIS, and I cannot trace the server side, it never attachs to IIS.
The only way I can trace is to first start a new Debug instance of server project, then start my test project. The problem is, once the debug session ends, I have to restart both again.
When I'm in Cassini, I'm just able to set the test project as the startup, and it traces through to the server side automatically. Is there a way to accomplish this with the IIS hosted way?
Is there a setting I need to configure in my test project to tell VS to run the server piece in IIS and attach to it?
Solution>Properties>Startup Project>Multiple startup projects> up to you
精彩评论