Raja Afrika of the Afrika 8
Sunday, December 22, 2024
 
Back to Raja's Blog

Raja's Blog
Not All Who Wander Are Lost

Martin Welch on Windows Communication Foundation (WCF) 101 - Part 2
Posted: Monday, April 19, 2010

So from what I can tell Windows Communication Foundation, despite the big name is simple a collections of libraries for transmitting XML and JSON encoded data.


So the bottom line is that I can create an data enabled object on my server and then through the WCF communicate that information to any webpage what uses my EMBED script. Pretty cool.


I got the sample working WCF application working. The instructions for setting the sample up looked pretty daunting but (firewall settings not withstanding) ended up being fairly straight forward.


I downloaded the samples (here) and installed the samples. After I ran the WCF ONE TIME SETUP PROCEDURE (click here). Then I installed the Basic AJAX Service Sample, again being careful to follow all setup instructions. The whole thing took me maybe 15 minutes and the beautiful thing... the sample worked right out of the box.


The next step? Creating my own test object and service and then to figure out how to deliver more complex objects to my clients via JSON.


Code Forth,


Martin Welch