| | |
Clustered Cache in ASP.NET
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2006
Posts: 1
Reputation:
Solved Threads: 0
I’m currently working on a distributed application that requires cluster wide caching support for its operation. Since ASP.NET Cache does not work in clustered environment, I was thinking to code my own custom caching solution and confronted some issues. As we all know that a unique instance of Cache runs in Application scope on each AppDomain, so a problem in providing synchronization is how to add/change a Cache item that is added/changed in one of the domains. Also, how to remove/expire a Cache item that has been removed/expired in one of the AppDomains. Please advise…
•
•
Join Date: Apr 2006
Posts: 2
Reputation:
Solved Threads: 0
I have come across a useful product for distributed caching known as NCache from alachisoft.com. Its a caching solution that provides high performance and scalability, specifically targeted for .NET based Applications. The product allows transparent saving and retrieval of ASP.NET session-state objects within a webfarm. It incorporates replicated caching and avoids single point of failure.
May be this product helps you.
May be this product helps you.
•
•
Join Date: Apr 2006
Posts: 1
Reputation:
Solved Threads: 0
The Microsoft .NET Framework version 2.0 includes significant enhancements to ASP.NET in virtually all areas including Caching. Features such as configurable caching and SQL cache invalidation allow you to optimize the performance of your applications greatly.
With the introduction of database-triggered cache invalidation, now you can remove or invalidate an item from the cache when data in a SQL Server database changes. The database-triggered cache invalidation capability allows you to ensure that items in the cache are kept up to date with the changes in the database. ASP.NET 2.0 also provides you more control over the cached data by enabling you to set caching attributes at the SqlDataSource control level.
Now you can create custom cache dependencies by inheriting from the CacheDependency class which is no more a sealed class in ASP.NET 2.0. This make it easy to create your own custom cache dependencies required for a particular scenario. Also now you can be notified when an item is removed from the application cache. This way you can perform the required operation immediately.
With the introduction of database-triggered cache invalidation, now you can remove or invalidate an item from the cache when data in a SQL Server database changes. The database-triggered cache invalidation capability allows you to ensure that items in the cache are kept up to date with the changes in the database. ASP.NET 2.0 also provides you more control over the cached data by enabling you to set caching attributes at the SqlDataSource control level.
Now you can create custom cache dependencies by inheriting from the CacheDependency class which is no more a sealed class in ASP.NET 2.0. This make it easy to create your own custom cache dependencies required for a particular scenario. Also now you can be notified when an item is removed from the application cache. This way you can perform the required operation immediately.
![]() |
Similar Threads
- Need help on export asp.net table to excel (ASP.NET)
- ASP.NET Tutorial: Caching in ASP.NET (ASP.NET)
- ASP.Net Directory Problems (ASP.NET)
- Regarding ASP.NET worker process (ASP.NET)
- .NET Speech SDK for ASP.NET (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: validate-upload file
- Next Thread: SQL Record COUNT
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox class click commonfunctions compatible confirmationcodegeneration content contenttype countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dropdownmenu edit flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list listbox menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news numerical objects order panelmasterpagebuttoncontrols problem radio ratings reportemail rotatepage save schoolproject search security serializesmo.table silverlight smartcard software sql sql-server sqlserver2005 suse textbox tracking unauthorized validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice xml youareanotmemberofthedebuggerusers





