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.

Creating a new Silverlight project

  1. Create a windows azure web cloud project
    image
  2. Right click the solution in solution explorer and add a new project.
    image
  3. Add a new silverlight project
    image
  4. Then simply tell it to also add a refrence to our ASP.Net web role project.
    image 

Adding an existing Silverlight project

If you already have an existing Silverlight project that you have been working on and just want to get it hosted on Azure

  1. Add the project to the Azure solution
  2. Right click the web role ASP.Net project and bring up the properties
  3. Go to the silverlight application tab and click add
    image
  4. Select the Silverlight project
    image
  5. Done! It will even add a test page into the ASP.Net project for you.

6 Responses to “Silverlight hosted on Windows Azure”

  1. Azure: Hosting Service « Tales from a Trading Desk Says:

    [...] Silverlight hosted on Windows Azure Possibly related posts: (automatically generated)Further Azure Thoughts [...]

  2. Rob Says:

    Hi,
    I put some controls on the page.
    I get always a blank page in my IE. The same result in Dev Fabric and in the cloud.
    Did I forget something?

  3. Wouter Says:

    Same here, the page remains white. This is the error:

    Error: Unhandled Error in Silverlight 2 Application
    Code: 2104
    Category: InitializeError
    Message: Could not download the Silverlight application. Check web server settings

    Does any one have clue what’s causing this?

  4. Matt Says:

    Same, debug results in blank IE page at loopback address. The project had no build errors. No errors shown in trace/logs

  5. Soumow Says:

    Thank you Sir :)

  6. phani Says:

    Thanx for the info. I will post my experience here soon


Leave a Reply