Having trouble hosting Silverlight? Just change .xap to .zip!

I was having trouble hosting a Silverlight 2 .xap on my ISP; apparently they don’t (yet) support .xap as a Mime type.

However, I was able to get around that simply by changing .xap to .zip on the .xap file name on the filesystem, as well as in the object tag of the page reference.

Voila, it worked without a hitch. You may want to give this a try if you are having trouble hosting Silverlight on your shared ISP.

Leave a Reply