Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Deploy Silverlight Application on the web RSS

7 replies

Last post Sep 28, 2007 07:42 AM by udayshiva

(0)
  • Gianni_ITA

    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

    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

    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
  • yqwj_2008

    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

    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

    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.
  • chad.campbell

    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.

    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
  • GearWorld

    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

    chad.campbell

    Participant

    1918 Points

    332 Posts

    Re: Deploy Silverlight Application on the web

    Sep 21, 2007 12:40 AM | LINK

    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
  • udayshiva

    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