Page view counter
Deploy Silverlight Application on the web
Last post 09-28-2007 3:42 AM by udayshiva. 7 replies.
Sort Posts:
09-13-2007 12:52 PM
Deploy Silverlight Application on the web

Hi, I made a simple Silverlight Application with VIsual Studio. It works fine but when I try to publish it on a web server I see just a blank page.

Can you explain to me what i have to do to publish this silverlight application?

 

thanks a lot

Gianni 

Gianni_ITA

Loading...
Joined on 09-12-2007
Posts 8
09-13-2007 1:32 PM
Marked as Answer
Re: Deploy Silverlight Application on the web

Hi Gianni,

Does your web server have accept the .xaml mime type?  If not, you will either need to add it , or if you cannot add the .xaml mime type, you can rename your .xaml content to .xml and update your references and it should work.

If this answers your question, please select "mark as answer", otherwise, please post a follow up question.

Thank you,

Chad Campbell

If this answers your question, please select "mark as answer", otherwise, please post a follow up question. Thanks!
Chad Campbell

Author of Silverlight 2.0 in Action Blog: http://cornucopia30.blogspot.com

chad.campbell

Loading...
Joined on 02-06-2007
Louisville, KY
Posts 316
09-17-2007 3:32 AM
Re: Deploy Silverlight Application on the web

Hey chad

how to add xaml MIME type? Config it in IIS? like IIS->WebSites->"My virtualDiretory"->Property->VirtualDirectory->Configutration->Mapping ?

But which assembly should i map ".xaml" to?

yqwj_2008

Loading...
Joined on 09-17-2007
Posts 5
09-17-2007 5:37 AM
Marked as Answer
Re: Deploy Silverlight Application on the web

You can define the MIME mapping for a complete web site or a virtual directory, open the properties window, HTTP Headers tab. File Types button at the bottom. Select "New Type". Extension should be .xaml and the Content Type should be application/xaml+xml

Thanks
Yasser Makram
My Blog: http://www.silverlightrecipes.com
Sr. Architect
Santeon Inc. Microsoft Silverlight Partner, Solution Provider

y_makram

Loading...
Joined on 06-07-2007
Cairo, Egypt
Posts 1,141
09-17-2007 8:36 AM
Re: Deploy Silverlight Application on the web

Sorry yqwj_2008,

For some reason I overlooked this followup question.  However, it looks like y_makram answered the question.

If this answers your question, please select "mark as answer", otherwise, please post a follow up question. Thanks!
Chad Campbell

Author of Silverlight 2.0 in Action Blog: http://cornucopia30.blogspot.com

chad.campbell

Loading...
Joined on 02-06-2007
Louisville, KY
Posts 316
09-20-2007 7:28 PM
Re: Deploy Silverlight Application on the web

Hi,

 

Would you mind to explain how you did deploy your entire Silverlight  project ?

Thank you

GearWorld

Loading...
Joined on 09-13-2007
Posts 444
09-20-2007 8:40 PM
Re: Deploy Silverlight Application on the web

I hope this link helps you: http://www.hostmysite.com/support/dedicated/IIS/newmime/

If this answers your question, please select "mark as answer", otherwise, please post a follow up question. Thanks!
Chad Campbell

Author of Silverlight 2.0 in Action Blog: http://cornucopia30.blogspot.com

chad.campbell

Loading...
Joined on 02-06-2007
Louisville, KY
Posts 316
09-28-2007 3:42 AM
Re: Re: Deploy Silverlight Application on the web

 AWESOME stuff y_makram....answered my question on the spot.

Thanks again

Uday 

udayshiva

Loading...
Joined on 09-27-2007
Posts 2
Microsoft Communities