Win10 IIS默認是.net 4.0,安裝VS2015后,IIS沒有.net 4.5,解決方法,直接在CMD命令行下執行:
dism /online /enable-feature /featurename:IIS-ISAPIFilter dism /online /enable-feature /featurename:IIS-ISAPIExtensions dism /online /enable-feature /featurename:IIS-NetFxExtensibility45 dism /online /enable-feature /featurename:IIS-ASPNET45