How to register ASP.NET on Microsoft Windows Server 2016

To register ASP.NET on Microsoft Windows Server 2016, launch an elevated command prompt and run the following command:

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