Deploying with Silverlight 2.0

Last post 05-08-2008 1:35 AM by Luc Baeten. 2 replies.

Sort Posts:

  • Deploying with Silverlight 2.0

    05-06-2008, 5:19 PM

    Hi,

    We've developed an app that uses Silverlight (mostly plays videos).  We're using VS 2008.  The app runs fine when launched from VS 2008. When we publish to a website using VS 2008, and launch the page, the page does not display any SL controls.  Right-clicking on the page simply display the right-click menu with 'Silverlight Configuration'.

    What are we missing?  Do you need to install any server compnents for Silverlight?  We have installed the plug-in for the browser.  We'd like to go live with this end of May.

     Thanks.

    Shefali

  • Re: Deploying with Silverlight 2.0

    05-06-2008, 5:30 PM
    • Loading...
    • ClayCo
    • Joined on 06-14-2002, 10:11 AM
    • United States
    • Posts 244
    • AspNetTeam

    Hi Shefali,

    If the link to the .xap file is broken, you'd get behavior just what what you're describing.  You might want to check the Source properties on the <asp:Silverlight /> controls in your web application to make sure they're all using relative URLs, and double-check that the .xap files are getting deployed to the same location relative to the web root that were at in your development environment.

    HTH,
    Clay

  • Re: Deploying with Silverlight 2.0

    05-08-2008, 1:35 AM
    • Loading...
    • Luc Baeten
    • Joined on 05-08-2008, 1:17 AM
    • Posts 1

    Hi

    Did you create the correct mimetypes on the webserver? The following mimetypes should be available:

    • .xap application/x-silverlight-app
    • .xaml application/xaml+xml
    • .xbap application/x-ms-xbap
       

    When you check google for "xap mimetype iis" you find a lot of description for IIS.

    Regards
    Luc

Page 1 of 1 (3 items)