Answers

Question and Answer:

  Home  MVC Developer

⟩ Explain me what is the difference between each version of MVC 2, 3 , 4, 5 and 6?

MVC 6

☛ ASP.NET MVC and Web API has been merged in to one.

☛ Side by side - deploy the runtime and framework with your application

☛ No need to recompile for every change. Just hit save and refresh the browser.

☛ Dependency injection is inbuilt and part of MVC.

☛ Everything packaged with NuGet, Including the .NET runtime itself.

☛ New JSON based project structure.

☛ Compilation done with the new Roslyn real-time compiler.

MVC 5

☛ Asp.Net Identity

☛ Attribute based routing

☛ Bootstrap in the MVC template

☛ Filter overrides

☛ Authentication Filters

MVC 4

☛ ASP.NET Web API

☛ New mobile project template

Refreshed and modernized default project templates

Many new features to support mobile apps

MVC 3

☛ Razor

☛ HTML 5 enabled templates

☛ JavaScript and Ajax

☛ Support for Multiple View Engines

☛ Model Validation Improvements

MVC 2

☛ Templated Helpers

☛ Client-Side Validation

☛ Areas

☛ Asynchronous Controllers

☛ Html.ValidationSummary Helper Method

☛ DefaultValueAttribute in Action-Method Parameters

☛ Binding Binary Data with Model Binders

☛ DataAnnotations Attributes

☛ Model-Validator Providers

☛ New RequireHttpsAttribute Action Filter

 281 views

More Questions for you: