Intro to silverlight_20110602

645 views

Published on

Ethos Internal brownbag lunch presented by Jason. Ping me if you want the code sample/demo.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
645
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Intro to silverlight_20110602

  1. 1. Introduction to<br />Silverlight<br />Li Jingnan<br />
  2. 2. What is it <br /><ul><li>Rich Internet Application (RIA) platform </li></ul> launched by Microsoft in 2007.<br /><ul><li>cross-browser </li></ul> Internet Explorer, Firefox, Chrome, Safari, Opera etc...<br /><ul><li>cross-platform</li></ul>Windows, Mac, Linux (with moonlight) etc…<br /><ul><li>cross-device</li></ul>PC, mobile devices, HDTV video devices etc...<br />
  3. 3. So what<br /><ul><li>Based on .NET framework</li></ul> If you are already .NET developer, it is easy to start with Silverlight.<br /><ul><li>Business ready</li></ul> Data Binding, MVVM, WCF RIA Services, MEF etc...<br /><ul><li>Family support</li></ul> - Supports and supported by: <br /> Windows Family, Azure, IIS, MS SQL Server, WCF, WPF, LINQ, <br /> Entity Framework, SharePoint, Office etc…<br /> - Large community, plentiful resources and best practices.<br />
  4. 4. So what <br /><ul><li>Out-Of-Browser ( OOB )</li></ul> - Two birds with one stone. <br /> the same code can be installed into local machine, leveraging even more,<br /> such as Office, Graphics Card, COM etc… <br /><ul><li>Windows Phone 7</li></ul> Three birds with one stone.<br /> The same technology can be used for mobile devices.<br /><ul><li>3D & Media</li></ul> 3D, HD, low latency audio processing<br />
  5. 5. How does it work <br />Server<br />Client Browser<br />IIS<br />Silverlight Plug-In<br />ASP.NET Web Site<br />HTML / ASPX Page<br />Silverlight App<br />.XAP File<br />WCF Service<br />
  6. 6. How to do it (1)<br /><ul><li>C# / VB.Net & XAML</li></ul> - C# is perfect, VB.Net has limitations.<br /> - XAML : declarative markup language to define UI elements.<br /><ul><li>Visual Studio & Expression Blend</li></ul> - Visual Studio 2010 is necessary.<br /> - Expression : a good tool to do it. <br /> - Install Silverlight Tools for VS2010 (Includes SDK, Project Templates).<br /><ul><li>UserControlAssets</li></ul>Go to http://silverlight.codeplex.com<br />
  7. 7. How to do it (2)<br /><ul><li>MVVM pattern</li></ul>MVVM pattern is something similar to MVC or MVP pattern, <br /> but more suitable to Silverlight/WPF.<br /><ul><li>Entity Framework / WCF RIA Services</li></ul> - Entity Framework : a good tool to deal with DB.<br /> - WCF RIA Services : Simplifies common tasks on building n-tier application,<br /> such as routine CRUD jobs, auth & auth, security, data validation, <br /> multi-tier biz logic.<br /><ul><li>MEF</li></ul> Ideal tool for extensible applications.<br />
  8. 8. How to do it (3) <br /><ul><li>Chinook Demo Scenario</li></ul>Albums<br />Artists<br />Tracks<br />
  9. 9. How to do it (4) <br /><ul><li>MVVM Pattern</li></ul>Data Binding<br />ViewModel<br />View<br />Get Artists<br />Artists<br />Selected Artist<br />Artist List<br />Get Albums<br />Albums<br />AlbumList<br />Selected Album<br />Get Tracks<br />Tracks<br /> Track List<br />
  10. 10. Where to go<br /><ul><li>www.Silverlight.net</li></ul> Better to watch all videos about Silverlight 3 & 4 & 5 if you mean it.<br /><ul><li>Channel9 ( esp. Silverlight TV & MIX )</li></ul> Keep yourself up-to-date .<br /><ul><li>www.SilverlightCream.com</li></ul> Check it out everydaywith your morning coffee.<br /><ul><li>CodePlex</li></ul> Open source projects: SilverlightToolkit, MEF, Odata, Caliburn etc…<br /><ul><li>App Hub</li></ul>For phone development.<br />
  11. 11. What else<br /><ul><li>Azure</li></ul>Silverlight is going cloud, so should you.<br /><ul><li>XNA</li></ul>For game.<br />
  12. 12. ! & ?<br />Thank You ! <br />Any Questions ?<br />

×