Im trying to implement caching in an ASP web sevice and was wondering what the difference (if any) there is between adding objects to the cache with the following methods:
Application("productCache") = productCollection
I will be caching a full product list to make available to all users so subsequent product searches dont result in numerous hits on the database, but rather retrieve from the cache instead.
One other thing also is how the expiration period is implied with the Application("") method, since the HttpContext....choice allows you to specify an expiration date/time as part of the insert.
Thanks for your time.
This post has been edited by Grandville: 16 August 2013 - 02:45 AM