较旧的 ASP.net 核心应用程序(如 asp.net 核心 2.0)可以 运行 在安装了 asp.net 核心 2.2 运行time 的服务器上吗?
Can older ASP.net core applications (like asp.net core 2.0) run on a server with asp.net core 2.2 runtime installed on it?
我有一些较旧的 asp.net 核心 2.0 程序 运行 安装在安装了 asp.net 2.0 服务器捆绑器的服务器上。我最近开始使用 asp.net 2.1 和 2.2,我知道如果我没有安装来自 Microsoft 的更新服务器捆绑器,它们将不会 运行 正确。如果我安装新的捆绑器,我的旧程序会停止工作吗?还是一切都会像现在一样继续工作?
您可以在您的服务器上并排运行多个 .Net 核心 运行 运行时。这是 Microsoft 的一些文档:
To install applications with dependencies on different versions of .NET, we recommend .NET Core. .NET Core offers side-by-side installation of different versions of the .NET Core runtime on the same machine. This side-by-side installation allows multiple services on the same server, each of them on its own version of .NET Core. It also lowers risks and saves money in application upgrades and IT operations.
https://docs.microsoft.com/en-us/dotnet/standard/choosing-core-framework-server
我有一些较旧的 asp.net 核心 2.0 程序 运行 安装在安装了 asp.net 2.0 服务器捆绑器的服务器上。我最近开始使用 asp.net 2.1 和 2.2,我知道如果我没有安装来自 Microsoft 的更新服务器捆绑器,它们将不会 运行 正确。如果我安装新的捆绑器,我的旧程序会停止工作吗?还是一切都会像现在一样继续工作?
您可以在您的服务器上并排运行多个 .Net 核心 运行 运行时。这是 Microsoft 的一些文档:
To install applications with dependencies on different versions of .NET, we recommend .NET Core. .NET Core offers side-by-side installation of different versions of the .NET Core runtime on the same machine. This side-by-side installation allows multiple services on the same server, each of them on its own version of .NET Core. It also lowers risks and saves money in application upgrades and IT operations.
https://docs.microsoft.com/en-us/dotnet/standard/choosing-core-framework-server