Weblog Posts in March 2011

Custom ASP.NET Routing to an HttpHandler
March 28, 2011 @ 3:02pm

Routing support in ASP.NET 4.0 has been vastly improved, but custom routing still involves a fairly complex process of creating RouteHandlers and mapping requests properly. In this post I show an example of how to create custom routes automatically via Attribute route mapping for Http Handler endpoints.

ASP.NET Routing not working on IIS 7.0
March 27, 2011 @ 1:14pm

Got caught be a difference in behavior between IIS 7.0 and IIS 7.5 with how module management to extensionless URLs are fired in IIS. Routing was working fine on my dev machine, but not on my live server. Here's what you need to watch out for.

Loading Assemblies off Network Drives
March 22, 2011 @ 4:24pm

Remote loading of assemblies and CAS policy in .NET have always been hassle and although .NET 4.0 improves security, lightning up rules to be on par with Win32 applications, for COM Interop and custom runtime hosting old rules still apply. Luckily there's some help in the form of a new configuration switch that allows overriding remote loading of assemblies.

The Red Gate and .NET Reflector Debacle
March 19, 2011 @ 7:16pm

About a month ago Red Gate – the company who owns the NET Reflector tool most .NET devs use at one point or another – decided to change their business model for Reflector and take the product from free to a fully paid for license model. As a bit of history: .NET Reflector was originally created by Lutz Roeder as a free community tool to inspect .NET assemblies. Using Reflector you can examine the...

IIS not starting: The process cannot access the file because it is being used by another process
March 04, 2011 @ 8:28pm

Ran into a nasty problem today with IIS not starting up and the culprit turned out to be: Skype. Here's what the deal is.