Specifically for .NET 4.0, I will be using the System.Runtime.Caching namespace. Let’s say all my methods will use sliding expiration with a duration of 20 minutes. Is it possible to place this in a config file? If so, how would I go about doing that?
Thanks.
You can then grab this value and turn into an integer:
I assume you know how to set the sliding value through programatic means?