1 / 45

What's New in Silverlight 3

What's New in Silverlight 3. Gill Cleeren Microsoft Regional Director MVP ASP.NET .NET Architect @ Ordina Belgium. About gill. .net architect Ordina ( www.ordina.be ) Microsoft Regional Director ( www.theregion.com ) MVP ASP.net Writing: .net magazine Blogs MSDN Speaking:

adolph
Télécharger la présentation

What's New in Silverlight 3

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. What's New in Silverlight 3 Gill CleerenMicrosoft Regional DirectorMVP ASP.NET.NET Architect @ Ordina Belgium

  2. About gill... • .net architect Ordina (www.ordina.be) • Microsoft Regional Director (www.theregion.com) • MVP ASP.net • Writing: • .net magazine • Blogs • MSDN • Speaking: • TechDays • Usergroups(Visug, Biwug, Besug) • Ineta speaker • Blog: www.snowball.be • Email: gill.cleeren@ordina.be • Twitter: gillcleeren / MSN: gillcleeren@hotmail.com

  3. A guided tour of Silverlight

  4. Silverlight is a browser plug-in

  5. V3 with 2 released versions (in beta) Sometime 2009 V1 V2 September 2007 October 2008 V2 is backwards compatible & where you’d start today

  6. running x-browser, x-platform ?Linux support is from Novell’s Moonlight project

  7. typically installed on-demand Also available as an optional Windows Update

  8. with a small, self-contained install ~10 Second Download No Additional Dependencies

  9. runs rich browser applications Single Unified Framework Media “Applications” Graphics Silverlight Layout, Styling, Animation, Data Binding

  10. in a tight, fixed sandbox All code gets same limited permissions

  11. Apps that I’d like to show you...

  12. Apps that I’d like to show you...

  13. Apps that I’d like to show you...

  14. Apps that I’d like to show you...

  15. Apps that I’d like to show you... *View at your discretion. Perhaps not from work. Or home 

  16. Announcing: Silverlight 3 beta

  17. Silverlight 3 Tooling • Visual Studio 2008 tools for Beta and RTM • Include improved XAP compression • 10-30% decrease in XAP size • Interactive designer • In next Visual Studio release • Expression Blend 3 preview available! • Final release “later this year”

  18. media

  19. H.264/AAC/MP4 • Silverlight 3 supports H.264/AAC/MP4 • Industry standard format • Hardware decoders on most devices • YouTube, iPhone, Flash supported format • Base format for QuickTime and iTunes • Example: Silverlight plays .M4A • Silverlight 3 H.264 vs. VC1 • DRM • Windows Media Server

  20. GPU Acceleration • Opt-in feature on the Silverlight 3 plug-in • Enables final surface draw with the GPU • Opt-in feature per element • Use GPU to blend/composite multiple elements • Use GPU to stretch elements • Example: Full screen media • Works in-browser and in full-screen mode • Scenarios • Performance – no other visual impact

  21. demo AAC video playback

  22. RIA

  23. Perspective 3D • Perspective 3D • Put 2D objects in 3D space • X,Y,Z rotation and X,Y,Z rotation point • Support Local/Global X,Y and Z offsets • Demo in 2 slides…

  24. Animation Easing • Added stock animation easing functions • CircleEase, SineEase, and BackEase • ExponentialEase, PowerEase • QuadraticEase, CubicEase • QuarticEase, QuinticEase • ElasticEase, BounceEase • Simplify creation of new easing functions

  25. demo Perspective 3DAnimation easing

  26. Effects and Pixel Shaders • Effects • Impact visual behavior (versus functional behavior) • Silverlight 3 supports drop shadow and blur • Silverlight 3 supports custom “effects” • Custom “effects” are implemented as “shaders” • Shaders typically authored using HLSL • Compiled into byte code using a DX SDK utility • Silverlight 3 consumes the byte codes • Shaders allow developers to modify each pixel on a UI element before the pixel is rendered • Shader = a per-pixel function or operation

  27. Pixel APIs • Two Parts • Dynamic bitmap generation • Read/Write pixels in a bitmap • Render a visual tree (elements) to a bitmap • Scenarios • Dynamic image generation (e.g., RT graphs) • Image editing and effects • Clone visuals • Examples: Reflections, drag effect

  28. demo Pixel ShadersBitmap API

  29. Local Messaging • Cross plug-in Silverlight communication • Multiple plug-ins on the same page • Multiple plug-ins on different browser tabs • Multiple plug-ins in different browsers • Implementation • Shared memory implementation • Exposed like “named pipes” • String based messages • Scenarios • Mixed HTML and Silverlight architecture

  30. demo Local Messaging

  31. UI Framework Improvements • Merged resource dictionaries • BasedOn styles • Styles can be “cleared”(changed at runtime) • Multi-select ListBox • Listening to “handled” routed events • New VSM “invalid” states • Supported on TextBox, CheckBox, ComboBox, ListBox, RadioButton

  32. Other Improvements • SystemColors • SaveFileDialog • Text Improvements • ClearType Text (Post Beta) • CaretBrush (Silverlight 2 Caret was black) • Image refinements

  33. New SDK Controls • DockPanel • Expander • Label • TreeView • ViewBox • WrapPanel • ChildWindow • DatePickerTextBox • TabPanel • +Others

  34. Other Big Additions • Business related • Navigation framework • Data control additions • SEO support • N-Tier data support • Web service stack improvements • Binary XML, SOAP faults, credentials • Silverlight toolkit release

  35. Silverlight “Out of the Browser” • Silverlight runs “out of the browser” (sandboxed) • Built into the core Silverlight runtime • Enabled per “application” • Manifest update • User gesture to take “out of the browser” • Right click • Custom button in the application • New networking APIs • Connected, disconnected and changed state • Offline APIs • Launch state, update APIs

  36. demo Get out-of-the-browser, Silverlight!

  37. Summary • Many new features making Silverlight a more mature development platform • Focus was on media, shifting to all kinds of applications • Interesting side-projects • .NET RIA services • Silverlight control toolkit

  38. Mission • Besug wants to unite all the belgian people who are interested in the Silverlight technology. • 2 main goals: • Social networking • Exchange knowledge and experiences

  39. Target Audience • Developers • Designers • IT – Academics • ...

  40. Events: past and future • November 6th: Launch event • January 15th: Workshop + New Year’s drink • May 14th: Silverlight/Sharepoint integration • May 18th: Meet & greet with Laurent Bugnion • June 25th: Community Day • August: BBQ for the Besug members

  41. Be sure to check • http://www.besug.be • http://silverlightdotnet.wordpress.com • http://mscommunity.be

  42. Q&A

  43. Thank you!

  44. What's New in Silverlight 3 Gill CleerenMicrosoft Regional DirectorMVP ASP.NETArchitect @ Ordina Belgium

More Related