May 03

Serving silverlight pages

Posted in Silverlight      Comments Off on Serving silverlight pages

I”ve been hearing about several issues with configuring a server to serve Silverlight pages. Well, if you”re using IIS and ASP.NET, there are a couple of things you should check. You shoud garantee that IIS serves the xaml and dll files with the correct MIME type. For instance, in my IIS 7 installation, I have the following entries:

.xaml: application/xaml+xml

.dll: application/x-msdownload

If you”re hosting an ASP.NET site, there”s another thing that is worth checking: are you redirecting those files to the ASP.NET ISAPI dll? If you are, then make sure that those items aren”t mapped to a handler which doesn”t return them.