Handling connection notification between a desktop machine and Windows CE based devices

Introduction: There are two ways that a desktop application can get notification when a Windows CE-based device gets connected with the desktop application. Registry based notification:           Registry based notification has two predefined events, AutoStartOnConnect and AutoStartOnDisconnect, each of which has its own Registry key. We can register the command lines associated with the Registry…

2

WCF Intermediate Service between client and server

Introduction: The purpose of this article is to create a WCF service which can work as load balancer or router.Hosting a WCF service requires creating the service contract, Data contract and configure end points, host the service, generate the Web Service Description Language(WSDL), enable metadata exchange point so that client can create the proxy. Both…

6

Serialization in Windows Communication Foundation

Introduction: In most scenarios, when we design a service, we create a service contract and data contracts for the types used in the service. We let the service description be generated by the service contract, and we won’t ever have to look at the underlying XML, but sometimes, things don’t go that well in situations…

1

Playing Subtitles with Videos in Silverlight

Introduction: This article is about playing subtitles in a video in Silverlight. It is really very easy to implement this functionality. Background: I had a requirement for playing titles with videos in Silverlight. I started implementing this feature by using a timer. We can set the timer interval to 500 ms and the timer will…

2

DownloadProgress, DownloadProgressOffset, and BufferProgress of the MediaElement

Introduction: This article is about the DownloadProgress, DownloadProgressOffset, and BufferProgress properties of MediaElement. Background: I was working with MediaElement as I had a requirement to play a video from an HTTP URL. I encountered a strange issue. In a normal scenario, MediaElement’s DownloadProgress property updates a UI progress bar. It works correctly while downloading and…


Silverlight ListBox Part II (Drag and drop in the same listbox and scroll)

Introduction In this article, I am going to discuss some of the issues that I faced with ListBox. I spent a lot of time Googling to find out a solution to the problems, but couldn’t find much. Here is the list of problems that I will talk about in this article: Drag and drop in…

3

Silverlight ListBox: Part I – Using multiple templates in a ListBox

Introduction The listbox is a very important control in any technology like ASP.NET or Sliverlight. Normally, we use it to show single line records where the user has the option to choose one of them. I am not going to discuss about how to use listbox in Silverlight as there are many articles available on…

1