Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Friday, September 03, 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 > Knowledge Base > ASP.Net > Caching
Search:
What's New - What's Hot


How To Perform Fragment Caching in ASP.NET by Using Visual C# .NET        
Total Hits: 168  |  Today: 0 Author: microsoft.com       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement fragment caching in ASP.NET. Fragment caching does not actually cache a Web Form's code fragments directly; fragment caching refers to the caching of individual user controls (.ascx) within a Web Form. Each user control can have independent cache durations and implementations of how the caching behavior is to be applied. The sample code in this article illustrates how to achieve this functionality. Fragment caching is useful when you need to cache only ...

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

Use this step-by-step guide to implement key-based dependencies for data caching in an ASP.NET application.This example creates and inserts a DataSet object into a cache with a dependency set on another cache entry item by referencing its key. For additional information and examples of data caching with time-based or file-based dependencies, see the REFERENCES section in this article.
...

How to perform output caching with Web services in Visual C# .NET        
Total Hits: 245  |  Today: 0 Author: microsoft.com       Rating:  
Read Reviews | Write Review |   Your Rating: 

The following .NET Framework Class Library namespaces are referenced in this article:
• System.Web.Services
• System.Text
This step-by-step article describes how to create a sample ASP.NET Web service that uses output caching. Output caching caches the output response result of a Web service based on the Duration attribute that is specified for a corresponding WebMethod. Note In ASP.NET 2.0, the HTTP method of the test page has changed from GET to POST. However, POSTs are not ordinarily...

How To Perform Fragment Caching in ASP.NET by Using Visual Basic .NET        
Total Hits: 120  |  Today: 0 Author: microsoft.com       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement fragment caching in ASP.NET. Fragment caching does not actually cache a Web Form's code fragments directly; fragment caching refers to the caching of individual user controls (.ascx) within a Web Form. Each user control can have independent cache durations and implementations of how the caching behavior is to be applied. The sample code in this article illustrates how to achieve this functionality. Fragment caching is useful when you need to cache only ...

HOW TO: Implement Key-Based Dependencies for Data Caching in ASP.NET by Using Visual C# .NET        
Total Hits: 155  |  Today: 0 Author: microsoft.com       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....

INFO: ASP.NET Caching Overview        
Total Hits: 161  |  Today: 0 Author: microsoft.com       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ASP.NET cache is a general-purpose cache facility for Web applications. It provides both a simple interface for caching and a more advanced interface that exposes expiration and change dependency services. Caching is an extremely important technique for building high-performance, scalable server applications. Some items that are expensive to construct can be built once and then used for some amount of time before they are considered invalid. These items are stored in memory where they can be...

ViewState Vs Data Caching        
Total Hits: 386  |  Today: 0 Author: azamsharp       Rating:  
Read Reviews | Write Review |   Your Rating: 

A couple of days ago I ran into a confusion when I had to decide that whether to use ViewState or Data Caching. The use of ViewState as well as Data Caching technique would have provided me with the correct solution. One of the techniques was better than the other and I had to decide that which one to use. In this article I will discuss when to use ViewState and when to use Caching....

How to perform output caching with Web services in Visual Basic .NET        
Total Hits: 227  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article describes how to create a sample ASP.NET Web service that uses output caching. Output caching caches the output response result of a Web service based on the Duration attribute that is specified for a corresponding WebMethod. In addition, HTTP indicates that a user agent (the browser or calling application) should be able to override server caching by setting the "Cache-Control" to "no-cache". ASP.NET applications, therefore, ignore cached results when they find a "no-c...

Caching: What, How and When        
Total Hits: 198  |  Today: 0 Author: Josef Finsel       Rating:  
Read Reviews | Write Review |   Your Rating: 

Built into the Web server is a type of internal caching that takes frequently requested objects and stores them in memory. Let's say you have a logo that appears on all your pages. The first time a page is requested, the Web server reads the logo from disk and send it across the wire. But it also stores that image in memory. The next time a page requiring that logo is read, the server will supply the logo from memory (though it will still register the request to the log). Thus, the server determ...

HOW TO: Perform Fragment Caching in ASP.NET Using Visual Basic .NET (Q308645)        
Total Hits: 466  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement fragment caching in ASP.NET. Fragment caching does not actually cache a Web Form's code fragments directly; fragment caching refers to the caching of individual user controls (.ascx) within a Web Form. Each user control can have independent cache durations and implementations of how the caching behavior is to be applied. The sample code in this article illustrates how to achieve this functionality....

