just caught this thread (ok, i know it ws in january!!). Just wondering how the urlMappings in the config works and if it can be applied in a code scenario. Due to my shared hosting, I can't use the Global.asax Application_BeginRequest method and have rolled my own method which 'kinda' works. However, if the method used in the config for urlMappings can be 'transposed' up into code, then that'd be my preferred option. of course, there could be good reason that this isn't possible, the least of which being that it may be compiled into the code and therefore innacessible dynamically.
anyway - if anyone has an answer on this, that'd be great. My main use for it on my site is for extesionless Vanity URL's. you can see my implementation working if you goto
http://www.originaltalent.com/andyward . This is really just
http://www.originaltalent.com/ShowHomepage.aspx?ID=46 and the url is 'rewritten' (not URLRewrite) to show the vanity url (i.e. you can type
http://www.originaltalent.com/jimibt and if that user exists, then his/her page will be shown, otherwise an error page is shown.
Hope you get the gist of what i'd like to do.
jimi
http://www.jamestollan.com