Solved

Is it possible to update my system Cache

Posted on 2013-01-01
2
193 Views
Last Modified: 2013-01-17
When my site starts up I put my "entities" [users, biz units etc] into  cache.

System.Web.HttpContext.Current.Cache[InnEnum.CacheName.EntityCache.ToString()] = e;

There are two fields in each row that can be modified by the user from the site.  I currently hit the DB to do the update but, I want to also update the cache without reloading the entire thing.  Is there a way to update the item[row] in the cache that pertains to the user record?

What is the best approach?

running SQL server 2008/10, .NET 4.0

thanks tons.
0
Comment
Question by:skillilea
2 Comments
 
LVL 23

Accepted Solution

by:
Michael74 earned 500 total points
ID: 38735222
0
 

Author Comment

by:skillilea
ID: 38786335
missed the response...please don't delete
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How would you add MULTITHREADING to the attached C# code? 4 53
SQL Server - SQL field is defined as text 3 30
Exit the loop 4 39
Capture logon name 13 48
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now