Adding Silverlight applications

Microsoft Silverlight is a cross-browser, cross-platform plug-in for delivering rich interactive applications for the web. You can use programs such as Microsoft Expression Blend or Microsoft Expression Encoder to create a Silverlight application for the web.

You can use Microsoft Expression Web to either edit the web page that was generated by your Silverlight authoring program or insert the Silverlight application into a web page. When you insert a Silverlight application into a web page, Expression Web creates an inline frame to contain the web page that was generated by your Silverlight-authoring program.

For more information, see Getting Started with Silverlight Cc294884.xtlink_newWindow(en-us,Expression.40).png and Silverlight QuickStarts Cc294884.xtlink_newWindow(en-us,Expression.40).png online.

To insert a Silverlight application into a page

  1. Open your website, and then open a web page from that website.

  2. On the Insert menu, point to Media, and click Silverlight.

  3. In the Insert Silverlight dialog box, click Select Folder.

  4. In the Select a Silverlight 2 or Silverlight 3 XAP file dialog box, select the XAP file that was generated by your Silverlight authoring program, and then click Open.

  5. If the folder that you selected in the previous step contains more than one web page, in the Insert Silverlight dialog box that appears, select the homepage of your Silverlight application, and click Select.

    Important

    The folder that Expression Web adds to your website contains the imported assets for your Silverlight application. You can move and rename the imported folder, but you should not move or rename the contents of the imported folder. Otherwise, the Silverlight application may not work.

See also

Concepts

Inline frames

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.