Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does IIS Process ASP.net MVC request?

I have a confusion over ASP.net MVC request handled by IIS. As every body says it built on top of ASP.net Engine. So only Url routing module and MvcRouteHandler makes a difference and they handled the request appropriately. I understand this.

But My Question is how IIS understand that it is MVC request . There is no extension like .aspx is given in url . So how does it maps to correct ISAPI DLL.

I appreciate your help to clear my confusion.

like image 903
Shiv Mohan Avatar asked Feb 01 '13 04:02

Shiv Mohan


Video Answer


1 Answers

These rules can be defined at any level in IIS. Most MVC applications define the handlers at the application level in the web.config file:

<system.webServer>        
    <handlers>
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit".../>
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit".../>
      <add name="ExtensionlessUrlHandler-Integrated-4.0".../>
    </handlers>
</system.webServer>
like image 114
Ross Bush Avatar answered Oct 20 '22 21:10

Ross Bush