Tag Archives: C#

Benefit of Using in Dispose for .NET objects (Why and When ?)

Well, while being in touch with a number of developers, I always find people don’t understand the real meaning of disposing objects. Lets clear our basic understanding on why we need to dispose objects in .NET before understanding the usefulness of Using block. Why Disposing is necessary ?  We all know, the code that we run on our… Read More »

Working with Zip Files in .NET

Zipping and Unzipping in a Client Application or a Website is very common requirement. Until the latest .NET version, there is no API that fully supports these things. We would have relied on J# specific JAVA APIs or there are superior 3rd party APIs available which could have done the trick. .NET 4.5 gives an edge on handling… Read More »

Setting Default Global Timeout for Regular expressions

In my previous post, I mentioned about the capability of specifying a Timeout while executing a Regular expression. Sometimes, when your application is totally developed, and it would be a heck to change every single code which uses regular expression to specify a timeout. Sometimes the Regular expression is parsed inside an external assembly. In such cases, you… Read More »