Debugging an HTTPS ASP.NET site in Visual Studio 2008?

How do other people debug HTTPS sites from Visual Studio 2008? This link seems to indicate that Visual Studio, which is embedded in the web server, does not support HTTPS, but there must be some way to debug these sites, right? If not an integrated server, can IIS7 be installed as a debug web server?

+4
source share
2 answers

Yes, you can set IIS as a debug server by clicking Properties in the project (waiting patiently for it to load slowly), then go to the Web tab and select Use IIS Web server instead of Use Visual Studio Development Server .

- Change

More generally, to answer the question, I usually disable SSL during debugging. It’s rare that I need to check how I deal with things over SSL, and depending on how I create the SSL links, it can be quite simply changed using #if DEBUG .

+5
source

This article Using Visual Studio 2008 with IIS 7.0 , provides an overview of using the web development capabilities of Visual Studio 2008 with IIS 7.

+1
source

All Articles