After reading several articles about URL rewrite with aspnet on this forum I still have some unanswered questions. I understand the concept but haven't seen examples of functionality I like to have. Hope someone can help me out with:
- dynamically add new rules when I add new record in database a new rewrite URL needs to be created. for example a record with name of a city has to redirect request to city.aspx?cityId=1
URL: http://example.com/rotterdam/
shows: http://example.com/city.aspx?cityID=1
what is a good way to save theses rules? (xml file or load in memory) what is best way to handle requests : global.asax or HTTP module?