Solved

Silverlight embed

Posted on 2010-08-26
1
404 Views
Last Modified: 2013-11-12
I have a Silverlight project in my solution. How do I add it to an aspx page in my Website?
0
Comment
Question by:johnkainn
1 Comment
 
LVL 3

Accepted Solution

by:
with earned 250 total points
ID: 33538780
You embed the .xap file using an object tag. Here's an article about it, it shows all the extra param tags you can use as well
http://developer.yahoo.com/dotnet/silverlight/embeddingobject.html

If this is all in 1 Solution, you can set up automatic .xap building by going into the Silverlight Applications tab of the Web Project's properties page (see pics).

You can learn a good example of exactly how to embed the .xap into your own page by examining what the generated test page does, and just throw it away after you understand.  If you need the Silverlight.js file, you can get the latest one here:

http://code.msdn.microsoft.com/silverlightjs
Capture.JPG
Capture2.JPG
Capture3.JPG
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now