Geeks With Blogs
Frank Wang's inspirations on .NET
IEnumerable<Inspiration> inspirations = from i in DataContext.Inspirations where i.Sharable == true select i

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".

IIS 7 MIME

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.

IIS 6 MIME

Posted on Thursday, April 10, 2008 11:43 PM IIS , Silverlight | Back to top


Comments on this post: Configure IIS to host Silverlight applications

# re: Configure IIS to host Silverlight applications
Requesting Gravatar...
Good Article, Thanks
Left by Raj Gohil on Apr 30, 2009 10:21 AM

# re: Configure IIS to host Silverlight applications
Requesting Gravatar...
It worked.
Thank you for that.
Left by irfan on May 05, 2009 1:58 AM

Your comment:
 (will show your gravatar)


Copyright © Frank Wang | Powered by: GeeksWithBlogs.net