I use VS 2012 and created two application:
Application#1. MVC 3, NET 4.5
Application#2. MVC 4, NET 4.5
If I compare web.config of these applications, I see the app#2 (MVC 4) has the following handlers registered:
Could anybody please explain how and when they are used?
One more question (optional). If these handlers are required now, where should I put my handlers? Before or after them?
We have many applications developed with ASP.NET MVC 4 and below versions. As per the Microsoft Support Policy, the retirement date for ASP.NET MVC is July 1st, 2019.
ASP.NET MVC 4 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of the ASP.NET and the . NET framework. This new, fourth version of the framework focuses on making mobile web application development easier.
ASP.NET MVC is based on the Model View Controller (MVC) design pattern. The latest version of ASP.NET MVC is version 5.0.
ASP.NET is a 2 tier application in which no separate section for the database and MVC is a 3 tier application in which view and logic is kept separate. In ASP.NET for each . aspx form one URL is generated, but in MVC the url's are generated based on the controller and by the router configuration.
Here is a blog post that may be helpful.
http://blogs.msdn.com/b/tmarq/archive/2010/05/26/how-extensionless-urls-are-handled-by-asp-net-v4.aspx
(which ironically doesn't use an extensionless url)
My understanding is that you will need IIS 7 or greater to benefit from the Integrated mapping and for anything less you will need to use one of the other ISAPI handlers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With