Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Caching generic data (not responses) used by a web service???

Thread Tools

Caching generic data (not responses) used by a web service???

Bob Rock
Posts: n/a

I'd like to have some suggestions/pointers to how I could implement caching
of generic data used by a set of web methods. I don't need to cache the
response of web methods but of generic data (in the form of key/value
Based on my current knowledge I have the following two choices:

1) using the HttpApplication class
2) using the instance of the Cache class accessible via the HttpContext

Are these good approaches or do they have any drawbacks I should be aware
Are there better solutions???

Any suggestion/pointer is welcome.

Bob Rock

Reply With Quote
Bob Rock
Posts: n/a
BTW I forgot to say, I'd need in-memory (and probably in-process) caching. I
already use MS's caching application block for permanent caching of data
...... now I'd need a more volatile (and faster) caching.

Bob Rock

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable page caching without disabling caching of jpegs andstylesheets etc JimLad ASP .Net 3 01-21-2010 10:13 AM
generic interfaces with generic methods Murat Tasan Java 1 02-03-2009 12:17 PM
Generic class in a non generic class Java 2 07-04-2006 07:24 AM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM
trouble with caching or caching the trouble Hypo ASP .Net 6 08-01-2003 07:11 AM