Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the ASP.NET MVC 6 Features? [closed]

Tags:

asp.net-mvc

Can anybody tell me what are the new features available in ASP.NET MVC 6.0? And what is the very nice feature which insist me to migrate my project MVC 5.0 to MVC 6.0?

like image 460
Amit Prajapati Avatar asked Jul 02 '14 14:07

Amit Prajapati


People also ask

What are the features of ASP.NET MVC?

ASP.NET MVC lets you use features such as forms authentication and Windows authentication, URL authorization, membership and roles, output and data caching, session and profile state management, health monitoring, the configuration system, and the provider architecture.

Which of the following is are components in MVC 6 application?

Important components of an MVC6 application 2.1 Global. json 2.2 src folder 2.3 Wwwroot 2.4 Config. Json 2.5 Project. json 2.6 Startup.

What is the difference between MVC 5 and MVC 6?

While MVC5 can be facilitated in IIS and keeps running on top of The ASP.NET pipeline, MVC 6 can act naturally facilitated and utilizes adaptable pipeline in which we have finish control over the segments that are a piece of the pipeline.

Are MVC and Web API merged into one in MVC 6?

ASP.NET MVC 6 comes with some new features as well. Some prominent ones are: - MVC, WEB API and Web Pages are merged into one single framework.


1 Answers

This is the best list I found that answered a few of my questions:

http://www.dotnet-tricks.com/Tutorial/mvc6/5R9E190514-Introduction-to-ASP.NET-vNext-and-MVC-6.html

Here is a summary of the 10 features they covered:

  • Cloud optimized versions of MVC, Web API, Web Pages, SignalR, and EF
  • MVC, Web API and Web Pages merged into one framework (MVC6)
  • No dependency on System.Web (HttpContext object graph drops from ~30k/req to ~2k/req)
  • New project extension project.json to list all dependencies and a Startup class that replaces global.asax
  • Cloud ready by design. Session state and caching adjust behavior depending on hosting environment.
  • Host agnostic
  • True Side-by-side deployment. Just upload dependencies to the bin directory without affecting other apps on same server.
  • Dependency injection built in
  • Roslyn compiler for dynamic code compilation. Edit code and see changes without having to rebuild
  • Open source and cross-platform (can work on Mono, Mac, Linux, etc)
like image 191
Sam Avatar answered Oct 02 '22 04:10

Sam