It was really hard for me to find the settings needed to configure a server to "serve" Silverlight applications. So I've posted them here. Hopefully it will help someone.
These are really for WPF, but they worked fine for me with deploying Silverlight applications. The key ones are highlighted in a bold green.
Register MIME Types and File Extensions
You must register several MIME types and file extensions so that the browser on the client's system can load the correct handler. You need to add the following types:
|
Extension |
MIME Type |
|
.manifest |
application/manifest |
|
.xaml |
application/xaml+xml |
|
.dll |
application/x-msdownload |
|
.application |
application/x-ms-application |
|
.xbap |
application/x-ms-xbap |
|
.deploy |
application/octet-stream |
|
.xps |
application/vnd.ms-xpsdocument |
|
Note: |
|
You do not need to register MIME types or file extensions on client systems. |