David Eitan Poll Program Manager | Microsoft Silverlight Microsoft Corporation SESSION CODE:...

download David Eitan Poll Program Manager | Microsoft Silverlight  Microsoft Corporation SESSION CODE: WEB313.

If you can't read please download the document

Transcript of David Eitan Poll Program Manager | Microsoft Silverlight Microsoft Corporation SESSION CODE:...

  • Slide 1

Slide 2 David Eitan Poll Program Manager | Microsoft Silverlight http://www.davidpoll.com Microsoft Corporation SESSION CODE: WEB313 Slide 3 Slide 4 Silverlight 3 Silverlight 4 New out-of- browser features Trusted appsDemos and code RecapDemos and code Out-of-browser app support Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 In Silverlight 4 Slide 13 Slide 14 Silverlight Web content $ Slide 15 Slide 16 Slide 17{ Application."> NotificationWindow toast = new NotificationWindow(); toast.Content = new ToastContent(); toast.Content.MouseLeftButtonUp += (s, arg) => { Application.Current.MainWindow.Activate(); }; toast.Show(4000); Slide 21 Slide 22 New Business Models Subscription Rental Purchase New Features Persistent license storage Time based policies Secure H.264 and AAC decoders Support for Output Protection Slide 23 sllauncher.exe /install:"somePath\myApp.xap" /origin:"http://any.site.com/myApp.xap" /shortcut:desktop+startmenu /overwrite sllauncher.exe /install:"somePath\myApp.xap" /origin:"http://any.site.com/myApp.xap" /shortcut:desktop+startmenu /overwrite sllauncher.exe /uninstall /origin:"http://any.site.com/myApp.xap" Platform Specific Usage sllauncher.exe /emulate:"somePath\myApp.xap" /origin:"http://any.site.com/myApp.xap" /overwrite sllauncher.exe /emulate:"somePath\myApp.xap" /origin:"http://any.site.com/myApp.xap" /overwrite Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 // defensive code == portable code if (Application.Current.HasElevatedPermissions) { // look ma, no path hard-coding! // this code works on Mac, Windows, everywhere string path = Environment.GetFolderPath( Environment.SpecialFolder.MyVideos); string mediaFile = Path.Combine(path, "Foo.mp4"); if (!File.Exists(mediaFile)) { using (FileStream fs = File.Create(mediaFile)) { //... } Slide 30 Remove the Shell chrome and window border Rectangular window Rectangular window with rounded corners Slide 31 Slide 32 Supported in Silverlight 4 Property get/set, indexed property get/set Positional and optional parameters Support by-ref and by-value In proc and out of proc servers Support for basic data types VARIANT, BSTR, SAFEARRAY, IEnumVARIANT Silverlight app as event sink Not in Silverlight 4 Multi-dimensional arrays Named parameters Type Information Support for COM Elevation moniker Slide 33 // defensive code == portable code if (AutomationFactory.IsAvailable) { dynamic xl = AutomationFactory.CreateObject("Excel.Application"); xl.Visible = true; xl.Workbooks.Add(); //... } Slide 34 Slide 35 For Consumers Reassurance on authenticity and integrity of app Clear publisher and provenance info on app For App Developers Better install-time UX App Icon Publisher name Seamless updates No updates for unsigned apps No updates when certs mismatch Highly Recommended Highly Recommended Slide 36 Slide 37 Slide 38 Slide 39 XAML + JavaScript v1.0 XAP and managed code 2 Beyond the browser 3 Trusted apps 4 Slide 40 Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Slide 41 www.microsoft.com/teched www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn Slide 42 Slide 43 Slide 44 Slide 45 Slide 46