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 of ASP.NET MVC 6 was introducing the merging of MVC 6 and Web API together along with following features. Dependency injection is inbuilt and part of MVC.
1) Side by side - deploy the runtime and framework with your application
2) Everything packaged with NuGet, Including the .NET runtime itself.
3) New JSON based project structure.
4) No need to recompile for every change. Just hit save and refresh the browser.
5) Compilation done with the new Roslyn real-time compiler.
So why there are 2 standalone ASP.NET frameworks? since core framework has been in existence, will MVC 6 not be used hereafter?
would be great if someone can clarify.
The main difference between ASP.NET Core and ASP.NET MVC 5 is their cross-platform approach. ASP.NET Core can be used on Windows, Mac, or Linux, whereas ASP.NET MVC 5 can only be used for applications on Windows. The ASP.NET Core MVC is a framework for building web apps and APIs, optimized for use with ASP.NET Core.
NET Framework to create Windows desktop and server-based applications. This includes ASP.NET web applications. On the other hand, . NET Core is used to create server applications that run on Windows, Linux and Mac.
The ASP.NET Core MVC framework is a lightweight, open source, highly testable presentation framework optimized for use with ASP.NET Core. ASP.NET Core MVC provides a patterns-based way to build dynamic websites that enables a clean separation of concerns.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With