.net – Missing asp.net features on IIS 10.0

asp.netiisiis-10netwindows-server-2016

I'm using IIS 10.0 and ASP.NET feature section isn't showing

My environment: Windows Server 2016

My issue is similar to the issue posted here: No asp.net features on IIS 7.5 and No ASP.NET features shown in IIS 7.5

The 'add features' fix mentioned in those posts doesn't apply as it was already correctly configured that (see image)

windows server 2016 iis 10.0 missing asp.net section

Best Answer

From the Screenshots in the OPs questions I deduced that mine simply weren't selected in the server roles section of the server administrator. For clarity I added these:

"Add roles and features" 
    -> "Server Roles"     
       -> "Web Server (iis)" 
          -> "Web Server" 
             -> "Application Development" 
                -> "ASP.NET 4.6" (I also needed 3.5 for legacy reasons)

Then restart IIS manager (just close the window and reopen it)