When to load database drive configuration settings in ASP.NET? -


at application start our application connects database , fetches language translation table , caches memory. code placed in application_start in global.ascx

the problem approach if database not available, there unhandled exception. because code set @ application_start, request , response not available.

i wondering if there's general lightweight approach this.

my plan implement singleton store state of connection attempt, , check on default routed page. it's solution, feel there's missing. there other approaches this?

the problem approach if database not available, there unhandled exception.

well handle then. implement retry policy in code if result not cached in memory fetch database once again.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -