mike taulty devdays 2010 silverlight 4 - what's new part 1
DESCRIPTION
TRANSCRIPT
Change the Rules
Silverlight 4 – What’s New? ( part 1 )
Mike Taulty, Microsoft UK [email protected] mtaulty.com @mtaulty
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
Silverlight 4 is cross-browser, cross-platform
private mode browsing supported
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
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
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
control enhancements
desktop integration
• all applications
• out of browser applications
• trusted applications
frameworks
• WCF RIA Services
• Managed Extensibility Framework
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
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
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
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
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
Change the Rules
demo Binding & Validation
Validation
• IDataErrorInfo
• INotifyDataErrorInfo
Binding
• String Indexers
• FallbackValue
• TargetNullValue
• StringFormat
• DependencyObject
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
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
Change the Rules
demo Networking
HTTP Client Stack
• integrated authentication
WCF Data Services
• bindable/trackable client side
• arbitrary projections
Change the Rules
“Silverlight 4 Networking Guided Tour”
session Mike Taulty, Microsoft
10:50, Tomorrow
Visual Studio 2010
Expression Blend 4
binding & validation
networking
navigation
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
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}
Change the Rules
demo pluggable navigation
control enhancements
desktop integration
• all applications
• out of browser applications
• trusted applications
frameworks
• WCF RIA Services
• Managed Extensibility Framework
thank you for coming – please provide feedback
Change the Rules
Silverlight 4 – What’s New ( part 1 )
Mike Taulty, Microsoft UK [email protected] mtaulty.com @mtaulty