Your SlideShare is downloading. ×
0
Silverlight 4 – (r)evolution
Mike Taulty
Microsoft UK
mtaulty@microsoft.com
mtaulty.com
@mtaulty
Silverlight release history



    V1                       V2                       V3
  Sept 2007               Oct 2008...
Silverlight 4 - browser & platform support




                    private mode browsing supported
a major release                                                                    XPath for XML
                         ...
talking points
talking points
talking points
multitargeting




demo           drag/drop designer


                   properties window
                   •resources,...
MVVM support




demo       sample data for CLR objects

             animating layout changes

              animating li...
talking points
talking points
controls

   RichTextBox, Viewbox
   right to left layouts via FlowDirection
   implicit styling
   additions
     Selecte...
data-binding and validation

   easier, more natural bindings
     target of bindings is now DependencyObject not
     Fra...
networking

   Client networking stack for HTTP
     integrated authentication (automatic/pass-thru)
     caching, upload ...
improved pluggable navigation system

      navigate:             http://booksite/default.aspx#/authors/steinbeck
      na...
media
  video – support added for
    offline DRM and output protection
    Windows Media Server multicasting
  imaging
  ...
demo
controls, binding, validation
talking points
talking points
demo
desktop integration for all applications
and out-of-browser applications
trusted applications
  Silverlight 4 introduces the trusted application
    only for out of browser applications
    indic...
different types of Silverlight 4 apps



 • relaxed sandbox for trusted applications
    –   no network restrictions on po...
COM interoperability




 •   trusted applications can call to COM code
      – IDispatch interface only
      – must be r...
demo
trusted applications
talking points
talking points
WCF Data Services

   RESTful service stack implementing the
   Open Data Protocol ( www.odata.org )
   Silverlight client...
the Managed Extensibility Framework

   the Managed Extensibility Framework
     “an extensible framework for composing
  ...
essence of MEF              extensible set of catalogs which
                            discover & describe availablee.g....
essence of MEF
                MEF’s engine can monitor its catalogs
     and update this relationship based on additions ...
one application of MEF in Silverlight


                                              MyApp.xap
                    initia...
demo
extensible applications with MEF
WCF RIA Services                                              RIA Services
                            client    server
  ...
demo
productive applications with
WCF RIA Services
a major release                                                                    XPath for XML
                         ...
resources




            www.silverlight.net
feedback
  you will get an email
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be...
Mike Taulty TechDays 2010 Silverlight 4 - What's New?
Upcoming SlideShare
Loading in...5
×

Mike Taulty TechDays 2010 Silverlight 4 - What's New?

