Download presentation
Presentation is loading. Please wait.
Published byChris Peter Modified over 9 years ago
1
Change the Rules Silverlight 4 – What’s New? ( part 2 ) Mike Taulty, Microsoft UK mtaulty@microsoft.com mtaulty.com @mtaulty
2
this is a talk in 2 parts – this is the 2 nd part Session 1 tooling, binding, validation, networking Session 2 controls, desktop, frameworks
3
Session 2 control enhancementsdesktop integration all applications out of browser applications trusted applications frameworks WCF RIA Services Managed Extensibility Framework
4
where are we? control enhancements desktop integration all applications out of browser applications trusted applications frameworks Managed Extensibility Framework WCF RIA Services
5
Change the Rules Controls implicit stylingTextbox trimmingFlowDirectionViewboxICommand ButtonBase & HyperlinkButton fluid UI States for ItemsControlSelectedValuePathDataGrid enhancements
6
where are we? control enhancements desktop integration all applications out of browser applications trusted applications frameworks Managed Extensibility Framework WCF RIA Services
7
Change the Rules all applications RichTextBoxprintingdrag and dropright mouse menusmousewheelclipboard accesswebcam/microphonesticky full screen option
8
Change the Rules where are we? control enhancements desktop integration all applications out of browser applications trusted applications frameworks Managed Extensibility Framework WCF RIA Services
9
Change the Rules out of browser silent installationHTML displayHTML brushWindowing startup position window width, height window closing event activation, topmost window state Toast notifications
10
Change the Rules where are we? control enhancements desktop integration all applications out of browser applications trusted applications frameworks Managed Extensibility Framework WCF RIA Services
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
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
COM interoperability COM Object COM Object IDispatch must have a progId trusted applications can call to COM code – IDispatch interface only – must be registered with a ProgId programmability is via late binding – dynamic in C# – no IntelliSense or compile time checking no deployment mechanism – for existing code rather than new code COM is Windows only
14
Change the Rules trusted applications requesting elevationinstall experiencesigning XAPssandbox relaxation files network full screen user consent Window chromeCOM interop
15
Change the Rules where are we? control enhancements desktop integration all applications out of browser applications trusted applications frameworks Managed Extensibility Framework WCF RIA Services
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
essential MEF 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 Compose
18
one application of MEF MyApp.xap initial, small download Extras.xap
19
Change the Rules managed extensibility framework
20
Change the Rules “Silverlight 4 MEF Guided Tour” Mike Taulty, Microsoft 16:15, Tomorrow
21
Change the Rules where are we? control enhancements desktop integration all applications out of browser applications trusted applications frameworks Managed Extensibility Framework WCF RIA Services
22
Data Access server App Logic App Logic WCF RIA Services Presentation Service Access Service Access App Logic App Logic client ? Domain Service Domain Context App Logic App Logic code sharing and generation
23
Change the Rules WCF RIA Services
24
Change the Rules “Silverlight 4 for Desktop Developers” Ingo Rammer, ThinkTecture 14:50, Tomorrow
25
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
26
Silverlight resources? www.silverlight.net
27
thank you for coming – please provide feedback
28
local Silverlight 4 masterclass 2 day local training on Silverlight 4 – including Visual Studio 2010 and SharePoint 2010 http//microsoft.nl/events
29
Change the Rules Silverlight 4 – What’s New ( part 2 ) Mike Taulty, Microsoft UK mtaulty@microsoft.com mtaulty.com @mtaulty
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.