itcamp 2011 - raul andrisan - what’s new in silverlight 5
DESCRIPTION
TRANSCRIPT
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
What’s new in Silverlight 5
Raul Andrisan
Technical trainer, HPC Consulting
http://blog.andrisan.ro
@raulandrisan
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
IT Camp 2011
• Thanks for coming!
• ITCamp is made possible by our sponsors:
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
Session agenda
• What’s new in – Databinding
– Controls
– Text, Printing, Media
– Trusted application
– Out of Browser Experience
– Pivot Viewer
• XNA-based HW accelerated 3D in SL5
• Q&A
• Feedback & prizes
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
SILVERLIGHT EVOLUTION
• 5 versions in 5 years
• From media to business applications
• Microsoft’s multiplatform medium – Windows
– Mac OS X
– Windows Phone
– Embedded
– Linux (Moonlight)
• Community driven http://dotnet.uservoice.com
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
DATABINDING
What’s new in
• Implicit Data Templates • Ancestor RelativeSource • Binding in Setters • Custom Markup Extensions • Breakpoints in XAML Bindings • DataContextChanged Event • UpdateSourceTrigger => Better MVVM Support, less hookup code
Demo
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• JumpTo in Combobox
• PivotViewer now in SDK
• Extended templating support in PivotViewer
• Multi-click support for MouseDown & MouseUp Events
CONTROLS
What’s new in
Demo
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• Available in Silverlight 5 SDK
• Visuals Templatable with XAML
• Supports Dynamic Observable Collections
• Updates data dynamically
• Templates for different zoom levels
• Can host any content – even deep zoom, graphs, etc
PIVOT VIEWER
What’s new in
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• Rich text in any form, dynamically resizes
• + text sharpness, pixel snapping
• Line heigh, line spacing,
• Better performance for text
• Vector printing for text
TEXT, PRINTING
What’s new in
Demo
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
VECTOR PRINTING
0 100 200 300 400 500 600 700 800
Shapes
Text
(milliseconds)
Spool Time
Bitmap
Vector
0 20 40 60 80 100 120 140
Shapes
Text
(MB)
File Size Sent to Printer
Bitmap
Vector
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
TEXT CLARITY
• More sharp text by snapping to pixels and other techniques
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• Composition thread for smooth animations
• Hardware decoding of video
• 1080p h.264 video support
• Trick play – accelerated video + pitch correction
• Low latency audio – immediate audio API
MEDIA
What’s new in
Demo
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• Can trust apps in-browser using certificates, registry keys
– Permissions in group policy
– No prompts
– Integrate with the browser
– Part of a larger web HTML application
• Can user the WebBrowser control
• P/Invoke support
TRUSTED APPLICATIONS
What’s new in
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• Unrestricted Access to File System
– Iteration through files/directories
– Changing/accessing rights, etc
• Multiple Windows API
• Can install as standalone apps
OUT OF BROWSER APPS
What’s new in
Demo
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
UNRESTRICTED FILE ACCESS
SL5 trusted apps
can access: SL4 trusted apps
can access:
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
XNA 3D IN SILVERLIGHT
Short Demo + Workflow
Demo
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
• Immediate-mode API
• Vertex/Pixel Shader Based
• New control: DrawingSurface
• Very Low Level/High Performance
• Can use Babylon 3D engine
• Does not support declarative XAML in WPF
3D IN SILVERLIGHT 5
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
Q&A
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies
Don’t forget!
Get your free Azure pass!
• 30+15 days, no CC req’d
– http://bit.ly/ITCAMP11
– Promo code: ITCAMP11
We want your feedback!
• Win a WP7 smartphone
– Fill in your feedback forms
– Raffle: end of the day