Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to use silverlight .xap file in asp.net
Posted

You can use either Javascript or Html to do this - see Integrating Silverlight with a Web Page[^].
 
Share this answer
 
v2
When you create a Silverlight application through Visual Studio 2008 or more, it automatically creates a hosting ASP.NET website project within your solution of your silverlight application, the website contains some javascript files, and 2 test pages (YourApplicationNameTestPage.html and YourApplicationNameTestPage.aspx), which are hosting your Silverlight.XAP file, you can copy and paste the hosting part from those files, You will also require to copy the javascript files in to your project.


mark as answer if the solution solves your problem, it will help other to find it easily.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900