在 IIS 10 中注册 asp.net

Register asp.net in IIS 10

我有一个问题与在 IIS 10 中注册 asp.net 有关。
我的环境是 Windows 10,安装了 IIS 10、VS 2013 和 VS 2015,.NET 3.5 是 Windows 功能中的一个功能。
我想在 iis 中使用 nettcpbinding,所以,我安装了 WCF HTTP 激活和 WCF 非 HTTP 激活。之后,我需要在 IIS 中重新注册 asp.net。我 运行 下面的命令

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -i

我得到了以下结果,asp.net 是否在 IIS 中正确注册?
任何帮助将不胜感激。

Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Start installing ASP.NET (4.0.30319.0). This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771. Finished installing ASP.NET (4.0.30319.0).

对于这个问题,我通过以下命令在 IIS 中安装 asp.net 解决了。

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>dism /online /enable-feature /featurename:IIS-ASPNET45