Whats New In Silverlight 3

Post on 18-Nov-2014

2,847 views 0 download

description

Presentation for the Toronto Silverlight User Group covering highlights of the recently announced Silverlight 3 from Microsoft

transcript

What’s New in Silverlight 3.0

What’s New• Media support• Perspective 3D• Local messaging• Framework improvements

StylingResourcesControlsData at design time

• Out-of browser (SLOOB)

H.264/AAC/MP4

• Silverlight 3 supports H.264/AAC/MP4• Industry standard format

Hardware decoders on most devicesYouTube, iPhone, Flash supported formatBase format for QuickTime and iTunes

• Live/On-Demand 720p+ HD Smooth Streaming

• Extensibility at the raw AV pipeline level

GPU Acceleration

• Opt-in feature on the Silverlight 3 plug-inEnables final surface draw with the GPU

• Opt-in feature per ElementUse GPU to blend/composite multiple ElementsUse GPU to stretch Elements

• Works in-browser and in full-screen mode• Scenarios:

Performance – no other visual impact

Demo

Perspective 3D

• Perspective 3DNot to be confused with the true 3D functionality

offered by WPF

• Put 2D objects in 3D space• Rotate in any of the three axes

Can also offset the point of rotation

Demo

Animation Easing

• Premise: Can’t replicate real-life physics using purely linear animations

• SL3 adds stock animation easing functionsElastic, Bouncing, Circles, Sines, various exponential

• Also provides EasingFunctionBase so that you can create your own

Demo

Local Messaging

• Cross plug-in Silverlight communicationBetween plug-ins on the same page, different browser

tabs or different browsers

• ImplementationShared memoryExposed like “named pipes”String based messages

Demo

New Controls

• Data Controls (DataPager, DataForm)• Containers (DockPanel, WrapPanel, TabPanel)• Expander• Label• TreeView• ViewBox• ChildWindow• DatePickerTextBox• And more

UI Framework Improvements

• Merged Resource Dictionaries• BasedOn Styles• Styles can be changed at runtime• New VSM “Invalid” states

Provides a mechanism for validationSupported on TextBox, CheckBox, ComboBox,

ListBox, RadioButton, PasswordBox (not in Beta)

Silverlight “Out of the Browser”

• Part of the standard Silverlight coreNo additional download required

• Enabled on a ‘by-application’ basis• User gesture to take “out of the browser”

Right clickCustom button in the application

• Can detect network stateConnected, disconnected and changed stateLaunch state, update APIs

Demo

Other Big Additions

• Line of Business functionalityNavigation FrameworkData at Design TimeSEO SupportN-Tier data support (RIA .NET Services, post SL3)

• Web Service Stack ImprovementsBinary XML, SOAP faults, Credentials

• Silverlight Toolkit Release

More Information• http://www.silverlight.net• MIX Conference content -

http://www.visitmix.com• Tim Heuer’s Blog - http://timheuer.com/blog• Shawn Wildermuth’s Blog -

http://wildermuth.com/

Questions?• My contact information

EMail: bjohnson@objectsharp.comTwitter: LACanuckBlog: http://www.objectsharp.com/blogs/bruceMSN: lacanadians@hotmail.com