Hello, I have class called SiteSettings
view it here:
[url removed, login to view]
Thoughout my application I reference it like:
[url removed, login to view]()
however each time I do this it hits the database.
Your task is to
1. make a caching feature so it only hits the database once an hour for each variable.
2. Give me some kind of ResetAll() feature so it clears the cache
1. I will use this after the user makes
1. any sitesettings updates
2. installs the app
Do not use any 3rd party dlls.
All your code most be on this page and use featrues that are part of the 2.0 - 3.5 .net frameworks
In your bid you must mention some smart way of doing this.