Solved

Silverlight embed

Posted on 2010-08-26
1
406 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

21 Experts available now in Live!

Get 1:1 Help Now