Geeks With Blogs
Ramesh Blog .NET Dash January 2004 Entries

Posted On Tuesday, January 20, 2004 1:56 PM

The [Conditional] Attribute
If you want to write methods that are only available with conditional compiler arguments you can use an attribute just for that purpose:[Conditional("DEBUG")] Private void MyMethod() {} ......

Posted On Wednesday, January 7, 2004 2:05 PM

Cache Dependency in ASP.NET 2.0
One of the most interesting changes in the Whidbey's Cache object is that it now supports custom types of cache dependencies. In brief, a cache dependency represents a logical dependency between a cached item and a file(s), folder(s), or another cached item(s). When the dependency is broken (i.e., the file/folder/item changes), the bound cached item is removed from the cache.CacheDependency dep = new CacheDependency(fileName, dateTime);cache.Insert(key, value, dep); In ASP.NET 1.1, the CacheDependency ......

Posted On Tuesday, January 6, 2004 6:23 AM

Copyright © Ramesh Arimilli | Powered by: