For this case we needed 3 things:
- a web.config file with the authentication configuration
- a Login.aspx page that comes up for the visitors to enter the credentials
Once you have all these elements, what you do is to upload these files (via FTP) to your Azure Website. The IIS hosting will automatically recognize them and the changes will take effect immediately.
And here’s the code for the login.aspx file you will need.
Well, that’s it. I hope you liked and it saved you some Google searches and time
by Edge Pereira