MVC5 Vs MVC6 in ASP.NET

MVC5 Vs MVC6

  1. .NET framework is now part of your project and you can point to multiple frameworks at the same. Like in the figure its pointing to 4.5 framework ( full framework) and also to .NET core ( which is cross platform depending what you choose).

  2. Global.asax is replaced by startup.cs which is more light weight and customizable.

  3. Web.config configuration will not go in Config.json.

  4. As a developer we have been adding references using our favorite add reference , you can now also add in project.json and your project will reference it automatically and also vice versa.

  5. They have given a special wwwroot folder which will store static files of your project. Any files including HTML files, CSS files, image files, and JavaScript files which are sent to the users browser should be stored inside this folder.

  6. There is a dependencies node which shows which JavaScript files have been used in your project.
Ebook Download
View all
Learn
View all