Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC 4 and ExtensionlessUrlHandler

Tags:

I use VS 2012 and created two application:

  1. Application#1. MVC 3, NET 4.5

  2. 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:

  1. ExtensionlessUrlHandler-ISAPI-4.0_32bit
  2. ExtensionlessUrlHandler-ISAPI-4.0_64bit
  3. ExtensionlessUrlHandler-Integrated-4.0

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?

like image 717
Andrei M Avatar asked Oct 03 '12 12:10

Andrei M


People also ask

Is MVC 4 still supported?

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.

What is ASP.NET mvc4?

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.

Is ASP.NET MVC 5?

ASP.NET MVC is based on the Model View Controller (MVC) design pattern. The latest version of ASP.NET MVC is version 5.0.

What is difference between MVC and ASP.NET MVC?

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.


1 Answers

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.

like image 82
Jive Boogie Avatar answered Sep 20 '22 14:09

Jive Boogie