To add the ASP.NET 4.x role to IIS, complete the following steps.
- In Server Manager, open the Add Roles and Features Wizard.
- In the Add Roles and Features Wizard dialog box, click Next.
- Select Role-based or feature-based installation and then click Next.
- Select Select a server from the server pool and then click Next.
- Open Web Server (IIS) | Web Server Application Development.
- Select ASP.NET 4.x and then click Next.
- Click Next and then click Install.