Solved

Silverlight embed

Posted on 2010-08-26
1
416 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
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…
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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

729 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