November 26th, 2004, 2:35 pm
A totally non-financial question!I need to retrieve data from a database (at the moment Access, but moving to SQL). I don't want to have to wait to re-retrieve the data every time I encounter a small bug in my code. So I though of using a cache.ASP.NET cache seems easy enough to use. However it seems to be constrained to the application scope - i.e. when my programme ends, so does the cache's life.I worked out how to create a windows service, thinking that this would solve my problems. But it didn't. In fact I am now very confused as to what use the windows service has - other than sending commands identified by an integer, i don't seem to be able to communicate with it - e.g. to retrieve a cache!Microsoft Caching Application Block is very very very complicated (at least the example file is). However it does seem to do a little of what i would like it to do, by caching everything into a local instance of SQL Server. However that leaves me back where I began - with my data in the database.Any wonderful ideas? I've got enough problems with my econometric analsysis side of the code!!!!!thankscharlieMicrosoft Cachine Application Block and Architecture Guide