You must Sign In to post a response.
  • Category: ASP.Net MVC

    Differences between asp.net mvc4 and asp.net mvc5

    can you say the differences between asp.net mvc4 and asp.net mvc5?
  • #751130
    Hi,
    Please refer below links.

    http://www.slideshare.net/umarali1981/difference-between-aspnet-mvc-4-and-aspnet-mvc-5
    http://www.code-sample.com/2013/08/difference-between-mvc-4-and-mvc-5_17.html

    Hope this will help you.

    Thanks,
    Ram Prasad

  • #751132
    Hi Nagendra,

    Below are the some of the basic difference between ASP.NET MVC4 and ASP.NET MVC5.

    1. Identity feature in mvc4 is not available where as this is available in mvc5.
    2.Authentication filter is not available in MVC4 where as Authentication filter is available in MVC5.
    Authentication filter is a new kind of filter in ASP.NET that runs prior to the authentication in MVC.
    3.Filter over ride feature is not available in MVC4 where as this feature is available in MVC5.
    Using Filter over ride feature, we can override which filter applies to the given section.
    4.Also ASP.NET MVC 5 includes ASP.NET Web API and it has long range of features, Some of them are as below-

    a)Modern HTTP programming model
    b)Full support for routes
    c)Content negotiation
    d)Model binding and validation
    e)Filter Query composition.

    Hope this is helpful to you.

    Thanks,
    Ashutosh Jha
    http://tricksroad.com

  • #751140
    Hi,

    Below are the some additional tips.

    MVC 4 having the below features.

    1: ASP.NET Web API Template

    2: Mobile Project Template

    3: Single Page Application Template

    MVC 5 having the below features.

    New Authentication system (Asp.Net Identity.)
    Bootstrap in the MVC 5 templates.
    New feature to create an ASP.NET MVC 5 App with Facebook Sign-on in (C#).
    New feature to create an ASP.NET MVC 5 App with Google OAuth2 and OpenID Sign-on in (C#).
    New feature to Configure Authentication, when click Configure Authentication link at the time when we open new project.
    Authentication Filters.
    Filter overrides.

    -----------------------------------------------------------------------------
    Regards,
    Gopi A.
    +91 9894315571
    Skype:gopi.net
    http://asaigopi-dotnet.blogspot.in/

  • #751236
    Check this out.



    ASP.NET MVC 4

    ASP.NET Web API, a framework that simplifies the creation of HTTP services and serving a wide range of clients. Follow to create your first ASP.NET Web API service.
    Adaptive rendering and other look-n-feel improvements to Default Project Templates.
    A truly Empty Project Template.
    Based on jQuery Mobile, new Mobile Project Template introduced.
    Support for adding controller to other project folders also.
    Task Support for Asynchronous Controllers.
    Controlling Bundling and Minification through web.config.
    Support for OAuth and OpenID logins using DotNetOpenAuth library.
    Support for Windows Azure SDK 1.6 and new releases.
    ASP.NET MVC 5

    Creating your first ASP.NET MVC 5 Application in 4 simple steps
    Bootstrap replaced the default MVC template.
    ASP.NET Identity for authentication and identity management.
    Authentication Filters for authenticating user by custom or third-party authentication provider.
    With the help of Filter overrides, we can now override filters on a method or controller.
    Attribute Routing is now integrated into MVC 5.
    Hopefully, this article will help you in comparing core features of ASP.NET MVC in different versions.

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM


  • Sign In to post your comments