asp.net web application, where is a good place to store and reuse values that change frequently? -


i have requirement create high performance asp.net web application. page when requested needs pull in financial rates, these rates originate legacy system directly calling each page load result in substantial performance loss.

my initial idea have cached version of rates sitting in sql server , pull there. way when rates change legacy system can call web service can update sql table.

still wasn't happy leaving - mean lookup sql each page request.

i started thinking using global variable. hold rates. left wondering how legacy system going update asp.net web application global variable value. tricky.

so best approach given performance key. i'm thinking call sql server might not bad idea, since straight table select. again - maybe there way better?

thanks in advance....

you can cache using sqlcachedependency. no need worry updating data. once data changed in database, reset cache , next request rebuild cache.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -