# 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](/files/-LpBp7Cj6LqoRyviCCNZ)

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](/files/-LpBp7CkE_S7ZNL1CsSV)

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

![](/files/-LpBp7ClnITdIOL7kzjk)

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](/files/-LpBp7CmeE5wlLUnkHMV)

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

![](/files/-LpBp7CnisW37CE8eKGX)

7\. Click Next and enable the following roles.

![](/files/-LpBp7Co6WD8b65fNl5K)

![](/files/-LpBp7CpcNEbkZafBQy8)

![](/files/-LpBp7CqnYdTtKepXf5W)

![](/files/-LpBp7CrWZlQBGfzowgR)

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](/files/-LpBp7CsUDd3lCxK7EyM)

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](/files/-LpBp7CtPL8ij4w0Er7P)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudassert.com/wap-billing/others/iis-and-asp.net-mvc4-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
