BrownBot Logo BrownBot Head

Dipping a toe into the WCF pond

2:58 pm Filed under: C#

Spent the day in WCF yesterday, plenty of reading and then hacked up a couple of different samples I found around the web into a basic but functional client server test.

What I set out to achieve was write a simple service that clients could connect to and receive a callback from, previously I’ve done this by having the client poll a server on a timer which is really inefficient. The screen shot below shows the server console on the left spewing out updates every 100 milliseconds and the 5 clients on the right instantly receiving the message.

image

Not all that impressive but it does seem pretty robust with the clients able to connect and disconnect at will, it’ll do the job I want it for anyhow.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress