gpt4 book ai didi

.net - ASP.NET 5 平台和 MVC 6 有什么区别

转载 作者:行者123 更新时间:2023-12-05 00:25:43 25 4
gpt4 key购买 nike

我在 ASP.NNE 文档中看到了下面的语句

ASP.NET 5: The next version of ASP.NET, the open source Microsoft platform for building Modern Web Applications on Windows, Linux and Mac. ASP.NET 5 includes the MVC 6 framework for building web applications. It combines the features of MVC, Web API and Web Pages into a single web framework. ASP.NET 5 also includes SignalR 3 for adding real time functionality to cloud connected applications.

ASP.NET MVC 6: The framework for building web apps on the ASP.NET 5 platform. It features the merged MVC, Web Pages, and Web API from the previous version of ASP.NET.

那么ASP.NET 5平台与MVC 6框架和SignalR有什么区别呢?

以下所有项目都有自己的版本号:

  • C#
  • .NET(框架、平台)
  • ASP.NET 平台
  • ASP.NET MVC 框架
  • 清除

我们如何弄清楚这意味着什么?

最佳答案

So what is the difference between the asp.net 5 plateform and the asp.net mvc 6 framework ?

ASP.NET Documentation很好地解释了 ASP.NET 5 是什么:

ASP.NET 5 is a new open-source an cross-platform framework for building modern cloud-based Web applications using .NET. We built it from the ground up to provide an optimized development framework for apps that are either deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you retain flexibility while constructing your solutions. You can develop and run your ASP.NET 5 applications cross-platform on Windows, Mac and Linux.

ASP.NET 5 是构建 MVC 6 的框架。在新版本的 ASP.NET 中,他们将 System.Web 拆分为单独的、可分离的组件,并将它们封装在 NuGet 包中。在幕后,支持 ASP.NET 5 的是一个名为 DNX 的执行环境 (VM) (有关更多信息,请参阅 Is .NET Execution Environment (DNX) similar to mono?)这使它能够在多个操作系统上运行,而不仅仅是 Windows。

在 ASP.NET 5 之上,他们组装了版本 6 的 MVC 框架。此外,他们还构建了 SignalR。将其视为 ASP.NET 5 是(可移植)BCL,而 MVC 6 是构建在其之上的定制应用程序。

关于.net - ASP.NET 5 平台和 MVC 6 有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31959953/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com