473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Difference between System.Web.Caching.Cache and System.Web.HttpContext.Current.Cache

Hi,

Can anyone tell, what is the difference between System.Web.Caching.Cache and System.Web.HttpContext.Current.Cache. which to use when??

Thanx in advance
Oct 9 '07 #1
2 2665
Plater
7,872 Expert 4TB
Hi,

Can anyone tell, what is the difference between System.Web.Caching.Cache and System.Web.HttpContext.Current.Cache. which to use when??

Thanx in advance
I don't think you even tried looking this up in msdn, but I will explain fairly easily.

Say you have:
string mystringvar="fred";

"string" is like System.Web.Caching.Cache
while "mystringvar" is like System.Web.HttpContext.Current.Cache
Oct 9 '07 #2
Thanx Platter,

I did tried to search on this topic but could not find an understandable answer like the way u've explained.
Oct 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jo Versmissen | last post by:
Does anyone know how a component can be cached server side. I know how to cache a component and it works, but I think this is client side caching, because it works with the current HttpContext. ...
2
by: Steve W | last post by:
I have an ASP.NET app that calls into some VB.NET components. It passes in the current application's cache (HttpContext.Current.Cache). These VB.NET components also get called by a non-ASP.NET...
5
by: Craig G | last post by:
im having my first play about with caching a dataset but seem to be having some problems in doing so!! basically i have a dataset which i add to the cache as follows Cache.Insert("myDS",...
2
by: R-D-C | last post by:
Can these two functions coexist? We have a web site where the querystrings are removed using URL Rewriting. Instead the page appears to be a html page with a long name (containing what would be...
2
by: J055 | last post by:
Hi I've implemented caching for my ObjectDataSource. <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" EnableCaching="True" CacheDuration="10" CacheExpirationPolicy="Sliding" ...
2
by: Jurjen de Groot | last post by:
Hello, I'm developping an app in ASP.NET 2.0 using VS.NET 2005, I'm using System.Web.Caching.Cache to store various data between page calls (I've tried :...
2
by: Aryan | last post by:
Hi, I have problem related to Caching of data. I am reading large xml file and putting this xml in dataset, since this dataset will contain many datatable's inside. And each datatable might be big...
4
by: Harry Haller | last post by:
What's wrong with this: Error 3 'System.Web.Caching.Cache' is a 'type', which is not valid in the given context public List<AssetSummaryGetAssetSummary() { return...
5
by: Showjumper | last post by:
Hi I have custom bustom objects whose properties i populate using a datareader. Is it possible to cache the business object afteri have populated it? If so, how? Everything i have tried does not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.