A simple, yet interesting scenario: hosting a WCF service on Windows Azure
In the previous post, I created a simple database that lives in the cloud, using the Microsoft SQL Azure platform. Now, because I want to have a Silverlight client using it, I will develop a couple of services that will be hosted in Windows Azure, to provide both read and write access to my data.
I will create both a traditional WCF service and a REST service using ADO.NET Data Services. Both are solid approaches to solving our problem with different characteristics. WCF services are what is typically refered to as Fixed Contract services, in the sense they provide a structured set of “black boxes” that receive a specific input and return an expected result. REST services are open-ended ways of interacting with data, awarding more flexibility in a less formatted way.
So, after installing the Windows Azure SDK, I open up Visual Studio and create a new type of project that is made available to me:
