This post is based on Silverlight 4, but all the steps do also apply to Silverlight 3. The full source code of the resulting project can be downloaded here. The language C# is used throughout this post, but the steps are easy translatable to VB.NET.
There are two ways to pass parameters to a Silverlight application: Using the querystring of the containing HTML/ASP.NET page Using the InitParams attribute of the object tag that hosts the XAP file
There are two ways to pass parameters to a Silverlight application: