Category Archives: .NET



Back To Basics – Delegate in C#

A delegate person is someone who represent an organization or set of people. In C# world a delegate is a reference type variable that represent one or set of methods by holding there reference. Note: The reference can be changed at runtime.  So let’s first understand what it meant. Let’s have a class called BasicMaths having two methods Add […]

Workstation GC Vs Background GC

Well, there has been a confusion around the developer community on the differences between the Workstation GC which is by default recommended for standalone machines which targets one single CPU Core and the Background GC which provides multicore execution of Garbage Collections. In general aspect first let us consider how the Workstation is different from […]

Implementation of TransactionScope on C# Code without Database

Transaction is one of the common problems that we often use during database operation. While performing a batch data manipulation, the transaction is taken into account, such that if there is a problem in somewhere while executing a transaction, the process could be rolled back and finally when everything is complete, the Transaction gets committed […]

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 […]

View Help with in Same Code Window – Peek Help in Visual Studio 2013

Peek Help feature enables the Visual Studio 2013 users to view the code help ( MSDN documentation ) with in same code window. This increases the overall productivity of the developers – getting things done without distracted by the other things. The Peek Help feature is very similar to the “View Code Definition”, where we […]

Advanced handling of Photo Capture using PhotoCamera in Windows Phone

Well, as I have already dealt with CameraCaptureTask or PhotoChooserTask before for simple scenarios, it is time to go a little further with dealing with continuous capture or even how to switch between FrontFacing Camera or Primary camera etc. To deal with such scenarios, we use the PhotoCamera class and show the stream from camera […]

Working with PhotoChooserTask in Windows Phone

Even though we have CameraCapture Task to deal with camera, there is another Chooser available as well, which can take Picture either from MediaLibrary or directly from Camera. The PhotoChooserTask helps in getting an image from the Picture / Media Library locations. The PhotoChooserTask, just like any other Tasks is listed under namespace Microsoft.Phone.Tasks and […]

How to increase Memory usage for an App in Windows Phone

Windows Phone is gradually getting matured day by day. Considering the current situation, the Windows Phone environment gives a restrictive environment where app developers are restricted to do certain things if not specified beforehand. The developer cannot use Library, Camera, Sensors or even memory at sometimes if not defined beforehand. A Windows Phone App is […]