# Monday, July 23, 2007

This weekend I spent some time playing with Silverlight and Orcas.  Needless to say, I am very impressed with both.  Here's a sample Hangman application I created in about three hours.

I thought I'd go ahead and document the steps I took when I setup my development environment.  I'll try to come back here and update the content, so that it stays pertinent as updates are released.

Setting up a Silverlight development environment

  1. Make sure to read everything you can on Silverlight, as well as the Get Started Silverlight page (I've listed a number of good blogs at the bottom of this post).
  2. Install Microsoft Silverlight 1.0 Beta (for Windows).  This is the runtime that's required to experience Silverlight applications.
  3. Install Microsoft Silverlight 1.1 Alpha (for Windows).  This is the runtime that's required to experience Silverlight applications written with .NET.
  4. Reboot.
  5. Install Microsoft Visual Studio codename "Orcas" Beta 1.  Soon to be Visual Studio 2008, this is the next evolution of Visual Studio 2005.  It's pretty sweet.
  6. Reboot.
  7. Optional: Install Microsoft MSDN Library for Visual Studio codename "Orcas".  Watch out - during the installation of the MSDN Library, it took about five minutes for it to complete this step.  Be patient, and let it finish.
    MSDN Library install
  8. Reboot.
  9. Install Microsoft ASP.NET Futures (May 2007).  This provides you with ASP.NET controls for Silverlight.
  10. Install Expression Blend 2 May Preview.  This is a design tool that allows a user to interact with Silverlight.  Note: this is different from Expression Blend that can be found on MSDN.  Make sure to get this download.  Also, Tim Heuer pointed me to http://www.microsoft.com/Expression/products/download.aspx?key=blend2maypreview, which provides a product key and longer trial (180-day evaluation).  Note: when I went to install Expression Blend 2, I was only given two choices: Vista, or Windows XP.  My development VM is Windows Server 2003 Standard R2.  I chose Windows XP, and haven't had any problems.
    Expression Blend 2 choice
  11. Install Microsoft Silverlight Tools Alpha for Visual Studio codename "Orcas" Beta 1.  This is an add-on that allows you to create Silverlight applications using .NET.
  12. Download Microsoft Silverlight 1.0 Beta Software Development Kit (SDK).  This is a zip file that contains documentation, samples along with templates for Visual Studio, and has also a “Go Live” license that enables building commercial applications.  I unzipped it to C:\Program Files\Microsoft Silverlight\SDKs.
  13. Download Microsoft Silverlight 1.1 Alpha Software Development Kit (SDK).  This is another zip file that contains documentation and samples Silverlight Web experiences that target Silverlight 1.1 Alpha.

That should be enough to get your environment up and running.  Once that's complete, watch this Silverlight walk-through: http://silverlight.net/quickstarts/silverlight10/xaml.aspx.

Here are some good Silverlight blogs I've found (send me email, or leave me a comment, if you know of more): 

Also, here are a few interesting posts:

I hope someone finds this useful!  Leave a comment if you've developed something cool, so that I can check it out!

Thursday, July 26, 2007 12:12:42 PM (Central Standard Time, UTC-06:00)
Hi Wade,
I've been working for a week or two on Silverlight and I've worked up to a reasonable development methodology
but I'm still a tad confused about when and where you might use Silverlight 1.0 vs 1.1....

I'm writing .net code against 1.1 and want to interact with my SQL Database so I assume I have to use a web service? That is the only way to currently communicate isn't it?
Am I right in believing this is only acheivable with 1.1?

I ask as I've just read an article that suggested that 1.0 was due out 'this summer' [I can live with that], but that 1.1 wasn't likely for another year...Oh dear........

Any thoughts on this ?
Wednesday, August 01, 2007 2:17:43 AM (Central Standard Time, UTC-06:00)
Hi Wade

Nice article! You'll notice some changes in the recently released refresh (http://www.microsoft.com/silverlight/#2_0) which are fully documented in the SDK (http://go.microsoft.com/fwlink/?LinkID=89145&clcid=0x409 for 1.1). In particular Silverlight.js has changed (so you need to get the new one from the SDK) and the JavaScript namespace has changed form "Sys.Silverlight.*" to just "Silverlight.*".

CTOSian - if you want to run .NET code in the browser you need 1.1. That doesn't mean you can't call services with 1.0 - in fact you can use the ASP.NET AJAX extensions to make your life easier - you do need to do it in JavaScript though. ie the differentiator is the CLR and the ability to have .NET code run in 1.1. You can call services from 1.0 or 1.1.

Mike
http://blogs.msdn.com/mikeormond
Wednesday, August 22, 2007 11:44:47 AM (Central Standard Time, UTC-06:00)
I didn't have .Net 3.5 installed but when i went to install the futures package it said i needed it. So in case anyone else does it's here:
http://www.microsoft.com/downloads/details.aspx?familyid=d2f74873-c796-4e60-91c8-f0ef809b09ee&displaylang=en
jim jim the dog faced boy
Wednesday, August 22, 2007 12:20:40 PM (Central Standard Time, UTC-06:00)
Thanks Jim!
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview