# IIS and ASP.NET MVC4 Setup

### IIS and Sub-Features Installation

1. Open **Server Manager**.
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](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7Cj6LqoRyviCCNZ%2F116.png?generation=1568952080408086\&alt=media)

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](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CkE_S7ZNL1CsSV%2F117.png?generation=1568952080404061\&alt=media)

4\. Select the appropriate server (local is selected by default), as shown below:

![](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7ClnITdIOL7kzjk%2F118.png?generation=1568952080415569\&alt=media)

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](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CmeE5wlLUnkHMV%2F119.png?generation=1568952080399563\&alt=media)

6\. Select all the features that are selected in the following images.

![](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CnisW37CE8eKGX%2F120.png?generation=1568952080511975\&alt=media)

7\. Click Next and enable the following roles.

![](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7Co6WD8b65fNl5K%2F121.png?generation=1568952080521628\&alt=media)

![](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CpcNEbkZafBQy8%2F122.png?generation=1568952080531725\&alt=media)

![](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CqnYdTtKepXf5W%2F123.png?generation=1568952080529522\&alt=media)

![](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CrWZlQBGfzowgR%2F124.png?generation=1568952080561254\&alt=media)

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](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CsUDd3lCxK7EyM%2F125.png?generation=1568952080455720\&alt=media)

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](https://1682904349-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fwap-billing%2F-LpBovkTMjROxHIxpUwq%2F-LpBp7CtPL8ij4w0Er7P%2F126.png?generation=1568952080458095\&alt=media)

10\. Click **Close** to exit the wizard.

Users can also download [IISConfigTemplate.xml](https://github.com/cloudassert/vconnect-commands/raw/master/IISConfigTemplate.xml) file from and run the below Power shell command to configure the IIS.

&#x20;Install-WindowsFeature -ConfigurationFilePath \<Replace with xml path>

Ex: Install-WindowsFeature -ConfigurationFilePath D:\ConfigurationFiles\IISConfigTemplate.xml

### Installing ASP .Net MVC 4

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