450 likes | 573 Vues
Join Microsoft Regional Director Gill Cleeren as he explores the exciting new features of Silverlight 3. Discover enhancements such as improved tooling in Visual Studio 2008, advanced media support with H.264/AAC/MP4, and impressive graphical capabilities including GPU acceleration and per-pixel shaders. Learn how to leverage 3D perspective, new animation easing functions, and UI framework improvements. Whether you're developing rich browser applications or looking to enhance user experience, this guided tour highlights the innovative tools and functionalities available in Silverlight 3.
E N D
What's New in Silverlight 3 Gill CleerenMicrosoft Regional DirectorMVP 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: • TechDays • Usergroups(Visug, Biwug, Besug) • Ineta speaker • Blog: www.snowball.be • Email: gill.cleeren@ordina.be • Twitter: gillcleeren / MSN: gillcleeren@hotmail.com
V3 with 2 released versions (in beta) Sometime 2009 V1 V2 September 2007 October 2008 V2 is backwards compatible & where you’d start today
running x-browser, x-platform ?Linux support is from Novell’s Moonlight project
typically installed on-demand Also available as an optional Windows Update
with a small, self-contained install ~10 Second Download No Additional Dependencies
runs rich browser applications Single Unified Framework Media “Applications” Graphics Silverlight Layout, Styling, Animation, Data Binding
in a tight, fixed sandbox All code gets same limited permissions
Apps that I’d like to show you... *View at your discretion. Perhaps not from work. Or home
Announcing: Silverlight 3 beta
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”
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
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
demo AAC video playback
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…
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
demo Perspective 3DAnimation easing
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
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
demo Pixel ShadersBitmap API
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
demo Local Messaging
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
Other Improvements • SystemColors • SaveFileDialog • Text Improvements • ClearType Text (Post Beta) • CaretBrush (Silverlight 2 Caret was black) • Image refinements
New SDK Controls • DockPanel • Expander • Label • TreeView • ViewBox • WrapPanel • ChildWindow • DatePickerTextBox • TabPanel • +Others
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
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
demo Get out-of-the-browser, Silverlight!
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
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
Target Audience • Developers • Designers • IT – Academics • ...
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
Be sure to check • http://www.besug.be • http://silverlightdotnet.wordpress.com • http://mscommunity.be
What's New in Silverlight 3 Gill CleerenMicrosoft Regional DirectorMVP ASP.NETArchitect @ Ordina Belgium