All MIME types needed to support hosting Silverlight applications are implemented by default in Windows Server 2008 IIS 7.0 and Windows Vista SP1. However, a little manual effort is needed if you want to turn on Silverlight support on IIS 7.0 on Windows Vista RTM (without SP1) or IIS 6.0 on Windows 2003.
The following three MIME types are required to host Silverlight applications in IIS.
- .xap application/x-silverlight-app
- .xaml application/xaml+xml
- .xbap application/x-ms-xbap
If you are using IIS 7.0 on Windows Vista RTM, you can add these mime types by running "IIS Manager", clicking on "Mime Types", then clicking "add".
If you are using IIS 6.0, the steps are very similar. In the IIS Manager, right-click on the server name and select "Properties", click on the "MIME Types" button, and then in the "MIME Types" Dialog click the "New" button to add these MIME types one at a time.
