Let’s face it Silverlight 2 is not a simple one application installation for getting started with Silverlight, and the installation is not streamlined because, well, it’s in beta. So, before I go rambling on about how to do this or that in Silverlight 2 I thought I would start by explaining how to get started working with Silverlight. There are 4 things you need to download before jumping into Silverlight 2 and those are the following:
1. Silverlight 2 browser Plug-In (Click Here)
Obviously if you are going to be doing any work in Silverlight 2 you will need to get the plug in for the browser so you can see your work in action. If you have Silverlight 1 plug-in already installed first uninstall Silverlight 1 and then install Silverlight 2, and don’t worry Silverlight 2 will support the Silverlight 1 bits without any problems.
2. Visual Studio 2008 Silverlight 2 Toolkit. (Click Here)
If you need a Silverlight toolkit for VS 2008 then that obviously means you need Visual Studio 2008 to work with Silverlight. Doesn’t matter which version you have so Standard, Professional, Team Edition any of them will do. If you don’t have Visual Studio 2008 standard or above then I believe you are out of luck with beta 1. I mean you could do Silverlight 1 and even some 2 bits with a Javascript code behind but that’s not what I am condoning here.
3. Silverlight 2 SDK (Click Here)
This may seem odd to some people that Silverlight 2 requires the SDK to work with Silverlight, and you’re right to think that. The SDK is not “required”; however, the SDK plays a big role in some of the Silverlight 2 features. A lot of the new “Controls” available in Silverlight come from the SDK automagically. In other words, to keep the size of the runtime down to small chunks a large portion of the Silverlight controls are held in the SDK. In visual Studio and Blend these controls are still in the toolbox if you have the SDK installed but when you add these controls to your project there will be a reference made to the appropriate DLL.
4. Expression Blend 2.5 BETA Preview (Click Here)
This could be considered an optional download. It really depends on your style and preference and intent. Expression Blend allows you to interact with a designer layout for all XAML needs. XAML is the front end designer; while Visual Studio gives you a design view into the look of your Silverlight applications the XAML in Visual Studio requires you to write it by hand. For artists and “dev-igners” alike, Blend should be fairly straight forward with exception to the animation stuff. However, if you plan to do any sort of non-basic animations, then blend is a must.
Now with that said let’s cover one important aspect of blend before you go out and download it. Currently Blend and Silverlight 2 support is in beta which means the download is free. There are two different blend versions in beta. There is Blend 2 and Blend 2.5, you want Blend 2.5. If you are currently using blend for WPF then you will want them both. Because Blend 2.5 has a specific focus of Silverlight 2 and Blend 2 has a specific focus on the next generation WPF and Silverlight 1 support. Both previews and the currently Blend release can all 3 be installed at once without effecting each other.