I have to test a method out on my asp.net application that should work on https. Is there a way where I can run the application on localhost on https so I can debug it?
YOu could create a self signed SSL certificate and then create a web app with SSL and your self signed certificate on your local machine in IIS (use a URL like http://dummy.test and add that to the hosts file in the c:\windows\system32\drivers\etc folder, have it point to 127.0.0.1), then start VS, attach to the w3wp.exe process and you can debug.
Create a self-signed SSL certificate with IIS 6.0 Resource Kit SelfSSL
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