Getting WCF Meta-data from Windows Azure

Technical Level: Beginner

Problem: With using any of the windows azure tools and SDKs before the May 2009 CTP, developers may have experienced problems downloading the meta-data and generating proxies for their WCF services hosted on the local server. I have not tested generating a WCF client from the live server so this solution targets the development platform. Now, I have completely no idea why this does not work so I will not try to explain anything.

Required Tools: These are the tools used in this project:

  • Visual Studio 2008.
  • Windows Azure May 2009 CTP.

Solution: A simple solution, remove your web application / web role project that hosts the WCF services from the windows azure project. Set the web application as the startup project in the solution explorer, run the web application by itself and download your meta-data.

Precautions:

  • Make sure your local IIS is set to serve up .svc files.
  • Make sure your WCF endpoints and client are compatible. eg. Silverlight will not work well with normal http binding.

Conclusion: Apparently, the development fabric does not work well for serving up wsdl and disco information.