Tag Archives: C#

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

By | January 15, 2014

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 »

Opening Settings Screen using Launch URI in Windows Phone

By | November 12, 2013

As we saw in the previous post, that you can programmatically change the Lock screen of the Phone from an app which supports extension of Lock Screen defined in the Metadata file, we can also open various settings screen directly from within the app as well. To open an existing settings applet, you need to first know the… Read More »

Working with Zip Files in .NET

By | October 19, 2013

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

By | October 18, 2013

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 »