781

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
781
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Mike Taulty TechDays 2010 Silverlight 4 - What's New?"

  1. 1. Silverlight 4 – (r)evolution Mike Taulty Microsoft UK mtaulty@microsoft.com mtaulty.com @mtaulty
  2. 2. Silverlight release history V1 V2 V3 Sept 2007 Oct 2008 July 2009 versions are back-compatible, no side-by-side
  3. 3. Silverlight 4 - browser & platform support private mode browsing supported
  4. 4. a major release XPath for XML IDataErrorInfo MP4 DRM Indic Languages Commanding Google Chrome Sockets Security Networking Text Trimming Cross-Domain Networking Offline DRM Fluid UI Protected Path Output INotifyDataErrorInfo Trusted Applications Right Click Full Keyboard Full Screen Silent Install HTML Drag/Drop Composite Transform BiDi & RTL Webcam RichTextBox StringFormat Printing COM Automation Private Mode Browsing Custom Window Chrome Clipboard Access Datagrid Enhancements Local File System Window Close Event Windowing controls Extended Languages UDP, WMS Multicast MVVM XAP Signing Microphone MEF WCF RIA Mouse Wheel Full PNG Support Services GPU Acceleration Viewbox Toast Notifications
  5. 5. talking points
  6. 6. talking points
  7. 7. talking points
  8. 8. multitargeting demo drag/drop designer properties window •resources, binding, brushes, etc. data sources window document outline window assembly sharing general VS 2010 goodness •latest languages, framework, profiler support, etc.
  9. 9. MVVM support demo sample data for CLR objects animating layout changes animating listbox item states state transitions with effects PathListBox behaviours, actions, triggers
  10. 10. talking points
  11. 11. talking points
  12. 12. controls RichTextBox, Viewbox right to left layouts via FlowDirection implicit styling additions SelectedValue[Path] on Selectors (e.g. ComboBox) text trimming on the TextBlock better column layout on the DataGrid + copy/paste
  13. 13. data-binding and validation easier, more natural bindings target of bindings is now DependencyObject not FrameworkElement new {binding} capabilities TargetNullValue, FallbackValue, StringFormat, string indexers new validation capabilities validate types implementing IDataErrorInfo validates types implementing INotifyDataErrorInfo
  14. 14. 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 Windows Communication Foundation addition of a TCP channel
  15. 15. improved pluggable navigation system navigate: http://booksite/default.aspx#/authors/steinbeck navigate: /authors/steinbeck Frame ContentLoader UriMapper Uri MappedUri /authors/{author} /views/authors.xaml?surname={author} Asynchronously turns the URI /{pageName} /views/{pagename}.xaml into a Page or UserControl
  16. 16. media video – support added for offline DRM and output protection Windows Media Server multicasting imaging hardware accelerated DeepZoom imaging all PNG formats supported
  17. 17. demo controls, binding, validation
  18. 18. talking points
  19. 19. talking points
  20. 20. demo desktop integration for all applications and out-of-browser applications
  21. 21. trusted applications Silverlight 4 introduces the trusted application only for out of browser applications indicated by metadata setting in the XAP’s manifest • different installation experience – can be verified or unverified ( no auto update ) • can be blocked by group policy settings
  22. 22. different types of Silverlight 4 apps • relaxed sandbox for trusted applications – no network restrictions on ports and x-domain/x-scheme access – operations which require user initiation or consent relaxed – open access to files in my [documents/videos/pictures/music] – ability to access full file paths from file open/save dialogs – access to the keyboard in full screen mode – window options – alter chrome and offer alternate move/resize
  23. 23. COM interoperability • trusted applications can call to COM code – IDispatch interface only – must be registered with a ProgId IDispatch • programmability is via late binding must have a – dynamic in C# – no IntelliSense or compile time checking progId • no deployment mechanism COM – for existing code rather than new code Object • COM is Windows only
  24. 24. demo trusted applications
  25. 25. talking points
  26. 26. talking points
  27. 27. WCF Data Services RESTful service stack implementing the Open Data Protocol ( www.odata.org ) Silverlight client stack improvements cross-domain access to a data service automatic change tracking of client-side entities arbitrary projections of data support for paging & result-set counts
  28. 28. the Managed Extensibility Framework the Managed Extensibility Framework “an extensible framework for composing applications from a set of loosely-coupled parts discovered and evolving at run-time“ (mike) versions .NET Framework shipping with Silverlight 4 .NET Framework 4 shipping with VS 2010 Codeplex source for Silverlight 3 & .NET 3.5 Sp1
  29. 29. essence of MEF extensible set of catalogs which discover & describe availablee.g. ISpellChecker components e.g. ISpellChecker component catalog import MEF export Composition component catalog component Engine component ... search for export(s) e.g. WordProcessor that matches import component catalog e.g. SuperSpellChecker
  30. 30. essence of MEF MEF’s engine can monitor its catalogs and update this relationship based on additions over run-time import export component component e.g. another ISpellChecker shows up in a catalog?
  31. 31. one application of MEF in Silverlight MyApp.xap initial, small download Extras.xap
  32. 32. demo extensible applications with MEF
  33. 33. WCF RIA Services RIA Services client server • tooling • framework • services Service Data • pattern ? Domain Access Access Context Domain Domain Presentation Service Domain Service Domain Service Service App App Logic Logic code sharing and generation
  34. 34. demo productive applications with WCF RIA Services
  35. 35. a major release XPath for XML IDataErrorInfo MP4 DRM Indic Languages Commanding Google Chrome Sockets Security Networking Text Trimming Cross-Domain Networking Offline DRM Fluid UI Protected Path Output INotifyDataErrorInfo Trusted Applications Right Click Full Keyboard Full Screen Silent Install HTML Drag/Drop Composite Transform BiDi & RTL Webcam RichTextBox StringFormat Printing COM Automation Private Mode Browsing Custom Window Chrome Clipboard Access Datagrid Enhancements Local File System Window Close Event Windowing controls Extended Languages UDP, WMS Multicast MVVM XAP Signing Microphone MEF WCF RIA Mouse Wheel Full PNG Support Services GPU Acceleration Viewbox Toast Notifications
  36. 36. resources www.silverlight.net
  37. 37. feedback you will get an email
  38. 38. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×