Silverlight 5:What’s new?
Presenter:Kevin GrossnicklausJune 25th, 2011
Agenda
• Introductions• Silverlight 5• HTML 5 vs Silverlight 5• Additional Resources• Final Thoughts• Conclusion
Introductions• Kevin Grossnicklaus
– ArchitectNow- www.architectnow.net (2009-Present)• President
– Washington University - CAIT Program (2003-2010)• Instructor
– SSE - www.SSEinc.com (1999-2009)• Chief Architect• Software Development Practice Leader
• Email: [email protected] • Twitter: @kvgros • Blog: blog.architectnow.net
We want to thank the sponsors of KCDC. Without them, none of this would be possible.
Thanks to Our Sponsors
Product Sponsors
Silver Sponsors
Gold Sponsors
EXPECTATIONS
Assumed Knowledge
• Basic Knowledge – C#– Silverlight/XAML– VS.NET 2010
• Optional (but useful):– XAML– Data Binding– MVVM– Entity Framework
SILVERLIGHT 5
Getting Started
– Download and install SDK– Install
Expression Blend Preview for Silverlight 5
Media
– SoundEffect• XNA SoundEffect class from Windows Phone 7
– TrickPlay• Video
Text<StackPanel Width="200">
<RichTextBox Width="50" Height="50“ OverflowContentTarget="{Binding ElementName=OverflowArea}">
<Paragraph> This is some really long text that won't fit right into the main RTB control and should overflow into the area that I've defined in
my XAML to be the other section. </Paragraph> </RichTextBox> <RichTextBoxOverflow
x:Name="OverflowArea" /> </StackPanel>
Text<RichTextBox FontSize="12" CharacterSpacing="300" />
Debugging
– Binding Debugging
Data Binding
– DataTemplates– Ancestor Relative Source
Controls
– ClickCount– Multiple Window Support
• OOB and Elevated Permissions• Multi-monitor support
3D Graphics API
• XNA 3D API• Hardware Accellerated (GPU) 3D support• Immediate Mode 2D
• Demo• Demo
Trusted Applications
– InBrowser• Requires Registry Key
– OutOfBrowser• P/Invoke
– Full Screen Keyboard– Broader File Access– Host Browser – Access local devices
Misc Stuff• Startup performance improvements on multi-
core systems (multi-core JIT) • ComboBox with type-ahead searching • DefaultFileName in SaveFileDialog!!! • Improvements in the graphics stack brought
over from the Windows Phone codebase • Hardware acceleration in Windowless mode
in Internet Explorer 9 • Vector printing • Power awareness for things like full-screen
apps (i.e., don’t put me to sleep if I’m watching an awesome movie)
• Remote control support allowing users to control media playback
• OpenType support • Text clarity improvements with pixel snapping
• A new DataContextChanged event • WS-Trust support for services • 64-bit support for the plugin • COM interop for trusted in-browser
applications • P/Invoke for trusted applications • PivotViewer control improvements and
distributed in the SDK
HTML5 VS SILVERLIGHT 5 (VS THE WORLD)
What’s Next?
• Future of Silverlight• Future of HTML5• Future of Windows
Timing
• Build Silverlight 4 Applications Now• Silverlight 5 in late fall 2011
FINAL THOUGHTS
Additional Resources• http://www.Silverlight.net• http://Msdn.microsoft.com• http://www.silverlightshow.net/• http://www.asp.net• http://channel9.msdn.com/learn/courses/Silverlight4/ • http://www.microsoft.com/design/toolbox/ • http://www.microsoft.com/expression/resources/BlendTraining/• http://silverlight.codeplex.com/ • http://compositewpf.codeplex.com/
Additional Resources (Cont.)• http://channel9.msdn.com/Blogs/RobBagby/NET-RIA-Services-in-5-Minutes• http://silverlight.net/riaservices/ • http://www.silverlight.net/learn/videos/all/net-ria-services-intro/• http://www.silverlight.net/learn/videos/all/ria-services-support-visual-studio-2010/• http://channel9.msdn.com/learn/courses/Silverlight4/SL4BusinessModule2/SL4LOB_02_01_RIAServices• http://www.myvbprof.com/MainSite/index.aspx#/zSL4_RIA_01• http://channel9.msdn.com/blogs/egibson/silverlight-firestarter-ria-services• http://msdn.microsoft.com/en-us/library/ee707336%28v=VS.91%29.aspx
• www.silverlight.net• http://msdn.microsoft.com/en-us/silverlight4trainingcourse.aspx• http://channel9.msdn.com/shows/silverlighttv
Additional Resources
Next Steps…
• Dive in• Play around• Ask Questions• Research
What if I need help?
[email protected]: @kvgros