Thursday, March 23, 2023
Code Search
Code Bank
.NET Applications
XSD Schema Generator
.NET/XML Training


Viewing Albums with Silverlight and ASP.NET AJAX

This code sample and video demonstrates how to create an album viewer application that leverages the following technologies:

  • Silverlight and XAML
  • JavaScript
  • Web Services

A screen-shot of the application is shown below.  It allows a user to type in a recording artist and then returns albums associated with the artist from and displays them in a nice 3D-style view.  Originally I was going to lay the albums out on the screen in a 2D grid format but after seeing the excellent videos on Flash programming from Lee Brimelow I decided to go with the carousel approach he put together for Flash.

The album information returned from the Web Service is converted into XAML and queried using ASP.NET AJAX.  JavaScript then converts the XAML into Silverlight objects and adds them into the canvas.  It was quite a bit of work to get it to its current stage, but I learned a lot along the way fortunately. 

A video of the application in action as well as a "nutshell" version of how it works can be viewed at the link below.  The code can be downloaded here.  To run the application you'll need .NET 2.0, ASP.NET AJAX (final release) and the Silverlight viewer.

Teaches ASP.NET AJAX, Silverlight
Requirements .NET 2.0
View Video Click Here
Example: Click Here
Download Code: Click Here


.NET, SharePoint and Silverlight Training Solutions
    Online, Onsite and Video Training on .NET and SharePoint technologies available through The Wahlin Group.

© 2007 Wahlin Consulting LLC
XML for ASP.NET Developers in bookstores