Asp.Net Routing - No DB access at application Start -


i have custom http-handler , vs2010 thinking switching ms routing instead. problem have route definitions in database , don't know connection string until user logs on!

luckily, start page/log in page use routing 1 can access.

however, examples have seen far means setting routes in application_start point in time don't have access mu route definitions.

would possible create route handler when invoked first time loads routes? or have add routes @ application start?


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -