简体   繁体   English

在Windows Server 2008 R2 SP1的IIS 7.5上注册.NET 4.5的安全方法

[英]Secure way for registering .NET 4.5 on IIS 7.5 on Windows Server 2008 R2 SP1

I have a Windows Server 2008 R2 SP1 machine with IIS 7.5. 我有一台带有IIS 7.5的Windows Server 2008 R2 SP1计算机。 In IIS there is an running asp.net mvc 3 app targeting .NET 4.0 framework. 在IIS中,有一个面向.NET 4.0框架的运行中的asp.net mvc 3应用程序。 I need to publish an asp.net mvc 5 EF 6 targeting .NET 4.5 framework. 我需要发布一个针对.NET 4.5框架的asp.net mvc 5 EF 6。

I've already installed .NET 4.5. 我已经安装了.NET 4.5。 Now I have to register .NET 4.5 in IIS, my question is: Does aspnet_regiis command crash running apps on IIS? 现在我必须在IIS中注册.NET 4.5,我的问题是:aspnet_regiis命令是否会在IIS上运行应用程序时崩溃? Is it required to restart the server or the site? 是否需要重新启动服务器或站点?

If you have firstly installed .NET 4.0, and registered it on IIS 7.5. 如果您首先安装了.NET 4.0,并在IIS 7.5上注册了它。 Then I don't think you need to run aspnet_regiis.exe after installing .NET 4.5. 然后,我认为您不需要在安装.NET 4.5之后运行aspnet_regiis.exe。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM