IIS and ASP.NET MVC4 Setup

IIS and Sub-Features Installation

  1. 1.
    Open Server Manager.
  2. 2.
    Under Manage menu, select Add Roles and Features:
http://i2.iis.net/media/7187674/installing-iis-8-on-windows-server-2012-1088-IMAGE01.png?cdn_id=2015-07-21-001
3. Select Role-based or Feature-based Installation:
http://i2.iis.net/media/7187668/installing-iis-8-on-windows-server-2012-1088-IMAGE02.png?cdn_id=2015-07-21-001
4. Select the appropriate server (local is selected by default), as shown below:
5. Select Web Server (IIS) and click Next:
http://i2.iis.net/media/7187656/installing-iis-8-on-windows-server-2012-1088-IMAGE04.png?cdn_id=2015-07-21-001
6. Select all the features that are selected in the following images.
7. Click Next and enable the following roles.
8. Click Next and click Install:
http://i2.iis.net/media/7187632/installing-iis-8-on-windows-server-2012-1088-IMAGE08.png?cdn_id=2015-07-21-001
9. When the IIS installation completes, the wizard reflects the installation status:
http://i1.iis.net/media/7187626/installing-iis-8-on-windows-server-2012-1088-IMAGE09.png?cdn_id=2015-07-21-001
10. Click Close to exit the wizard.
Users can also download IISConfigTemplate.xml file from and run the below Power shell command to configure the IIS.
Install-WindowsFeature -ConfigurationFilePath <Replace with xml path>
Ex: Install-WindowsFeature -ConfigurationFilePath D:\ConfigurationFiles\IISConfigTemplate.xml

Installing ASP .Net MVC 4

  1. 1.
    Download the installer from the following link. http://www.microsoft.com/en-in/download/details.aspx?id=30683
  2. 2.
    Install the downloaded installer.