HarborObjects

Silverlight Tips & Tricks

by RezaMadani 10. August 2010 04:41

Here is the slide deck and code samples for my presentation at the LA .NET user Group.
1- To Load the demos, you need the following:
  - Visual Studio 2010
  - Silverlight 4 tool kit (from msdn)
  - AdventureWorks 2008 database, preferably 2008 R2 (from Codeplex) - the data warehouse is not necessary for these demos
2- Once you open the project in VS2010, Create the Stored Procedure called getProductsByCatSubcat in your AdventureWorks database (attached)
3- Change the AdventureWorks2008R2ConnectionString password, db name etc. in web.config
4- To bring up each sample, change the startup page in Application_Startup method of app.xaml.cs file.
5- I have hardcoded the web server port number as 54931 in WCFBasicConsumer.xaml.cs.  Make sure to change it to whatever yours is.  Technically this should be passed in from a config file in a real production environment.

Have fun and as always let me know if you have any questions.

 getProductsByCatSubcat.sql (1.20 kb)

Silverlight Tips & Tricks- LA UG.pdf (124.60 kb)

SilverlightTipsTricks.zip (121.49 kb)

Tags:

Silverlight

Comments are closed