Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > C-Sharp > Cachy


Search:
What's New - What's Hot
A High Performance Multi-Threaded LRU Cache  Version: 0.00     Price: $0.00  
Total Hits: 34  |  Today: 0Author: brian_agnes      Rating:  
Read Reviews | Write Review |  Your Rating: 

A LRU Cache is a key-value based data container that is constrained by size and/or age, removing the least recently used objects first. This algorithm requires keeping track of the most recent time each object is accessed, which can be expensive to ensure the algorithm always discards the least recently used item....

How to: Cache Data for Use Offline or on a Server  Version: 0.00     Price: $0.00  
Total Hits: 38  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can mark a data item to be cached in the document, so that it is available offline. This also makes it possible for the data in the document to be manipulated by other code when the document is stored on a server....

Domain Objects Caching Pattern for .NET     
Total Hits: 326  |  Today: 0Author: Iqbal M Khan      Rating:  
Read Reviews | Write Review |  Your Rating: 

Caching greatly improves application performance because it reduces expensive trips to the database. But, if you want to use caching in your application, you must decide what to cache and where to put your caching code. The answer is simple. Cache your domain objects and put caching code inside your persistence classes. Domain objects are central to any application and represent its core data and business validation rules. And, while domain objects may keep some read-only data, most of the data ...

State Management and ways to handle Cache in Web Farm/Web Garden scenario  Version: 0.00     Price: $0.00  
Total Hits: 12  |  Today: 0Author: Brij      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this Article, I am again going to talk about state management but focus on mainly Web Farm and Web Garden scenarios as there are already very good articles available in Code Project itself. Also I have already written few articles on state management. Just for the new readers, I am adding first few sections from my earlier article to give brief idea about State Management. In this Article, I'll be discussing about Web Farm/Web Garden and later will discuss various approaches to handle Cache i...

Ten Caching Mistakes that Break your App  Version: 0.00     Price: $0.00  
Total Hits: 9  |  Today: 0Author: Omar Al Zabir      Rating:  
Read Reviews | Write Review |  Your Rating: 

Caching frequently used objects, that are expensive to fetch from the source, makes application perform faster under high load. It helps scale an application under concurrent requests. But some hard to notice mistakes can lead the application to suffer under high load, let alone making it perform better, especially when you are using distributed caching where there’s separate cache server or cache application that stores the items. Moreover, code that works fine using in-memory cache can fail wh...

Reading the Internet Explorer Cache  Version: 0.00     Price: $0.00  
Total Hits: 43  |  Today: 0Author: Fred Ackers      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are two basic ways to read the cache files that Internet Explorer produces. One method is to use the WinInet cache functions to do the job. The other is to use a custom built solution to read the cache files. There are no clear advantages to using one method over the over, except perhaps that one is Microsoft based, and the other is not. In this article, I will present both methods of reading the cache....

Global Assembly Cache Tool (Gacutil.exe)  Version: 0.00     Price: $0.00  
Total Hits: 25  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Global Assembly Cache tool allows you to view and manipulate the contents of the global assembly cache and download cache....

How to: Change Cached Data in a Workbook on a Server  Version: 0.00     Price: $0.00  
Total Hits: 20  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can change data in the cache of a Microsoft Office Excel workbook that is part of a document-level Visual Studio Tools for Office project without running Excel. This makes it possible to change data in Excel workbooks that are stored on a server. The code to change the data must be outside of the main Visual Studio Tools for Office project assembly that is associated with the document you are working with, for example in an ASP.NET Web page, a console application, or a Windows Forms applicat...

Use the Cache(MRU) With A File To Over The Limitation Of A Process  Version: 0.00     Price: $0.00  
Total Hits: 39  |  Today: 0Author: sjDing750807      Rating:  
Read Reviews | Write Review |  Your Rating: 

When accesses a mount of data, process often exits abnormally because it's memory is over 2.9G bytes. There are two common methods to solve this problem.

1. Use database systems (for example BDB) to save the data. When wants to use a data, the process read a data from the DB, operate the data , and write it back to the DB.
2. Use file to save the data. When wants to use a data, the process read a data from the file, operate the data , and write it back to the file....

Memory allocations caching  Version: 0.00     Price: $0.00  
Total Hits: 31  |  Today: 0Author: valdok      Rating:  
Read Reviews | Write Review |  Your Rating: 

Not a long time ago, I've posted an article that describes a technique to optimize frequent dynamic allocations of a constant size.

A few days ago, I talked to my friend and occasionally this subject came up. He told me: "In such cases, instead of deleting the unneeded blocks, I just store them in a linked list, and then reuse them again".

Impressing, isn't it? This method is even simpler than what I've invented, and its advantage is that the caching pool can grow dynamically witho...

Custom CacheManager Implementation for Windows/Console applications  Version: 0.00     Price: $0.00  
Total Hits: 28  |  Today: 0Author: Mouli      Rating:  
Read Reviews | Write Review |  Your Rating: 

Mainly the term caching is used in web applications environments to store commonly used database values. By caching this information rather than relying on repeated database calls, decreases the demand on the Web server and database server's system resources and the Web application's scalability is increased. In ASP .Net Web applications, caching is used to retain pages or data across HTTP requests and reuse them....

Enterprise Library Caching Application Block     
Total Hits: 187  |  Today: 0Author: AzamSharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft introduced Enterprise Library in January 2005. Many companies have migrated their code from the independent Application Blocks to the Enterprise Library Blocks. In this article I will introduce the Caching application block which is part of one of the blocks shipped with Enterprise Library....

Using Combinations to Improve Your Software Test Case Generation     
Total Hits: 109  |  Today: 0Author: Dr. James McCaffrey      Rating:  
Read Reviews | Write Review |  Your Rating: 

Testing has always been a vital part of the software development process, but three recent factors have caused it to take an even more central role. First, the introduction of the Microsoft® .NET environment has dramatically improved developers' ability to write custom test automation. Test programs that took weeks to create before the .NET Framework can now be written in just hours. Second, increasingly complex systems are being built that require more sophisticated testing. Finally, software s...

Practical .NET Remoting Caching Sink     
Total Hits: 402  |  Today: 0Author: zhi.      Rating:  
Read Reviews | Write Review |  Your Rating: 

.NET Remoting solutions can be slow because of unnecessary "chatty" calls. For programmers, making a method call is easier than creating sockets, preparing buffers, calling send() and recv(), and then parsing the result. So much easier that he often forgets about performance. Another reason is that when we want to use PropertyGrid to present a remoted (MBR) object: A lot of property get/set methods are called, some of them are unnecessary, but we can't help because we can't modify code inside Pr...

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

Effective Cache Expirations     
Total Hits: 160  |  Today: 0Author: Robert Boedigheimer      Rating:  
Read Reviews | Write Review |  Your Rating: 

The ASP.Net Cache object is extrememly useful for storing information that can be shared for all users of a web site. It is similar to the Application object, but provides the ability to set expiration criteria and dependency information. The expiration criteria includes a specific date and time, or a sliding time period. The dependency information can cause an expiration based on when a file, such as an XML file, is changed. These are all extremely useful for specifying when the cache should no...

Caching Result Sets in PHP: Porting the Code to PHP 5     
Total Hits: 137  |  Today: 0Author: Alejandro Gervasio      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this part of the series, you will see in detail an updated version of each class that composes the caching system, for a correct implementation in PHP 5. Also, the “Cache” class will be modified to work with an array processor class that handles array operations. It should help refresh your memory of techniques related to object-oriented programming.

Welcome to the fifth part of the series “Caching result sets in PHP.” If you’ve been a patient reader, and followed the previous articles...

HOW TO: Prevent Caching of web forms by the browser     
Total Hits: 220  |  Today: 0Author: Bipin Joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

How can I prevent caching of my web form pages by the browser so that when user clicks on the Back button of the browser he gets the latest output from the server and not the cached one...

Build a C# Named-Pipes Based Inter-Process, Inter-Machine Object Caching Service     
Total Hits: 306  |  Today: 0Author: Peter A. Bromberg      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a project I've actually had "lying around" for some time (at least in conceptual form) but time constraints prevented me from fully exploring it until now. Actually what sparked my interest was reading about the IPC Channel that's new in .NET 2.0 for Remoting, and how much faster it is than the HTTP or TCP Channels -- it's based on Named Pipes. This does Named Pipes but does not need Remoting. What is "Named Pipes"? It's an interprocess control (IPC) protocol for exchanging information b...

Enterprise Library Caching Application Block     
Total Hits: 266  |  Today: 0Author: AzamSharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft introduced Enterprise Library in January 2005. Many companies have migrated their code from the independent Application Blocks to the Enterprise Library Blocks. In this article I will introduce the Caching application block which is part of one of the blocks shipped with Enterprise Library....


1  2  3  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net