1 / 25

Silverlight 2

Fons Sonnemans (Trainer) Reflection IT fons.sonnemans@reflectionit.nl http://www.reflectionit.nl. Silverlight 2. Microsoft .NET. Desktop. Web. Desktop. Web. media & RIA.

stuartd
Download Presentation

Silverlight 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fons Sonnemans (Trainer) Reflection IT fons.sonnemans@reflectionit.nl http://www.reflectionit.nl Silverlight 2

  2. Microsoft .NET Desktop Web Desktop Web media & RIA

  3. Microsoft Silverlight is a cross-browser, cross-platform implementation of .NET for building and delivering the next generation of media experiences & rich interactive applications for the Web. Microsoft answer to Adobe Flash

  4. Timeline, Packaging and Platforms Timeline V 2 currently in Beta 2, will be released this year V 1 released September 2007 (Javascript only) Packaging Browser plug-in, little dependency on other s/w Usually installed on demand as content is accessed Intended to be a quick download V1 is ~1.2MB, V2 is ~4.6MB Platforms & Browsers (Microsoft support) Novell Support (Moonlight) IE 6.0+ FireFox 1.5+ Safari 2.0 FireFox Konqueror Opera Windows Vista, XP, 2003, 2000* Mac OS X 10.4.8+ Linux (various distros)

  5. Timeline, Packaging and Platforms Mobile Silverlight Windows Mobile 6 iPhone Nokia Symbian 60

  6. Silverlight Tooling Expression Blend VS 2008 Expression Design Vector Graphics Designer UI & Animation Design Designer & Developer Write XAML Write C# Code Developer

  7. Declaritive Development - XAML • eXtensible Application Markup Language • In Silverlight – XAML loaded at runtime and merged with supporting “code behind” class Code XAML

  8. XAML Based Silverlight Tooling Expression Blend VS 2008 Expression Design XAML VS Project Files

  9. Examples • Games • http://www.nokola.com/shock/ • http://www.silverlightpoker.net/ • Animation (Banners, Menu’s, Galleries) • http://www.microsoft.com/italy/studenti/default.mspx • http://www.laguna-coupe.com/ • http://memorabilia.hardrock.com/ • Rich Internet Apps • http://www.mscui.net/PatientJourneyDemonstrator/ • http://mtm.viatecla.pt/ • http://silverlight.net/samples/2b2/silverlightairlines/run/default.html • Media (Video & Audio) • http://www.microsoft.com/silverlight/overview/streaming.aspx • http://ek2008.nos.nl/live

  10. demo {Examples, “Hello World”}

  11. Silverlight V2 Controls

  12. UI Customization Silverlight = XAML = UI flexibility Customize the look of an application without changing it’s behavior Styling (Styles)Small Visual Changes on an Element (Font, Background Color, etc.) Skinning (Control Templates)Replacing Element’s entire Visual Tree

  13. demo {UI Customization}

  14. Enable clean view/model separation and binding Change UI presentation wtihout code-behind modifications Works with any object that implements IEnumerable Arrays, Lists, Collections, etc. Binding Expressions can be one way or two way and supports validation & converters INotifyPropertyChange change notifications supported DataBinding

  15. HTTP Asynchronous Downloads & Uploads (WebClient Class) WCF/SOAP Supports duplex communication (Server Push) XML WebServices/SOAP REST ADO.NET Data Services Support RSS JSON Sockets Cross Domain Networking Support Rich Networking Options

  16. Files • Isolated Storage (User Store) • Stream based access to a private file/directory structure • Patterned after .NET Framework IsolatedStorage classes • Read and write string or binary data • OpenFileDialog • Silverlight supports ability to prompt for local files • Silverlight does not allow direct file access without first going through the OpenFileDialog

  17. HTML Integration • Access HTML DOM from Silverlight • Call JavaScript functions from Silverlight • Call Silverlight from JavaScript • Handling .NET Events in Javascript Code • Handling HTML DOM Events in .NET Code • Evaluating Javascript from .NET Code

  18. demo {DataBinding, Network, Files, HTML Integration}

  19. Tip of the Iceberg • Visual State Manager • LINQ (Objects & XML) • Deep Zoom • Deep Zoom Composer Tool • Media (Movies & Audio) • Streaming • Microsoft Expression Encoder Tool • User & Custom Controls • Multi Threading (BackgroundWorker) • Unit Testing

  20. Summary • Silverlight provides an incredibly powerful RIA platform • Easy to deploy applications • Easy to create great looking applications • Easy to create fast and responsive applications • All enabled cross platform and cross browser • Silverlight enables a common programming model across browsers, mobile devices, and the desktop • Silverlight 2 and associated tools will ship later this year

  21. Resources { www.silverlight.net }

More Related