Weblog Posts in October 2012

Caveats with the runAllManagedModulesForAllRequests in IIS 7/8
October 25, 2012 @ 11:15pm

IIS 7 and 8 support using Managed Modules to handle access to all IIS request content which is very powerful. But sometimes you actually want to not handle non-ASP.NET content and it's not very obvious how to minimize access to non-ASP.NET requests in managed modules.

Dynamic Code for type casting Generic Types 'generically' in C#
October 23, 2012 @ 2:06am

Here's a short entry on how dynamic can be a life saver when you can't cast a type between multiple objects, specifically when the object in question is a generic type without a common base type to cast to.

A tiny Utility to recycle an IIS Application Pool
October 02, 2012 @ 3:29am

Here's a small console app to recycle an Application Pool which seems to be something I've needed to do repeatedly in the past.