The Silverlight and Azure Tools for Visual Studio 2008 SP1 both provide convenient means to get going with these respective technologies.
Windows Azure is a good place to host services that your Silverlight application may call, as well as the web application that contains the Silverlight application itself.
However, if you’ve tried to get this to work, then you may have encountered as issue.
Let’s say you’ve added a Web Role to your Azure application to host the Silverlight application, and you want to add a Silverlight-enabled WCF Service to the website. You may have tried using the Add New Item dialog to select the “Silverlight-enabled WCF Service” like this…
Unfortunately (for reasons I may go into in the future), the Azure platform isn’t going to correctly publish this WCF service in the web role, and your Silverlight app may be able to talk to the service just fine in your development environment, but not when you deploy to Azure proper.
The easiest workaround for this is to create a WCF Role, instead of a Web Role and then add your website files and Silverlight application to that. The WCF Role exposes a service that is compatible with Silverlight on Azure.
If you check out my Guest Wall application (including source code), you’ll see this in action as well as the code🙂.
Looking to learn more about the Windows Azure Platform, Silverlight, Windows Touch or Windows Identify Foundation?
If you’d like to see these sessions in person at Microsoft’s Mix 2010 conference or the recordings that will likely be made available for free later on, please vote for the sessions before January 15th 2010, by going to the site, adding the 3 sessions to you ballot and submitting it.