Using the Silverlight Server Control in ASP.NET Pages

Microsoft makes available server controls that help you insert rich media such as Silverlight into your ASP.NET pages. If you’re confused about where to find the latest version of these controls, you’re in good company! Pre-release versions have appeared with various Community Technical Previews (CTP), ASP.NET Futures, and ASP.NET Extensions.

The code is now (at this hour, anyway) part of the Silverlight 2 Software Development Kit, a free download.

You need to download the full Silverlight SDK even though you only need a small part of it for use in ASP.NET page. Follow these steps to locate the required file and install it on your computer:

  1. Browse to http://www.microsoft.com/downloads/.
  2. In the Search box, enter Silverlight 2 Software Development Kit and click Go.
  3. From the list of results, download the latest version of the SDK to a temporary directory on your hard drive.
  4. Using Windows Explorer, double-click the downloaded file (probably named silverlight_sdk.exe) and follow the installation steps to install the complete contents of the SDK.

For a quick introduction to using the Silverlight server control in ASP.NET and Visual Web Developer 2008 Express, you can view a PDF that I've created as an update to my book ASP.NET 3.5 For Dummies:

http://www.kencox.ca/samplecode/Embedding Silverlight in ASPNET.pdf

Ken

No Comments