Skip to main content

Microsoft Silverlight

Answered Question I got this from my sites webhost company.RSS Feed

(0)

quddusaliquddus
quddusal...

Member

Member

0 points

4 Posts

I got this from my sites webhost company.

What does this mean?

As Silverlight is a browser side technology, you would have no problem serving Silverlight content from our servers as long as you add the proper MIME type settings to the site via .htaccess rules such as:


AddType application/xaml+xml .xaml
AddType application/x-silverlight-app .xap
AddType application/x-ms-xbap .xbap

Thanks

ColinBlair
ColinBlair

Contributor

Contributor

6579 points

1,291 Posts

Answered Question

Re: I got this from my sites webhost company.

That means that your host is using Apache so you need to add the Silverlight MIME types through the .htaccess rules. You would need to host the Silverlight application from within a regular HTML page as ASPX would not be supported.

-Colin Blair

http://www.RiaServicesBlog.net : The Elephant Guide to RIA Services
SLColinBlair on Twitter

quddusaliquddus
quddusal...

Member

Member

0 points

4 Posts

Re: Re: I got this from my sites webhost company.

 Hi. Thanks for ther reply. Is the MIME just a .htaccess file with its comtents being:

AddType application /xaml+xml .xaml

...

?

necro_mancer
necro_ma...

Member

Member

28 points

9 Posts

Re: Re: I got this from my sites webhost company.

hi there,

you need to make sure that you add the following MIME types on your site:

- application/x-ms-xbap .xbap
- application/xaml+xml .xaml
- application/x-silverlight-app .xap

If you are hosting your site with a host on a shared server, you need to check it with your current host, whether they have a control panel that allows you to manually insert these MIMEs. If you have a dedicated server, you need to go to your IIS Manager, click on your site, Properties and under the "HTTP Headers" tab, then click on the "Mime Types". Next, you just have to insert all the 3 MIMEs mentioned above. (assuming that you are using IIS6)

I believe that this is not a difficult thing to do. My current host, ASPHostCentral.com, as a control panel which allows me to automatically insert these MIMEs without even needing to RDP to the server. I am just paying an average $4.99/month to them and with such this capability, I am grateful and I certainly can recommend their services to you all.

Hope this helps....

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities