ASP.NET: Caching in a Web Service

I didn't know that caching worked with Web Services... but it does.
using System.Web.Caching;

...

HttpContext.Current.Cache[key] == "some value";
string value = HttpContext.Current.Cache[key].ToString();

1 comments:

Anonymous said...

Thanks!!! This is what I needed;)

Eugene.