Skip to main content
Home Forums General Silverlight Hosting and Streaming Deploy Silverlight Application on the web
7 replies. Latest Post by udayshiva on September 28, 2007.
(0)
Gianni_ITA
Member
2 points
8 Posts
09-13-2007 12:52 PM |
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.cam...
Participant
1918 points
332 Posts
09-13-2007 1:32 PM |
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
yqwj_2008
6 points
5 Posts
09-17-2007 3:32 AM |
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
6172 points
1,233 Posts
09-17-2007 5:37 AM |
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
application/xaml+xml
09-17-2007 8:36 AM |
Sorry yqwj_2008,
For some reason I overlooked this followup question. However, it looks like y_makram answered the question.
GearWorld
840 points
1,102 Posts
09-20-2007 7:28 PM |
Hi,
Would you mind to explain how you did deploy your entire Silverlight project ?
Thank you
09-20-2007 8:40 PM |
I hope this link helps you: http://www.hostmysite.com/support/dedicated/IIS/newmime/
udayshiva
2 Posts
09-28-2007 3:42 AM |
AWESOME stuff y_makram....answered my question on the spot.
Thanks again
Uday