Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Thursday, July 29, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > Caching
Search:
What's New - What's Hot


Caching in ASP.NET (Part I)    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: Joydip Kanjilal       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ability to store data in the main memory and then allow for retrieval of the same as and when they are requested is one of the major factors that can yield high performance and scalable applications. This results in a gain in the application’s overall throughput by serving the subsequent requests for data from the Cache rather than recreating them or retrieving them from the database or any other storage device that works much slower compared to the main memory. This is one of the most strik...

ASP.NET caching        
Total Hits: 80  |  Today: 0 Author: snyholm       Rating:  
Read Reviews | Write Review |   Your Rating: 

There are a lot of good articles and tutorials about caching out there. Here are some notes I've been saving on the topic...

On a very simple level, there are two methods of caching:

* Output Cache for storing frequently requested pages
* The .NET Cache API for storing arbitrary data...

ASP.NET Caching Features        
Total Hits: 171  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Retrieving information from a resource outside the application will require more processing steps, and will therefore require more time and resources on the server than if the information can be obtained from within the application space....

Caching with .NET using interfaces        
Total Hits: 275  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

So far in our series on .NET caching, we've created a basic cache and added a thread to expire objects from the cache based on a fixed expiration date. This may work well in certain situations, where it is possible to predetermine the date of expiration, but what if the date of expiration cannot be predetermined? Perhaps you have an inventory list that should only be expired if the latest shipment has arrived....

Page Output Caching        
Total Hits: 186  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

Output caching is a powerful technique that increases request/response throughput by caching the content generated from dynamic pages. Output caching is enabled by default, but output from any given response is not cached unless explicit action is taken to make the response cacheable....

