Salient Solutions

wrasslin ones and nones for fun and profit - Sky Sanders' Blog
posts - 96, comments - 70, trackbacks - 0

HttpModule

There are 2 entries for the tag HttpModule
Salient.Web.Security.AccessControlModule

download source code and demo download this article in .doc format Overview I a previous article I complained about the lack of a true 403 Forbidden error in ASP.NET and the clumsy way that authentication is handled by FormsAuthenticationModule. The solution I came up with was a good first attempt but, in my opinion, came up short. Particularly when handling authentication of requests that ScriptModule touches. So I decided to take another swing at it, this time with some ammunition. I took the list of HttpModules from the root Web.config and the ScriptModule that is added to ASP.NET 3.5 web apps and dove in with...

posted @ Monday, August 17, 2009 10:18 PM | Feedback (1) |

Exploring Web.config - system.web/httpModules

download this document in .doc form HttpApplication Events, the HttpModules that handle them and in what order: It is a generally held opinion that to depend upon the order of module/event execution is bad practice and produces brittle code.  I agree somewhat with the spirit of the opinion but not at all with the explicit reason. Events and Collections are not magic bags that arbitrarily insert handlers/items in some random order. I think, in a general sense, that to depend on event handler execution order is a 'bad idea' is valid. In a more specific context, in which the enviroment is known and...

posted @ Sunday, August 16, 2009 11:31 AM | Feedback (2) |

Powered by: