Solved

Is it possible to update my system Cache

Posted on 2013-01-01
2
191 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
Comment Utility
0
 

Author Comment

by:skillilea
Comment Utility
missed the response...please don't delete
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

772 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

11 Experts available now in Live!

Get 1:1 Help Now