Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is it possible to update my system Cache

Posted on 2013-01-01
2
Medium Priority
?
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
Michael Fowler earned 2000 total points
ID: 38735222
0
 

Author Comment

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

Featured Post

Vim Reference Guide

Vim is a powerful text editor favored by many sysadmins and developers - here are some commands that you'll want to keep in your back pocket!

Question has a verified solution.

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

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

670 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