HOW TO: Perform Fragment Caching in ASP.NET Using Visual C# .NET (Q308378)        
Total Hits: 389  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement fragment caching in ASP.NET. Fragment caching does not actually cache a Web Form's code fragments directly; fragment caching refers to the caching of individual user controls (.ascx) within a Web Form. Each user control can have independent cache durations and implementations of how the caching behavior is to be applied. The sample code in this article illustrates how to achieve this functionality....

HOW TO: Control Page Output Caching in ASP.NET Using Visual C# .NET (Q308375)        
Total Hits: 345  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to use the @ OutputCache directive to control page output caching in ASP.NET with Visual C# .NET. You can use this technique to cache your site's most frequently accessed pages, which can substantially increase your Web server's throughput. The throughput is commonly measured in requests per second. Although the sample code in this article demonstrates how to use the Duration and VaryByParam attributes, the article also includes a brief description of other approach...

HOW TO: Implement Key-Based Dependencies for Data Caching in ASP.NET By Using Visual C# .NET (Q308147)        
Total Hits: 271  |  Today: 0 Author: MSDN       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....

HOW TO: Perform Fragment Caching in ASP.NET by Using Visual Basic .NET        
Total Hits: 379  |  Today: 0       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement fragment caching in ASP.NET. Fragment caching does not actually cache a Web Form's code fragments directly; fragment caching refers to the caching of individual user controls (.ascx) within a Web Form. Each user control can have independent cache durations and implementations of how the caching behavior is to be applied. The sample code in this article illustrates how to achieve this functionality....

Dynamically Updating Portions of a Cached Page    Version: 0.00       Price: $0.00   
Total Hits: 48  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Caching a page can dramatically increase the performance of a Web application. However, in some cases you need most of the page to be cached and some fragments within the page to be dynamic. For example, if you create a page of news stories that is entirely static for set periods of time, you can set the entire page to be cached. If you wanted to include a rotating ad banner that changed on every page request, then the part of the page containing the advertisement needs to be dynamic....

INFO: ASP.NET Caching Overview        
Total Hits: 51  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ASP.NET cache is a general-purpose cache facility for Web applications. It provides both a simple interface for caching and a more advanced interface that exposes expiration and change dependency services.

Caching is an extremely important technique for building high-performance, scalable server applications. Some items that are expensive to construct can be built once and then used for some amount of time before they are considered invalid. These items are stored in memory where they...

How To Cache in ASP.NET by Using Visual Basic .NET        
Total Hits: 58  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article describes ways to control how ASP.NET caches Web pages and data objects. By caching, you avoid re-creating information when you make later requests. Caching is an important technique for building high performance and scalable server applications. In the first request for the page, you can store data objects, pages, or parts of the page in the memory. You can store these items on the Web server, on the proxy server, or on the browser....

How to cache in ASP.NET by using Visual C# .NET        
Total Hits: 155  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article describes how to control the caching of Web pages and data objects in ASP.NET. When you cache Web pages, you avoid re-creating information when you make a later request. Caching is an important technique for building high performance and scalable server applications. When you make the first request for the page, you can store data objects, pages, or part of the page to the memory. You can store these items on a Web server, on a proxy server, or on the browser....

An ASP.NET page is stored in the HTTP.sys kernel cache in IIS 6.0 when the ASP.NET page generates an HTTP header that contains a Set-Cookie response        
Total Hits: 140  |  Today: 0 Author: microsoft.com       Rating:  
Read Reviews | Write Review |   Your Rating: 

Consider the following scenario. A Microsoft ASP.NET page contains the %@ OutputCache % directive. Additionally, the ASP.NET page generates an HTTP header that contains a Set-Cookie response. In this scenario, the ASP.NET page is stored in the HTTP protocol stack (HTTP.sys) kernel cache in Microsoft Internet Information Services (IIS) 6.0. Therefore, multiple users who access the same page may receive identical cookies....

HOW TO: Improve Performance by Caching Pages in ASP.NET        
Total Hits: 134  |  Today: 0 Author: microsoft.com       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to improve the performance of ASP.NET applications by caching entire ASP.NET pages with the @ OutputCache page directive. You can also the @ OutputCache page directive to cache specific portions of an ASP.NET page, though this article does not demonstrate this implementation....


1  2  Next >> 

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