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)
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 […]
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 […]
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”);
Whats New In Windows Phone Mango
As we all are aware that Windows Phone 7 is a huge success in the market, and Microsoft is really committed to keep the bar raising with every release. Windows Phone Mango will be the next major release in the smart phone market. Though there are multiple unanswered questions we have at this moment, there […]
Exception: Value For One Of The Query Parameters Specified In The Request URI Is Invalid at CloudBlockBlob.PutBlock Method
If you are encountering this exception on CloudBlockBlob.PutBlock method, then you might be one of the unfortunate developer who is trying to figure out what went wrong without much support from the exception object. Though there are many reasons for the same, one of the common mistake is the encoding we use. Let me detail […]
Localization / Multilingual Support Using Resource Files In .net
Download Demo Localization.zip (258.06 kb) Localization for a multilingual application is every developer’s nightmare. With .net it is not a tough programming as most of the algorithm is already available. Well in this article we will discuss on how we can achieve localization using resource files. In our sample attached, I have added a resource […]
Tip: Null Coalescing Operator To Define Default Value For Nullable Types – Double Question Mark
We all know that defining a nullable type in C# is very simple as below int? value; And when you want to check whether the value is null, then there are definitely multiple way you could do. // First option. if(value == null) { //Write the code here } // Second Option. if(!value.HasValue) { //Write […]
Tip: Customizing / Adding Image To Radio Button List Control
Today I will share a tip through which you can customize the way your RadioButtonList control will look. Below is a simple code which will enable to add me icons for the radio buttons in the list. protected void ErrorPriority_DataBound(object sender, EventArgs e) { try { foreach (ListItem item in this.ErrorPriority.Items) { Priority priority = […]
Sort Generic List Using Lambda Expression For Dynamic Type And Dynamic Property
I once stuck on a requirement where I needed to write a code which is flexible and generic enough to sort any type of collection and also the property based on which it has to be sorted will be dynamic. After trying many options I discovered myself how easy it is to hit this requirement […]