R – Can i put URL rewriting http module in a folder

asp.neturl-rewriting

I am trying to make a generic URL rewrite methods, and i want it portable so i checked this article: http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx which is very nice.

But i want to put all my classes, http modules in one folder, then i can just paste this folder in any asp.net website and edit the web.config to point to this http module, thats it, without the need to add anything in the APP_Code as this article teaching.

My question is is that possible? any conc or better ideas?

Best Answer

You always can to compile that code into an assembly (.dll), place it inside your /bin folder and to update your web.config file.

Related Topic