How to register ASP.NET on Microsoft Windows Server 2012

To register ASP.NET on Microsoft Windows Server 2012, open a command prompt session as administrator and execute the following command:

dism /online /enable-feature /featurename:IISInternet Information Services-ASPNET45