What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?

后端 未结 3 797
抹茶落季
抹茶落季 2020-12-13 03:36

I understand that ASP.NET Core is a modular framework which unites technologies like ASP.NET MVC and Web API into a single programming model.

But one of the features

相关标签:
3条回答
  • 2020-12-13 04:00

    As I can see your question has two part. First part is more technical which was well explained on other answers I think, so let me try to explain second part which is reason behind new .net core framework.

    Most of web application runs in Linux and most of website is build with open source languages such as php, python, ruby. Also you will notice some most popular CMS application like WordPress built with php which is more preferable to host in Linux obviously. In other hand Microsoft is well known for commercial paid software and closed source ofcourse. In technology world Microsoft was missing trust from open source lovers due to its own closed source type of design. So finally they also wants to take market share from open source community. And there was no other way then rebuild .net core under open source type of design. Also beside all of these Microsoft trying to show love for open source community to build trust as a part of that they has acquired github which is most popular tool for open source developer community. So basically Microsoft trying extend its business being involved in open source software world and .net core is most important to attract developers. This is the key reason I think behind the core framework.

    0 讨论(0)
  • 2020-12-13 04:02

    The main difference between ASP.NET and ASP.NET Core are as described below...

    • Platform Independent Features ASP.NET Core provides hosting in multiple platform like Linux or Mac or Windows hosting (Cross platform).
    • Introduced new lighter version of assemblies with non dependent frameworks.
    • Ready for cross platform cloud hosting.
    • Frameworks are a complete rewrite (and still building)
    • Project default project structure got renewed with type scripts configurations.
    • Improved new security features and dependency inversions.

    Please visit .NET Core and ASP.NET Core for more details

    The main reason behind the core framework is dependency inversion. As its framework is completely rewritten in such a way that high level assemblies completely decoupled from low level supporting assemblies.

    0 讨论(0)
  • 2020-12-13 04:12

    MVC 6 was part of ASP.NET 5, but due to some major changes in the code base, they decided to change its name from ASP.NET 5 to ASP.NET Core.

    You can read about here: http://www.hanselman.com/blog/ASPNET5IsDeadIntroducingASPNETCore10AndNETCore10.aspx

    0 讨论(0)
提交回复
热议问题