Exception filters are not new. Its been there for a long time (at least for than a year) as it is been released with .NET framework 6.0. But I do see developers don’t know the basic advantages of using exception filters and use code inside catch to determine problems. Let us look how exception filters can help you… Read More »
Author Archives: Abhishek Sur
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 the server. A… Read More »
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 or saved.
Well folks, even if you think that you know the answer and it is very common, I still think you should read this post to make your concept more clear, because strangely I found there are lot developer who still have some confusion with the concept even though they read tons of articles in the web about the… Read More »
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 »
You might have developed many projects and want to deploy them to the clients but want to avoid having number of entry point for the application. You can build a master application which can invoke all these small tools to ensure the entry point is hooked to one single executable. Here is a solution to it.
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 directly to a… Read More »
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 is inherited from… Read More »
Working with Camera in Windows Phone environment is a common requirement. Almost 25% of the apps in the store uses Camera capture on the app. CameraCaptureTask is a common Task available to the Windows Phone device which can capture camera from an app by launching the basic image capture tool present on the Windows Phone environment and take… Read More »
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 limited to use… Read More »
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 »
It is sometimes important for an application to change lock screen of the project. The Lock Screen can be set from an app only if the App supports an Extension to change lock screen. Let us take a look on how to change lock screen from an application. First of all, Lock screen can be changed by an… Read More »