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!
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
Independent Consultant
http://www.silverlightrecipes.com _____
Dont forget to click "Mark as Answer" on the post that helped you.
Gianni_ITA
Member
2 Points
8 Posts
Deploy Silverlight Application on the web
Sep 13, 2007 04:52 PM | LINK
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
chad.campbell
Participant
1918 Points
332 Posts
Re: Deploy Silverlight Application on the web
Sep 13, 2007 05:32 PM | LINK
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
Author of Silverlight 2.0 in Action Blog: http://cornucopia30.blogspot.com
yqwj_2008
Member
6 Points
5 Posts
Re: Deploy Silverlight Application on the web
Sep 17, 2007 07:32 AM | LINK
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?
y_makram
Contributor
6952 Points
1353 Posts
Re: Deploy Silverlight Application on the web
Sep 17, 2007 09:37 AM | LINK
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
Yasser Makram
Independent Consultant
http://www.silverlightrecipes.com
_____
Dont forget to click "Mark as Answer" on the post that helped you.
chad.campbell
Participant
1918 Points
332 Posts
Re: Deploy Silverlight Application on the web
Sep 17, 2007 12:36 PM | LINK
Sorry yqwj_2008,
For some reason I overlooked this followup question. However, it looks like y_makram answered the question.
Author of Silverlight 2.0 in Action Blog: http://cornucopia30.blogspot.com
GearWorld
Participant
1788 Points
2080 Posts
Re: Deploy Silverlight Application on the web
Sep 20, 2007 11:28 PM | LINK
Hi,
Would you mind to explain how you did deploy your entire Silverlight project ?
Thank you
chad.campbell
Participant
1918 Points
332 Posts
Re: Deploy Silverlight Application on the web
Sep 21, 2007 12:40 AM | LINK
I hope this link helps you: http://www.hostmysite.com/support/dedicated/IIS/newmime/
Author of Silverlight 2.0 in Action Blog: http://cornucopia30.blogspot.com
udayshiva
Member
2 Points
2 Posts
Re: Re: Deploy Silverlight Application on the web
Sep 28, 2007 07:42 AM | LINK
AWESOME stuff y_makram....answered my question on the spot.
Thanks again
Uday