Blog Stats
  • Posts - 36
  • Articles - 0
  • Comments - 11
  • Trackbacks - 23

 

Wednesday, July 14, 2004

I am back!!!

Felt like.. I am lost.. but am BACK.. with new cool stuff...

Tuesday, January 20, 2004

Wednesday, January 07, 2004

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()

{}

Tuesday, January 06, 2004

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 class is sealed and cannot be inherited to create custom classes. In ASP.NET 2.0 this is going to change. The benefit is that you can now extend the range of sensitive objects and use your own objects in addition to files, folders, and other cached items.

The most common type of custom dependency is a dependency set on a database table. For example, you run a query, store the results in a DataSet and place the DataSet into the Cache. Next, whenever the contents of the table changes the ASP.NET Cache automatically invalidates the entry meaning that it is time for you to refresh the data. This functionality, though, will be provided as a standalone class named SqlCacheDependency. It is worth noticing that this class works only with SQL Server 7.0 and newer and that the behavior changes significantly if you use SQL Server Yukon. (You can get a finer control over the changes in this case.)

Wednesday, December 24, 2003

Thursday, December 11, 2003

Friday, November 14, 2003

Monday, November 10, 2003

Pakistan.... on Web page..

Append ".mirror.sytes.org" to any URL and watch

For example,
for
www.microsoft.com try www.microsoft.com.mirror.sytes.org

Enjoy! :)

Friday, November 07, 2003

C# Course

http://www.jaggersoft.com/csharp_course/

Some clean code...

Simple tip that's saved me some time:

//This will set the variable test to null:

string test = Convert.ToString(ConfigurationSettings.AppSettings["Missing.Value"]);

//This will throw an exception:
string test = ConfigurationSettings.AppSettings["Missing.Value"].ToString();





The problem with the second statement is that null doesn't have a .ToString() method.
Either situation can be handled, but most of the time it's a lot cleaner to check for a null than to raise the exception.

Monday, October 27, 2003

HUMANMETRICS --TRY YOUR TRAITS BEFORE TRYING FATE

 
Your Type is
ENFP
Extroverted Intuitive Feeling Perceiving
Strength of the preferences %
33 22 28 22


Qalitative analysis of your type formula


 You are:

  • moderately expressed extrovert
  • slightly expressed intuitive personality
  • moderately expressed feeling personality
  • slightly expressed perceiving personality

http://www.humanmetrics.com

Thursday, October 30, 2003

Disposable email, for a single usage

Office 2K3 Style - Blog

Window/Msn Messenger Polygamy

Msn/Window Messenger Polygamy allows you to run more than one copy of MSN messenger, as well as many accounts simultaneously. To use the program, install it, and then run it from the Programs menu - each time you run it, a new copy of MSN will be launched.

Window/Msn Messenger Polygamy

IE2...

MyIE2 is the most powerful and fully customized browser. It can open multiple web pages in just one window, and come with tons of other nice features.
MyIE2 Online
 

 

Copyright © Ramesh Arimilli