copy code,drag or close
If you have been occasionally trying to keep up with
Silverlight but not had much time then this is the
article to get you going in minutes..
Most real world developers just want to add a
few Silverlight bits and bobs to existing ASP.NET
Web apps to begin with, then maybe do a bit of
data binding to explore the possibilities.
There are a lot of examples out there; too many are from Silverlight 1.x.
That’s fine and they help you see a bit more of the engine before the bonnet or hood was closed, but lets build something now and leave the academic detail for another site.
Firstly, lets suppose you want add a couple of fancy graphic objects to different parts of a page, by that I mean something you’ve created in Blend 2.0, maybe you’ll animate them later, but for now lets just get them deployed.
One important concept / practicality is that every little thing you add will be a separate Silverlight App, they means don’t do it all in one Silverlight App ; for every little widget you want to add to a page you are much better off creating separate projects.
You are then going to add those Silverlight Apps (projects) to your existing ASP.NET project (Web Site) and then explicitly reference each of the Silverlight projects in your ASP.NET Web form ( or .ascx control or masterpage “.master” )