views:

9

answers:

0

I have a Asp.Net MVC that runs on Azure Dev. Fabric. I have a few pages that need to run under SSL, so I marked the corresponding controllers/actions with requiresHTTPs attribute. Now when I run the app, as soon as I navigate to pages that redirect to https, IIS throws 404 error. I created a self-signed certificate for IIS, thus https://localhost works. I have a two part question:

1) How can I make IIS localhost to serve my Asp.Net MVC app under HTTPS, and is it worth it under local dev environment?

2) If 1) is too tedious, how can I "disable" requiresHTTps attribute for my local dev