views:

18

answers:

0

hi all u great experts!
im now porting my website to .net 4. (webforms, not mvc) this website is designed to cater to many bookstores. i want each bookstore to be able to use the same site as www.SiteName.com/USAbooks or www.SiteName.com/CheapBooks or whatever the bookstores name might be. can i use the new routing feature for this?
i do not know to which page it must be rerouted, as the routing should occur for all urls in the site, so we cannot use the standard mappageroute syntax (unless i do so for all pages, might be 100 pages or more, not very mainatnable...)
just to clarify, there are no actual subdirectories for each user/bookstore. it shoulld just appear so to the users. as the users do not want to write "visit us at www.sitename.com?id=usabooks" etc . they want to write "visit us at www.sitename.com/usabooks".
and of course they want pages like www.sitename.com/usabooks/blog.aspx or www.sitename.com/usabooks/login.aspx etc etc.
can this be done? and if so, how?
thanks!!