Tuesday, 18 December 2007

Deploying Silverlight Application - Why Blank?!

Yesterday we have deployed a Silverlight 1.0 application onto a Window Server 2003 machine. The deployment seems very easy (well you only need to create an application in IIS), however when we try to load the application, the screen was blank.

We need to add new MIME type for the application to recognize XAML:

Properties > HTTP Headers Tab


Clicks "MIME Types...", and click "New"
Add extension ".xaml" with type "application/xaml+xml"

3 comments:

  1. You might need these three MIME extensions:

    .xap application/x-silverlight-app
    .xaml application/xaml+xml
    .xbap application/x-ms-xbap

    Jelgab

    ReplyDelete
  2. excellent, just what I was looking for!

    ReplyDelete
  3. It seems that it did not work!

    ReplyDelete