Caching

  • Thread starter Thread starter michaeltorus
  • Start date Start date
M

michaeltorus

Is the only way to cache data in Memory, such as a Dom Document, to use System.Web.Caching namespace?

I can't seem to find anything else, but what if you want to cache something in memory and you don't have a web app ?
 
Download a copy of the Enterprise Library 2005 it contains a robust caching
implementation for the following scenarios:
a.. Windows Forms
a.. Console
a.. Windows Service
a.. Enterprise Services
a.. ASP.NET Web application or Web service if you need features that are not
included in the ASP.NET cache

I'd advise you to read the Caching Architecture Guideline for .NET Framework
Application written by the PAG group and scan the Patterns & Practices
Caching Application Block information. See the links below for the files and
documents.

Caching Architecture Guideline
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/CachingArch.asp

EntLib 2005
http://www.microsoft.com/downloads/...09-660E-444E-945A-6B32AF1581B3&displaylang=en

Patterns & Practices Caching
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/caching1.asp

Best regards,
Paul Gielens

Visit my blog @ http://weblogs.asp.net/pgielens/
###
 
int i = 9;

As long as "i" remains in scope, it is cached in memory.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
Thank you very much for the info and Links .... will check it out ....


Did you see Kevin'sabove ... It's so brilliant don't you think ! Kevin spencer is my new hero :farts loudly:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top