Windows Phone as of today doesn’t provide a property or direct API call which will help you identify whether the user has chosen to accept cookies or not. However, we can identify this pretty neatly by trying to get the cookie collection. So to achieve this, we are going to get the cookie collection for [...]
Apr 13 2012
DIY Home Security Using Kinect, Azure, Windows Phone and Windows 8
Most the people who were in the TechEd 2012 India would have witnessed the cool demo by me and Abhijit Jana made on the opening Keynotes of the event. And now we would like to share how this solution was developed so that you can also build your own. Background Before we could pitch [...]
Mar 14 2012
Byte Array To BitmapImage Converter & IRandomAccessStream Implementation For Windows 8 Metro
After writing the application for Windows Phone, I wanted to bring the same feature with Windows 8 Metro but unfortunately, metro didn’t support the same converter for the reason that BitmapImage can no more read from Stream but only from IRandomAccessStream. I was very much disappointed with the Metro 8 API for having different design [...]
Mar 13 2012
TechEd India 2012 – Integrating Windows Azure, Windows Phone, Windows 8 Metro and Kinect
I am very happy and excited to announce that this TechEd I will be presenting along with my friend Abhijit Jana. We will be presenting a session which will showcase the integration of Windows Azure, Windows Phone, Windows 8 Metro and Kinect. For the presentation we have developed a proto solution for Home Security. Well [...]
Feb 15 2012
Byte Array To BitmapImage Converter For Windows Phone Silverlight
While you are binding a byte array of an image file to a Image control in WPF, it displays the image without any problem since, it has the converter for the same defined withing itself. While in Windows Phone, you don’t get the same liberty as with the WPF. Below is the code which I [...]
Nov 22 2011
Why Ternary Operator Doesnt Support Nullable Types
Nullable types and ternary operators are around for many years now and may be not everybody know that ternary operator doesn’t support assigning null values to nullable types. There is also a bug logged in the “connect” site and it is closed by design. To understand the real reason for the design, I got in [...]
Sep 29 2011
Virtual Tech Days Presentation Building Windows Phone 7 Applications Using Windows Azure
It was a good experience presenting the Windows Phone applications using windows azure. Thanks everybody for joining. I will be writing a series of articles on this sooner. Presentation (2.10 mb) Demo Source (8.67 mb)
Sep 20 2011
There was an error attaching the debugger to the IIS worker process for url xxx for role instance in Windows Azure
There was an error attaching the debugger to the IIS worker process for url xxx for role instance deployment(xxx).ProjectName.Web_IN_0. Unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server. This error can haunt you [...]
Aug 25 2011
Dynamic Lambda Expression For Sorting A List / Collection Using Complex Types Without Implementing IComparable
You can download the sample project for the article here. ComplexLinqSort.zip (259.64 kb) In my previous post we discussed on sorting the list / collection using dynamic lambda expression for properties. In this article we will see how to sort on complex properties. So what is a complex property. Consider the class diagram as shown [...]
Jun 15 2011
Tip: Update Collection / List Property Using Linq
If you hate doing a for loop or for each loop just to update a property in your list / collection object, below is how you can do it using Linq in a single statement. list.ForEach(item => list.Description = “Hello”);
Next Page »

