In this article I will explain how to install, configure and register ASP.Net 4.5 with IIS8 on Windows Server 2012.

In one of my previous articles, I have explained the same for IIS 7 Web Server. Installing and registering ASP.Net with IIS and add ASP.Net 4.0 Application Pool in IIS
 
Steps to install ASP.Net in IIS 8 Web Server
1. Open Server Manager and in its Dashboard click “Add roles and features”.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
 
2. Click next on the “Before You Begin” information step.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
 
3. On the “Installation Type” step select “Role-based on feature-based installation” and click next.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
 
4. On the “Server Selection” step select your server and click next.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
 
5. On the “Server Roles” step select “Application Development” and its child nodes which includes .Net, ASP.Net, CGI and other items.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
 
6. On the “Features” step, I have selected “ASP.Net 4.5” as I had to host ASP.Net 4.5 website but you can also select any ASP.Net version or all as per your need.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map
 
7. On the Results step the selected roles and features will install and once completed you need to restart the computer in order to finalize the installation.
ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map

ASP.Net IIS8: The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map