Silverlight 2.0 – Advantages, Limitations & Tools

  • Advantages of Silverlight:
  • Rich UI applications using WPF (similar to Desktop applications)
  • Cross-browser, cross-platform plug-in
  • Rich Media experience. Possible to collaborate Media objects such as Video Streaming, Animations, etc.
  • Search-engine friendly
  • Application is firewall-compatible
  • Socket/TCP programming for multi-player networking support
  • Overlaying of Silverlight controls is possible as each Silverlight components is rendered in HTML DIV tags.

Limitations:

  1. No support for auto-content scrolling of a container.
  2. Silverlight 1.0 : Doesn’t include any input controls of its own. If you need user input in your Silverlight controls, you either need to create the control manually via XAML layout and event handling (for key and mouse events, etc.) or you can use HTML controls for capturing input and passing the content to the Silverlight control. Silverlight 2.0 allows this.
  3. Silverlight 2.0 :
    1. The relative positing is not currently supported in Silverlight (Fix: we need to specify the Canvas.Top for each and every controls.)
    2. Debugging with Firefox browser is not so good: VS 2008 can’t attach the firefox automatically when we run the application. so, we have to manually attach the firefox browser from Visual Studio.
    3. Exception handling is not very good so far: Exceptions in XAML file do not show on the browsers and it will just show the emply canvas which is not good.
    4. No build-in silverlight controls available in Silverlight Alpha.
    5. The support of WPF is currently very limited.

Tools:

  • Visual Studio 2008 : Writing C# code
  • Expression Design : To Convert a design into its XAML file.
  • Expression Blend : For designing purpose.
  • Silverlight 2.0 SDK : Help
  • Silverlight Tools for VS : VS2008 extensions.

Best Practices:

Look out for the best practices on:

  1. http://www.ganshani.com/2009/07/09/silverlight-2-best-practices-i/
  2. http://www.ganshani.com/2009/07/10/silverlight-2-best-practices-ii/
  3. http://www.ganshani.com/2009/07/10/silverlight-2-best-practices-iii/
  4. http://www.ganshani.com/2009/07/13/silverlight-2-best-practices-iv/

Related Posts:

One thought on “Silverlight 2.0 – Advantages, Limitations & Tools

Comments are closed.