python ruby-programming-language Smalltalk Vue.js Knockoutjs TypeScript JavaScript, OOPs JavaScript Angular 7, Interview Questions Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 4 Angular 2 AngularJs 1.x NodeJs Perl Programming R Programming RequireJs Rust Programming Backbonejs closure programming language go-programming-language kotlin-programming-language
mvc 4

What's New in ASP.NET MVC 5?

The MVC is a framework, standard pattern for developing Web applications and MVC framework handled by three objects Model, View and Controller.

MVC 5 Key Features -
1.      One ASP.NET
2.      ASP.NET Identity
3.      Bootstrap
4.      Authentication filters
5.      Filter overrides
6.      Attribute routing

In detail -
1.      MVC 5 introduced to ASP.NET Identity for authentication and identity management.
2.      ASP.NET Identity is a new Membership provider to handle the authentication and authorization for social networking site just like Google, twitter, face-book etc.
3.      MVC 5 added  to authentication filters for authenticate to users using  third party authentication provider or your custom logic by using filter override methods and now we can override to filters on  method and  controller both.
4.      MVC 5 replaced to bootstrap by using the default template.
5.      MVC 5 added new to Attribute Routing [Route ("Empolyee/{EmpID}")].

Example for Routing code and it looks like- Attribute routing work with both ActionResult and Controller i.e.

public class CompanyController : BaseAPIController
    public ActionResult GetEmployeeById(string EmpId)
        //TODO: Put your logic here.    
        return View();
Reference -The useful link for MVC 5

Hi there! Welcome to my blog. My name is Anil Singh. I'm a author of this blog. For more detail about me, kindly refer to this link..
My Blogs - and
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like Powered by Blogger.
ASK Questions