Hi, I have my custom http-handler and with VS2010 I was thinking about switching to MS routing instead. My problem is that I have all my route definitions in a database and I don't know the connection string until the user logs on!
Luckily, my start page/log in page does use routing so that one they can access.
However, all examples I have seen so far means setting up the routes in application_start which is a point in time I don't have access to mu route definitions.
Would it be possible to create a route handler which when invoked the first time loads up all the routes? Or do I have to add all routes at application start?