2

I noticed that asp.net 4.0 now installs a top-level isapi plugin (in iis6), such that it can inspect every request coming to the server. Should this now allow us to run MVC applications with extensionless URLS and have the aspnet isapi process them correctly without requiring the wildcard mapping (and avoid the performance penalties associated)? I havent found anything written about this yet, and havent had time to investigate. Thanks

Brady Moritz
  • 8,624
  • 8
  • 66
  • 100

2 Answers2

3

ASP.NET 4.0 installs the C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll ISAPI filter in order to map incoming request to the new CLR, but this filter is not registered as wildcard mapping but is associated only with known extensions. It does not intercept every incoming request. If you want to have extensionless urls you will need to perform the same steps as for ASP.NET 2.0 but use the new ISAPI filter instead.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
  • Darin, this is different from the Isapi filter I am seeing, however I think the one I see is only used for "extensionless url's"... and not really what I'm after. What I'm seeing is mapped to C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dllI suspect this is intalled in iis6 to try to emulate some missing iis7 functionality. Any ideas? – Brady Moritz Jun 21 '10 at 14:00
2

found the answer: Link

appears that there are new features in asp.net 4.0 that enable extensionless urls. I need to do more research on this to find out how to utilize it.

Basically it appends /eurl.axd/GUID to each routed request, which then gets passed to aspnet_isapi.dll to be processed. the eurl.axd is then removed at this point.

The problems Im having is how these interact between my Ionics rewriter IIRF software and this new .net rewriting... they seem to be interfereing with each other at times.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Brady Moritz
  • 8,624
  • 8
  • 66
  • 100