What is the difference between ASP.NET 5 platform and MVC 6

I came across the following statement in the ASP.NNEdocumentation

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.

So what is the difference between the ASP.NET 5 platform and the MVC 6 framework and SignalR?

All the following items have their own version number :

  • C#
  • .NET (framework, platform)
  • ASP.NET platform
  • ASP.NET MVC framework
  • CLR
  • How can we figure out what this means?


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

    The ASP.NET Documentation does a pretty good job of explaning what ASP.NET 5 is:

    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 is the framework which MVC 6 is built on. In the new version of ASP.NET, they've torn apart System.Web into separate, detachable components and encapsulated them in NuGet packages. Under the hood, what powers ASP.NET 5 is an execution environment (VM) called DNX (see Is .NET Execution Environment (DNX) similar to mono? for more on that) which enables it to run on multiple operating systems, not Windows only.

    On-top of ASP.NET 5, they've assembled the MVC framework which is version 6. On the side of that they've built SignalR. Think of it as ASP.NET 5 being the (portable) BCL, and MVC 6 being your custom made application which is built on top of that.

    链接地址: http://www.djcxy.com/p/64536.html

    上一篇: 在IdentityUser.Email上创建一个索引

    下一篇: ASP.NET 5平台和MVC 6有什么区别?