Silverlight hosted on Windows Azure

There have been a lot of hits to my blog for the search term “Silverlight Azure development”. So for anybody who is stuck at this first step of getting Silverlight hosted on Windows Azure.

I’ve included steps for creating a new Silverlight project, or adding an existing one.

Continue reading

Advertisements

WCF services hosted on Windows Azure

I’ve gotten quite a few questions asking how to get WCF services working correctly under Windows Azure. There are 2 main issues here

  1. Windows Azure has a bug hosting Azure services in the current CTP
  2. The PDC Labs are incorrect (it only works when running inside of the Microsoft Lab PCs)

I was discussing this with Steve Marx while I was in Seattle who pointed me in the right direction.

The developer fabric in the current CTP isn’t hosting SCF services correctly. If you try and retrieve the WCF metadata, it will be returned incorrectly. So here are the steps to correctly host WCF and generate the client proxies. Note: This is my opinion based on what Steve mentioned to me, this isn’t his way.

At a high level, we need to create the WCF service, set it to basicHttpBinding, host it in the ASP.Net dev server. Get our client app to generate the proxy from the metadata. Host the WCF service in Azure, then update the client app to point to the Azure endpoint.

Continue reading