WCF Data Types

April 20, 2008

Introduction

Since I posted this WCF article last week some people found my blog by typing in keywords such as “WCF Return As Dictionary” in various search engines.

Controlling the way Collection and Dictionary types used by a Wcf service are represented on the client is actually very easy. In this short article, two methods are demonstrated on how to achieve this.

Let’s get started…

Read the rest of this entry »

Introduction

This week at work a colleague and I had the chance to play around with the Windows Communication Foundation (WCF). We had to create a service which is capable of registering every client and each opened window in said clients. The client application is nothing more than a regular MDI application.

The goal was to provide our customers with an admin tool so that they can view which clients are currently connected and which windows are opened within them. The admin tool allows the users to communicate with the connected clients through the use of callbacks. Enabling them to do various cool stuff such as sending a message to all clients or just one in particular, closing a window or just forcing all clients applications to shut down…etc.

This was a challenging and fun task to complete. In this article I’ll present a trimmed down version of the service. I’ll take you through the steps we had to discover for ourselves in order to be able to create the service.

Let’s get started…

Read the rest of this entry »

Follow

Get every new post delivered to your Inbox.

Join 335 other followers