Hastables are deprecated now because with .NET 2.0 and above the Dictionary class is introduced which is much more efficient because it does not need to box or unbox data while adding/retrieiving items. ListDictionary should be used when the number of items are small (usually less than 10). Else if you are sure that your list will have more items, than use Dictionary. If you are not sure...
Many beginner developers do not realize how effcient caching mechanisms can play a big role in increasing application performance. Most developers are accustomed to using the default In-Proc session state, or the Cache object to store the application related data. While such in-built caching mechanisms will work perfectly fine for most applications which do not need to scale to higher le...
Recently I got this error while installing SQL Server 2005 64 bit on a machine where previously SQL Server 2005 32 bit was installed: Failed to install and configure assemblies C:\Program Files\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. Error: -xxxxx Error message: Unknown error xxxx Error description: One or more of the components being insta...
When should you use Abstract classes for implementing dynamic polymorphism? and when Interfaces are your best option? Most beginners tend to get confused between Abstract classes and Interfaces, so here is a quick primer: In Abstract classes you can use "abstract" keyword to mark methods which *must* to be implemented in derived classes, and use the "virtual" keyword to create some concr...
It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.
enter your email address:
What kind of email newsletter would you prefer to receive from CodeAsp.Net?18