itcamp 2011 - raul andrisan - what’s new in silverlight 5

18
@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies What’s new in Silverlight 5 Raul Andrisan Technical trainer, HPC Consulting [email protected] http://blog.andrisan.ro @raulandrisan

Upload: itcamp

Post on 21-Nov-2014

965 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

What’s new in Silverlight 5

Raul Andrisan

Technical trainer, HPC Consulting

[email protected]

http://blog.andrisan.ro

@raulandrisan

Page 2: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

IT Camp 2011

• Thanks for coming!

• ITCamp is made possible by our sponsors:

Page 3: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 4: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 5: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 6: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 7: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 8: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 9: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 10: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

TEXT CLARITY

• More sharp text by snapping to pixels and other techniques

Page 11: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 12: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 13: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 14: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

UNRESTRICTED FILE ACCESS

SL5 trusted apps

can access: SL4 trusted apps

can access:

Page 15: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

XNA 3D IN SILVERLIGHT

Short Demo + Workflow

Demo

Page 16: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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

Page 17: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@itcampro / #itcampro Premium conference on Microsoft’s Dev and ITPro technologies

Q&A

Page 18: ITCamp 2011 - Raul Andrisan - What’s new in Silverlight 5

@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