Skip to main content

Microsoft Silverlight

Answered Question Hosting Silverlight on server for the first timeRSS Feed

(0)

rtdaniel
rtdaniel

Member

Member

1 points

1 Posts

Hosting Silverlight on server for the first time

Hi

I had a quick question. Im new to Silverlight and havent messed around with it much. I have a Silverlight app with the .xap file and all generated. I want to host the silverlight app on my windows server. Ive never had a silverlight app on the web server before.

What do i have to download (if any needed) on the server to host the app? According to what I know, since silverlight is a client side app, as long as the MIME is registered in the server, it should cause any issues when clients try to access it. Can anyone guide me on what I need to do.

 

Thanks

Sergey.Lutay
Sergey.L...

Contributor

Contributor

7198 points

1,340 Posts

Answered Question

Re: Hosting Silverlight on server for the first time

Hi,

You need only register MIME type for Sivlerlight app as web server. Description of configuration look here.

(If this has answered your question, please click on "mark as answer" on this post. Thank you!)

Blog

Twitter

Sincerely,
Sergey Lutay

necro_mancer
necro_ma...

Member

Member

28 points

9 Posts

Re: Hosting Silverlight on server for the first time

hi rtdaniel,

this is my response on other thread:

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