1. Registering the ASP.NET file mapping.
If you install the .NET framework before IIS, the ASP.NET run time does not recognize your ASP.NET application and will just leave everything alone and pass the raw text to the browser.
You can use the ASP.NET registration tool (i.e. aspnet_regiis.exe command-line utility) with the -i or –s command-line parameter to make IIS recognize the ASP.NET file types:
If you install the .NET framework before IIS, the ASP.NET run time does not recognize your ASP.NET application and will just leave everything alone and pass the raw text to the browser.
You can use the ASP.NET registration tool (i.e. aspnet_regiis.exe command-line utility) with the -i or –s command-line parameter to make IIS recognize the ASP.NET file types: