你可以在同一个Web服务器上运行.Net Core 2.0网站和标准的.Net Framework网站吗? [英] Can you run a .Net Core 2.0 website and a standard .Net Framework website on the same Web Server?

查看:56
本文介绍了你可以在同一个Web服务器上运行.Net Core 2.0网站和标准的.Net Framework网站吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



全部:


我被要求将.Net Core 2.0 Web应用程序部署到托管标准.Net框架站点的内部部署Web服务器上。这是一个带IIS的Windows服务器。我需要在服务器上安装.NEt核心Windows服务器主机软件包,我关于核心运行时,库和模块负面影响标准.Net框架站点的
。你可以在同一个Web服务器上运行这两个框架吗?

I've been asked to deploy a .Net Core 2.0 web application to an on-premise web server that is hosting standard .Net framework sites. It's a windows server with IIS. I need to install the .NEt Core Windows Server Hosting Bundle on the server, and I'm concerning about the core runtime, libraries, and module negatively affecting the standard .Net framework sites. Can you run both frameworks on the same web server with issues?



谢谢提前。

Thanks in advance.

Mark L Cole

Mark L Cole

推荐答案

欢迎来到MSDN论坛。

Welcome to MSDN forum.

是的,你可以。

ASP.NET Core是一个开放的 - 用于在Windows,macOS或Linux上构建基于云的Web应用程序的跨平台框架。

ASP.NET Core is an open-source, cross-platform framework for building modern, cloud-based web apps on Windows, macOS, or Linux.

ASP.NET是一个成熟的框架,提供构建所需的所有服务Windows上基于服务器的企业级Web应用程序。

ASP.NET is a mature framework that provides all the services needed to build enterprise-class, server-based web apps on Windows.

.NET Framework安装是机器全局的。例如如果您将计算机从.NET Framework 4.5.2更新到.NET Framework 4.6,则计算机上的
所有 .NET Framework应用程序现在都在4.6上运行。

.NET Framework installations are machine-global. e.g. if you update a machine from .NET Framework 4.5.2 to .NET Framework 4.6, all .NET Framework apps on the machine now run on 4.6.

.NET Core安装完全独立于.NET Framework的版本。实际上,您实际上可以在同一台机器上并行安装多个版本的.NET Core(与.NET Framework不同)。每个应用程序都可以确定要使用哪个
版本的.NET Core。

.NET Core installations are completely independent from the version of .NET Framework. In fact, you can actually install multiple version of .NET Core side-by-side on the same machine (unlike .NET Framework). Each app can determine which version of .NET Core to use.

https://stackoverflow.com/questions/42410042/can-i-install-net-framework-and-net-core-on-同机

祝你好运,

Joyce


这篇关于你可以在同一个Web服务器上运行.Net Core 2.0网站和标准的.Net Framework网站吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