473,806 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HttpContext.Cac he

Does anyone know of some good resources (books, sites) that provide info
on HttpContext cache and asp.net (as well as .net runtime) caching?

I just got amazed at the cache when I saw tracing results on the asp.net
pages. It saved so much time when loading collections from the database.
Now I want to know more so that I can watch out for problems using the
cache (memory load for instance). MSDN and many other sites just
document calls, no discussion or things like that.

Thanks,

l
Nov 19 '05 #1
3 3192
This should do:
Chapter 6 -Improving ASP.NET Performance -> Caching Explained
http://www.msdn.microsoft.com/asp.ne...netchapt06.asp

You might also navigate to
http://www.msdn.microsoft.com/asp.ne...l/scalenet.asp
to read the whole book: Improving .NET Application Performance and
Scalability

Regards

---------------------------------------
Daniel Walzenbach
MCP

www.walzenbach.net

"laimis" <si*****@iit.ed u> schrieb im Newsbeitrag
news:eh******** *****@TK2MSFTNG P15.phx.gbl...
Does anyone know of some good resources (books, sites) that provide info
on HttpContext cache and asp.net (as well as .net runtime) caching?

I just got amazed at the cache when I saw tracing results on the asp.net
pages. It saved so much time when loading collections from the database.
Now I want to know more so that I can watch out for problems using the
cache (memory load for instance). MSDN and many other sites just document
calls, no discussion or things like that.

Thanks,

l

Nov 19 '05 #2
Daniel Walzenbach wrote:
This should do:
Chapter 6 -Improving ASP.NET Performance -> Caching Explained
http://www.msdn.microsoft.com/asp.ne...netchapt06.asp

You might also navigate to
http://www.msdn.microsoft.com/asp.ne...l/scalenet.asp
to read the whole book: Improving .NET Application Performance and
Scalability


Thanks man!!! Exactly what I was looking for.. MSDN should either
improve their search engine or I should use better queries :)

laimis
Nov 19 '05 #3
Good to hear that I could help you!

Greetings
---------------------------------------
Daniel Walzenbach
MCP

www.walzenbach.net

"laimis" <si*****@iit.ed u> schrieb im Newsbeitrag
news:OD******** ******@TK2MSFTN GP10.phx.gbl...
Daniel Walzenbach wrote:
This should do:
Chapter 6 -Improving ASP.NET Performance -> Caching Explained
http://www.msdn.microsoft.com/asp.ne...netchapt06.asp

You might also navigate to
http://www.msdn.microsoft.com/asp.ne...l/scalenet.asp
to read the whole book: Improving .NET Application Performance and
Scalability


Thanks man!!! Exactly what I was looking for.. MSDN should either improve
their search engine or I should use better queries :)

laimis

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
489
by: George Ter-Saakov | last post by:
What is HttpContext.Cache for ? The usual HttpRequest lasts miliseconds. Why would someone to cache anything? We do have HttpContext.Items to keep any extra info during the request. Can someone explain me the use of the HttpContext.Cache. Thanks.
5
3727
by: DesignerX | last post by:
What is the difference between Page.Cache and HttpContext.Current.Cache? Do these access the same thing? Is there any easy way to clear all items in the cache? TIA, Stan
3
2241
by: James | last post by:
If I have set the session state for an asp.net application to be out of process how does this affect the HttpContext.Cache? What I want to know it is possible to store the Cache out of process as well? Because I read in MSDN that: One instance of this class is created per application domain, and it remains valid as long as the application domain remains active. Information about an instance of this class is available through the Cache...
4
5373
by: Mat | last post by:
Hi, I've stumbled onto a problem when using the caching object in ASP.Net. I'm placing a static dataset to the cache as the data only changes once a day. Whilst writing to the cache I'm using a lock using code like below (just typed this in); Cache thisCache = HttpContext.Current.Cache lock(thisCache)
3
2772
by: xzzy | last post by:
A. I need to access: System.Web.HttpContext.Current.Cache but get this error: "Object reference not set to an instance of the object" B. System.Web.HttpContext.Current.Cache is accessible outside of this class.
2
3994
by: kplkumar | last post by:
This is the scenario. The flow of control goes from WebService --> OurManager --> Persistence --> Database also OurManager spwans a thread to execute the EmailSubsystem. This system ues the persistence to retrive some information from the database as well. Our persistence layer depends on the HTTPContext for caching. So when I try to spawn a thread from OurManager subsystem to execute
4
11904
by: msch-prv | last post by:
Hello. I am trying to use caching to populate a datalist. The select method of the associated objectdatasource calls up GetRecipePageByRecipeCatID() to request the proper data (I am using custom paging at SQL level so there is a paging idx as well). The code works fine when caching is edited out. Problem. The cache object is only created the first time around. When the dtl ia refreshed, th HttpContext.cache object always returns...
6
5190
by: =?Utf-8?B?emlubw==?= | last post by:
in asp.net 2, I load a dataset from the Cache object into a local object to use to perform processing. I had been using httpcontext.current.cache and what I noticed is sometime I'm not able to get the dataset out of the cache. the application is under heavy hits, and is set to email me on every error. and once or twice every month I get these error e-mail about this issue. why does the HTTPContext.Current.Cache call work sometimes, while...
3
8913
by: Madhur | last post by:
Hello I am delivering an asp.net 2.0 application to my customer. I need to know, If I need to check for the condition of HttpContext.Current to be null in my business logic. I have extensively used Cache and Session objects, and currently I assume HttpContext.Current object to be existent. Also, since I do not have this check, some of my unit test cases fail because there is no HttpContext for them.
8
2546
by: SpaceMarine | last post by:
hello, my web app form has many DropDownLists that pull their content from a database. these calls are in a Business Access Layer, when first checks the context's Cache object for existing copies. to do that, the BAL needs to be aware of the user's HttpContext. question: how expensive is it for each BAL method to instantiate the current context, like so:
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10371
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7649
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.