4

I am researching on how to handle caching in .net environment. I know that .NET supports the caching class object and we can always use it but here the problem that I am facing is different.

When we talk about caching(data caching), we are actually caching all the information from the DB but at the same time we want to make sure that we want to use the cached values ONLY IF the database has not changed. Otherwise we want to be reading those values from the database.

IS there any framework that I can use? Does it support in a webfarm environment?

1
  • 1
    What database product are you using? How did you implement your data access layer? Commented Nov 7, 2011 at 20:30

1 Answer 1

6

Read this:

Caching in ASP.NET with the SqlCacheDependency Class

http://msdn.microsoft.com/en-us/library/ms178604.aspx

and

http://www.asp.net/data-access/tutorials/using-sql-cache-dependencies-vb

Sign up to request clarification or add additional context in comments.

1 Comment

Well, the problem here is that we are not using SQL Server for out database so the solution has to be completely independent from SQl and native C#

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.