ASP.NET - caching control        
Total Hits: 94  |  Today: 0 Author: admin under       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ASP.NET cache is simply fantastic, but there are some shortcomings. While it is so easy to create a cache item dependent on, say for example a XML file (meaning the cache item will expire when the file xxx.xml is changed) it is not so common for such scenarios in my opinion. Also, now in .NET 2.0 you can create SqlCacheDependencys, meaning an cached item will be expired (and therefore a fresh read fromthe database will be executed) when something in the database is changed (could be set on q...

ASP.NET URL Rewriting and Caching Engine        
Total Hits: 140  |  Today: 0 Author: Matteo G.P. Flora       Rating:  
Read Reviews | Write Review |   Your Rating: 

I came across Url Rewrite in .NET a little time ago, trying to get rid of the querystrings of an old-ASP CMS I deveoped and worked great (see Pitagora / WOE Web Content Management System) but had the problems that afflict a lot of asp scripts: all the pages are something like: http://myhost/mypage.asp?pagetoget=MyVeryGoodPage...

ASP.Net Quick Tips - Caching        
Total Hits: 117  |  Today: 0 Author: Scott Watermasysk       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is part four in the ASP.Net tips series. In particular, this is a follow-up to, "ASP.Net Quick Tips - State Management" which focuses exclusively on caching.

Caching:

1. is the number one way you can improve the performance of an ASP.Net application.
2. is a very easy way to fix problems which do not exist....

Caching Dynamic Pages with ASP.NET        
Total Hits: 131  |  Today: 0 Author: Chris Canal       Rating:  
Read Reviews | Write Review |   Your Rating: 

Interested in .NET? Don't miss SitePoint's .NET Feature Guide -- it's an excellent resource!

Caching is the method of saving data to some form of memory (generally computer, not yours) with the aim of speeding up the time it takes to access that data. When you access a page, your browser will cache the page on your computer so that if you pressed the back button, it wouldn't have to download the page files again....

Creating An XML Based Cache Using COM        
Total Hits: 139  |  Today: 0 Author: Andreas Kviby,Binary Bros       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this article I will demonstrate how to create an XML based cache system in COM using Visual Basic. This COM object is using the function Save in ADO to create XML based recordsets....

Caching Solutions in Java        
Total Hits: 121  |  Today: 0 Author: Aleksey Shevchenko       Rating:  
Read Reviews | Write Review |   Your Rating: 

Data caching is a very important consideration for J2EE applications. Data caching limits the number of remote invocations in distributed applications and improves performance of web applications by reducing the number of calls to the persistent data stores. Even though caching improves performance and makes your architecture work, it can, in fact, complicate design and introduce such complexities as concurrent code and cluster-wide synchronization....

Ultimate Caching: Output and Fragment Options        
Total Hits: 174  |  Today: 0 Author: Steven Smith       Rating:  
Read Reviews | Write Review |   Your Rating: 

With Beta 2 of ASP.NET, there are now quite a few options available for caching. Of course the first thing you should do to become familiar with caching is read up on it in the ASP.NET Quickstart Tutorials. Once you're throught there, though, come back here and let's go through some more examples of the different options available and discuss some of the potential issues with using each option....

Invalidating an ASP.NET Web Application Cache Item from SQL Server (Part 1 – A simple example)        
Total Hits: 130  |  Today: 0 Author: Donny Mack       Rating:  
Read Reviews | Write Review |   Your Rating: 

We have seen over and over again the question, "How can I invalidate a cache item in my ASP.NET Web application when a change is made in my database?" Well, this article will demonstrate one way to accomplish this using triggers, a console application, and dependency files. As the title implies this is a two part article, the second part (or example) will be much more complicated and will span many different types of technologies including HttpHandlers, SQL Server, and enabling SQL Server itself...

HOW TO: Implement Key-Based Dependencies for Data Caching in ASP.NET by Using Visual C# .NET        
Total Hits: 125  |  Today: 0 Author: microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement data caching by using key-based dependencies in a Microsoft ASP.NET application. The example that is presented in this article creates and inserts a DataSet object into the cache with a dependency set on another cache entry item by referencing its key. For examples of data caching with time or file-based dependencies, refer to the "References" section in this article....

Data Caching in .net        
Total Hits: 104  |  Today: 0 Author: Shijo Baby       Rating:  
Read Reviews | Write Review |   Your Rating: 

In simple terms data caching is storing data in memory for quick access. Typically information that is costly to obtain (in terms of performance) is stored in the cache. One of the more common items stored in a cache in a Web application environment is commonly displayed database values; by caching such information, rather than relying on repeated database calls, the demand on the Web server and database server's system resources are decreased and the Web application's scalability increased. As ...

Binding to Database Key/Code Tables with Caching        
Total Hits: 69  |  Today: 0 Author: Tom Garvey       Rating:  
Read Reviews | Write Review |   Your Rating: 

LargeOnLine Transaction Processingapplications use primarily nearthird normal form databases thatcan have many relatively small code tables that provide an ID keyfor storage in large tables and user-friendly descriptions for use in your application's presentation. .Net allows binding an ID to DropDownLists or RadioButtonLists, but how about displaying the description when the data is being viewed as read-only. The GridView above has 3 of the 4 columns that get their value from code tables. If yo...

Webpart Post Build .Net Automation Of Global Assembly Cache & IISRESTART        
Total Hits: 200  |  Today: 0 Author: Shehzad Afzal & Jim Coutts       Rating:  
Read Reviews | Write Review |   Your Rating: 

Our current development environment consists of Microsoft Visual Studio .NET 2003, Sharepoint Portal Server 2003, Microsoft Framework SDK 1.1, Internet Information Services (IIS) Manager Version 6.0.
In our development environment, we found the process of making changes to webparts in .Net, then adding them to Sharepoint both convoluted and irksome.
Whenever an update is done to a webpart in .NET, Sharepoint does not automatically pickup the latest assembly. This has to be done manually in...

Cache Management in ASP.NET        
Total Hits: 189  |  Today: 0 Author: Shubhabrata Mohanty.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Before explaining cache management in ASP.NET, let me clarify that different people use different terms for explaining the same concept i.e. managing data. Some people refer to it as state management and some others refer to it as cache management. I love to use the term cache management, may be because I like the word "cache". But conceptually there is no difference between these two. Now let's discuss different aspects of cache management (or state management) in ASP.NET.
Although cache man...

Learn Better Ways to Manage Your Cache in ASP.NET        
Total Hits: 167  |  Today: 0 Author: Wei-Meng Lee       Rating:  
Read Reviews | Write Review |   Your Rating: 

Caching is one of the features in ASP.NET 1.x that most developers are familiar with. And it has helped to fuel a yearning for cache dependency in SQL Server. The ability to refresh the cache if a row in a table has been modified is very useful to a lot of developers. And hence in ASP.NET 2.0, Microsoft built SQL Server cache dependency right into the product.
In this article, I'll look at the various ways you can cache your Web pages in ASP.NET 2.0; some of these techniques are even applicab...

Whidbey: Use Substitution Control for Dynamic sections of a Cached Page        
Total Hits: 88  |  Today: 0 Author: Harish Ranganathan       Rating:  
Read Reviews | Write Review |   Your Rating: 

In my earlier articles on ASP.NET 1.x versions I had explained the ways of Caching an ASP.NET Page in which we are limited to two options
i. Caching the whole page using Output Caching - Not applicable in many realtime scenarios where some sections of the page need to be dynamic ex.- Stock Rates
ii. Caching Usercontrols by Fragment Caching - Difficult to implement since page requires to be breaked into separate usercontrols for enabling/disabling caching....


1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  Next >> 

DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net