Interviews - C# Corner

Rajesh Gami
What is the difference between each version of MVC 2, 3 , 4, 5 and 6?
By Rajesh Gami in .NET onApr 14 2018
  • Samir Bhogayta
    Aug, 2019 14

    Asp.Net MVC1
    Released on Mar 13, 2009
    Runs on .Net 3.5 and with Visual Studio 2008 & Visual Studio 2008 SP1
    MVC Pattern architecture with WebForm Engine
    Html Helpers
    Ajax helpers
    Unit Testing
    Asp.Net MVC2
    Released on Mar 10, 2010
    Runs on .Net 3.5, 4.0 and with Visual Studio 2008 & 2010
    Strongly typed HTML helpers means lambda expression based Html Helpers
    Templated Helpers
    Support for Data Annotations Attribute
    Client-side validation
    UI helpers with automatic scaffolding & customizable templates
    Attribute-based model validation on both client and server
    Overriding the HTTP Method Verb including GET, PUT, POST, and DELETE
    Areas for partitioning a large applications into modules
    Asynchronous controllers
    Asp.Net MVC3
    Released on Jan 13, 2011
    Runs on .Net 4.0 and with Visual Studio 2010
    The Razor view engine
    Improved Support for Data Annotations
    Remote Validation
    Compare Attribute
    Sessionless Controller
    Child Action Output Caching
    Dependency Resolver
    Entity Framework Code First support

    Partial-page output caching
    ViewBag dynamic property for passing data from controller to view
    Global Action Filters
    Better JavaScript support with unobtrusive JavaScript, jQuery Validation, and JSON binding
    Use of NuGet to deliver software and manage dependencies throughout the platform
    Good Intellisense support for Razor into Visual Studio

    Asp.Net MVC4
    Released on Aug 15, 2012
    Runs on .Net 4.0, 4.5 and with Visual Studio 2010SP1 & Visual Studio 2012
    Enhancements to default project templates
    Mobile project template using jQuery Mobile
    Display Modes
    Task support for Asynchronous Controllers
    Bundling and minification
    Support for the Windows Azure SDK

    Asp.Net MVC5
    Released on 17 October 2013
    Runs on .Net 4.5, 4.5.1 and with Visual Studio 2013
    One Asp.Net
    Asp.Net Identity
    ASP.NET Scaffolding
    Authentication filters - run prior to authorization filters in the ASP.NET MVC pipeline
    Bootstrap in the MVC template
    ASP.NET Web API2

    • 0
  • Shivam Shukla
    Jun, 2018 27

    • 0
  • Rajesh Gami
    Apr, 2018 14

    MVC 6ASP.NET MVC and Web API has been merged in to one.Dependency injection is inbuilt and part of MVC.Side by side - deploy the runtime and framework with your applicationEverything packaged with NuGet, Including the .NET runtime itself.New JSON based project structure.No need to recompile for every change. Just hit save and refresh the browser.Compilation done with the new Roslyn real-time compiler.vNext is Open Source via the .NET Foundation and is taking public contributions.vNext (and Rosyln) also runs on Mono, on both Mac and Linux today.MVC 5One ASP.NETAttribute based routingAsp.Net IdentityBootstrap in the MVC templateAuthentication FiltersFilter overridesMVC 4ASP.NET Web APIRefreshed and modernized default project templatesNew mobile project templateMany new features to support mobile appsEnhanced support for asynchronous methodsMVC 3RazorReadymade project templatesHTML 5 enabled templatesSupport for Multiple View EnginesJavaScript and AjaxModel Validation ImprovementsMVC 2Client-Side ValidationTemplated HelpersAreasAsynchronous ControllersHtml.ValidationSummary Helper MethodDefaultValueAttribute in Action-Method ParametersBinding Binary Data with Model BindersDataAnnotations AttributesModel-Validator ProvidersNew RequireHttpsAttribute Action FilterTemplated HelpersDisplay Model-Level Errors

    • 0

Most Popular Companies

Most Popular Job Functions