mike taulty devdays 2010 silverlight 4 - what's new part 1

25
Change the Rules Silverlight 4 – What’s New? ( part 1 ) Mike Taulty, Microsoft UK [email protected] mtaulty.com @mtaulty

Upload: ukdpe

Post on 12-Nov-2014

2.036 views

Category:

Education


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

Silverlight 4 – What’s New? ( part 1 )

Mike Taulty, Microsoft UK [email protected] mtaulty.com @mtaulty

Page 2: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Silverlight 4 is on its way

versions are back-compat, no side-by-side Silverlight 4 is where you’d start today

V1

Sept 2007

V2

Oct 2008

V3

July 2009

V4

release candidate

launches at DevConnections April 12-14

Page 3: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Silverlight 4 is cross-browser, cross-platform

private mode browsing supported

Page 4: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Silverlight 4 is a major release

MVVM

Trusted Applications Drag/Drop

StringFormat

UDP, WMS Multicast

WCF RIA

Services Viewbox

Extended Languages

Printing

INotifyDataErrorInfo

Commanding Indic

Languages

BiDi & RTL

MEF

RichTextBox

Right Click

Mouse Wheel

IDataErrorInfo

Datagrid

Enhancements

GPU Acceleration

MP4 DRM

Microphone

Webcam

Clipboard Access

Toast Notifications

HTML

Private Mode Browsing

Google Chrome

COM Automation

Local File System

Composite Transform

Offline DRM Protected Path Output

XAP Signing

Silent Install

Cross-Domain Networking

Custom Window Chrome

Sockets Security

Full Keyboard Full Screen

XPath for XML

Fluid UI Text Trimming

Full PNG Support

Windowing controls Window Close Event

Networking

Page 5: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

this is a talk in 2 parts – don’t miss the 2nd part

• tooling, binding, validation, networking, navigation

• controls, desktop integration , frameworks

• 16:30 today

Page 6: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 7: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

control enhancements

desktop integration

• all applications

• out of browser applications

• trusted applications

frameworks

• WCF RIA Services

• Managed Extensibility Framework

Page 8: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 9: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 10: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

demo Visual Studio 2010

multitargeting

drag/drop designer

properties window

• resources, binding, brushes, etc.

data sources window

document outline window

profiler support

assembly sharing

languages – C# 4 and VB 10

Page 11: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 12: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

demo Expression Blend 4

MVVM support

design time resources & CLR data

ListBoxItem layout states

PathListBox

effects – additional & transitions

behaviors – more & conditional

data store

Sketchflow enhancements

Photoshop import enhancements

Page 13: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 14: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

demo Binding & Validation

Validation

• IDataErrorInfo

• INotifyDataErrorInfo

Binding

• String Indexers

• FallbackValue

• TargetNullValue

• StringFormat

• DependencyObject

Page 15: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 16: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

networking

• Client networking stack for HTTP – integrated authentication (automatic/pass-thru) – caching, upload progress, referer header, connections

• Sockets – TCP security policy – opt to download via HTTP – UDP multicasting to [any/single] source groups

• WCF TCP channel • WCF Data Services ( odata client, ‘Astoria’ )

– support for arbitrary projections of data – automatic client-side tracking – support for data-paging and result-set counts – support for cross-domain

Page 17: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

demo Networking

HTTP Client Stack

• integrated authentication

WCF Data Services

• bindable/trackable client side

• arbitrary projections

Page 18: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

“Silverlight 4 Networking Guided Tour”

session Mike Taulty, Microsoft

10:50, Tomorrow

Page 19: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Visual Studio 2010

Expression Blend 4

binding & validation

networking

navigation

Page 20: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Browser booksite/default.aspx#/authors.xaml?name=steinbeck

navigation

Silverlight already supports navigation & deep linking

Silverlight

Frame Control /authors.xaml?name=steinbeck

Page

authors.xaml

• NavigatedTo event • NavigationContext

• access to query string

Page 21: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

pluggable navigation

Silverlight 4 makes it pluggable

navigate: http://booksite/default.aspx#/authors/steinbeck navigate: /authors/steinbeck

Frame

UriMapper

ContentLoader

Asynchronously turns the URI into a Page or UserControl

Uri MappedUri

/authors/{author} /views/authors.xaml?surname={author}

/{pageName} /views/{pagename.xaml}

Page 22: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

demo pluggable navigation

Page 23: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

control enhancements

desktop integration

• all applications

• out of browser applications

• trusted applications

frameworks

• WCF RIA Services

• Managed Extensibility Framework

Page 24: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

thank you for coming – please provide feedback

Page 25: Mike Taulty DevDays 2010 Silverlight 4 - What's New Part 1

Change the Rules

Silverlight 4 – What’s New ( part 1 )

Mike Taulty, Microsoft UK [email protected] mtaulty.com @mtaulty