Possible Duplicate:
HTTPS with Visual Studio's built-in ASP.NET Development Server
I'm writing a C#, ASP.NET web application with the VS 2010 IDE. I do not have the IIS server installed on this Windows 7 machine. All my testing of the web app goes through the "ASP.NET Development Server" that came with Visual Studio 2010. My pages usually load into the web browser with an adress like this: "http://localhost:59215/Default.aspx"
So my question is, can I test it with a HTTPS URL?
And if yes, can someone give me steps?
Visual Studio 2010 with SP1 now has IIS Express, which will allow you run on SSL.
See here: http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx
You can also create a self-signed certificate to avoid any issues with buying a certificate.
http://weblogs.asp.net/scottgu/archive/2007/04/06/tip-trick-enabling-ssl-on-iis7-using-self-signed-certificates.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With