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

983 views

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
983
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. Change the Rules Silverlight 4 – What’s New? ( part 2 ) Mike Taulty, Microsoft UK mtaulty@microsoft.com mtaulty.com @mtaulty
  2. 2. this is a talk in 2 parts – this is the 2nd part • tooling, binding, validation, networking • controls, desktop, frameworks
  3. 3. control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • WCF RIA Services • Managed Extensibility Framework
  4. 4. control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • Managed Extensibility Framework • WCF RIA Services
  5. 5. Change the Rules implicit styling demo Controls Textbox trimming FlowDirection Viewbox ICommand • ButtonBase & HyperlinkButton fluid UI States for ItemsControl SelectedValuePath DataGrid enhancements
  6. 6. control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • Managed Extensibility Framework • WCF RIA Services
  7. 7. Change the Rules RichTextBox demo all applications printing drag and drop right mouse menus mousewheel clipboard access webcam/microphone sticky full screen option
  8. 8. Change the Rules control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • Managed Extensibility Framework • WCF RIA Services
  9. 9. Change the Rules demo silent installation HTML display HTML brush out of browser Windowing • startup position • window width, height • window closing event • activation, topmost • window state Toast notifications
  10. 10. Change the Rules control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • Managed Extensibility Framework • WCF RIA Services
  11. 11. 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 (signed) or unverified – non verified applications do not auto update • can be blocked by group policy settings
  12. 12. 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 • e.g. go full screen, write to the clipboard, print, access the webcam or microphone, etc. – 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 options
  13. 13. 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
  14. 14. Change the Rules demo requesting elevation install experience signing XAPs trusted applications sandbox relaxation • files • network • full screen • user consent Window chrome COM interop
  15. 15. Change the Rules control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • Managed Extensibility Framework • WCF RIA Services
  16. 16. extensible applications with MEF • 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
  17. 17. essential MEF Compose • MEF discovers exports via catalogs – several “in box” catalogs plus many extensibility points – supports available exports changing at runtime • and/or can be handed component instances
  18. 18. one application of MEF MyApp.xap initial, small download Extras.xap
  19. 19. Change the Rules demo managed extensibility framework
  20. 20. Change the Rules session “Silverlight 4 MEF Guided Tour” Mike Taulty, Microsoft 16:15, Tomorrow
  21. 21. Change the Rules control enhancements desktop integration • all applications • out of browser applications • trusted applications frameworks • Managed Extensibility Framework • WCF RIA Services
  22. 22. WCF RIA Services client server Service Data ? Domain Access Access Context Domain Domain Presentation Service Domain Service Domain Service Service App App Logic Logic code sharing and generation
  23. 23. Change the Rules session “Silverlight 4 for Desktop Developers” Ingo Rammer, ThinkTecture 14:50, Tomorrow
  24. 24. Silverlight 4 is a major release IDataErrorInfo XPath for XML 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
  25. 25. Silverlight resources? www.silverlight.net
  26. 26. thank you for coming – please provide feedback  
  27. 27. Change the Rules Silverlight 4 – What’s New ( part 2 ) Mike Taulty, Microsoft UK mtaulty@microsoft.com mtaulty.com @mtaulty

×