I need to implement caching for a large enterprise application and we are planning to use the newest Caching Application Blocks. (Enterprise Library Jan. 2006) We want to cache Business Entities (DTO's) at the service layer and have a
are System.Data.SqlClient.SqlConnection thread safe? can many threads share a System.Data.SqlClient.SqlConnection instance without any synchronization?
I dumped the content of the cache and the call stack in each situation when cache add or read is made. This proved that adding items via HttpContext.Current.Cache into application cache under
Does system.xml have any way to transofrm data with an xswl style sheet using strings like MSXML2 does? how to convert this to use System.XML so i do not depend on MSXML2 interop? static public string XslTransform(string style, string strdata)
I'm designing a new app in 2.0. In 1.1 I used user controls for headers and footers for each page. They had static information on them and so I cached them. In 2.0, I'm considering using a MasterPage instead of the user controls.
I have an infuriating problem. I have a number of pages that I want to cache server-side only, using varybycustom. It is a requirement that we set different expiry times for different instances of the page - based on the varybycustom params.
I have been using the CacheItemRemovedCallback to trap each time an object is released from the cache. I have also set up dependencies(directory and cachekeys). With the identical code base deployed to my local Windows XP box and a Windows 2003 server, I notice
I'm using System.Web.Caching.Cahe to mantain a datatable object in an asp.net user control. this is de code i'm using: //In the load event call LoadData method
I'm experiencing a weird problem. I am using a TimerCallback in my ASP.NET application. This callback function will access the cache and I'm using HttpRuntime.Cache to intert an item to the cache with a file dependecy. Every now and then the cache item requested is Null and I ...
you can use ConfigurationManager.AppSettings.Set method (ConfigurationManager is in System.Web.Configuration namespace) to store a modified value from web.config. To be practical, you define a custom key in web.config: