Published on

Presentation to the Silverlight User Group in London on October 12th to provide a round-up of the recent BUILD conference in LA and an introduction to Windows 8 and the Windows Runtime.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Agent 008 Ball – We helped Microsoft launch a new version of Internet Explorer with an HTML5 pool game that defies your expectations of what can be done in a browser!RunKeeper – We jumped at the change to port our favourite fitness tracking application to Windows Phone. Working closely with the RunKeeper team, we did everything from design to implementation to help RunKeeper ship one of the most popular Windows Phone apps yet!Evernote – We helped Evernote design the Windows Phone version of their classic note-capture app. They came to us because of our deep experience with the metro design language and together we produced one of the top Windows Phone apps in the marketplace!Kinect Code Camp – We were invited to the Kinect Code Camp just a day before the launch of the new Kinect Developer Kit for Windows. The result? We had a great time and built a cool game!SketchFlow for Windows Phone – We worked with the SketchFlow team at Microsoft to add support for Windows Phone to their award winning prototyping tools.
  • Steve (Sinofsky) is the new “Steve” (take your pick as to which Steve that means). He was confident, enthusiastic, and on stage for the full keynote, including the demos by various VPs, which were more like a conversation at times.New opportunity for developers: Express yourself Get the most out of PCs now matter what size or shape Approaching 450K copies of Windows 7 sold. Windows 7 consumer use is more than Windows XP usage. Changing World of ComputingForm factors and user interaction models create new scenarios and opportunities. Touch is becoming ubiquitous. Fingerprints all over your non-touch monitor after you've used touch on Windows 8. Mobility means devices you use while carrying , not just devices you carry then use (tablet vs. laptop) Web of applications that connect and share with each other Windows 8Everything that was great about Windows 7, we made it better in Windows 8 Everything that runs on Windows 7 will run on Windows 8 Reimagine Windows from the chipset to the experience New range of capabilities, scenarios, form factors Touch-first but equally comfortable on the Desktop ARM-based devices. The Keynote was split into four main sections covering:The Windows 8 Experience with demos from Julie Larson-Green (Corporate VP of Windows Experience)Metro Style Platform and Tools with demos from Antoine LeBlond (Senior VP of Windows Web Services)Hardware Platform with demos from Michael Angiulo (Corporate VP of Windows Planning and Ecosystem)Cloud Services with demos from Chris Jones (Senior VP of Windows Live)
  • Steve's first generation Lenovo netbook: Atom processor and 1GB RAM. Windows 7: 404MB RAM in use with 32 processes. Windows 8: 281MB RAM and 29 processes. Julie Larson-Green: Corporate VP of Windows Experience. Notifications on lock screen Picture (or PIN) password Start screen: Windows Phone Start screen on steroids Apps are showcase samples and not indicative of what will ship with Windows 8 Some apps (eg Email) are not available in the Developer Preview yet Start screen is personal to you: just the apps you want (multi-touch rearrange). Tiles and notifications, launch and resume apps Contextual zoom on Start screen not yet working (AFAIK) Type to search Touch-centric Control Panel (for most commonly used tasks). Apps: App bar "Fast-and-fluid" Settings in Charms bar (app and system) [video] Swipe from left to switch apps Dock to left or right (HUD view when docked) Metro browser (chromeless) "I can't think of anything better than a completely "chrome"-less browsing experience" (unintended pun) Launch pinned web site. Open associated app from web site ( Swipe, zoom. Select and share (from Charms bar) MRU list for sharing (apps and people) "Semantically rich clipboard" Spell-checking integrated throughout the system (and auto-complete) Search apps, files, internet from Search charm File picker integration with apps via contracts Settings synced via the cloud (can sign-in using Live IDs) Steve: "I can launch the Bing app" Julie: "No don't"
  • "Lets you pick the language that you want to use to build Metro applications" Windows Runtime Sits on top of Win32 Native code with language projections XAML + C#/VB/C++ HTML5 + JavaScript + CSS Antoine LeBlond: Senior VP, Windows Web Services (the new Gu?) Same standard templates for all languages Demo: PhotoDoodle app created using HTML5 Picker contract (pull photos from Facebook, etc without having to write any FB-specific code) Share contract (share with Twitter/Facebook without having to write Twitter/FB-specific code) New version of Expression Blend: HTML5 DOM explorer, highlight elements from CSS selectors Orientation and resolution preview (similar to Windows Phone) Application bar 58 lines of code for full app. Submit to Windows store (not ready yet) Submission lifecycle feedback (better than WP) Built using HTML5 + JS One-tap download and install for apps List "classic" apps Demo: Scott Gu's SL Bing image search app converted to WinRT (XAML + C#) 400 million people <- Potential customer base for developer opportunity when Windows 8 launches
  • Michael Angiulo: Corporate VP, Windows Planning and Ecosystem UEFI to boot within seconds (8 seconds for one HP laptop) and securely (can't boot from infected devices) Connected Standby mode: system is on, but using minimal power Same build of apps running on ARM device HP Phoenix enthusiast system: superfast USB 3 4.7 Teraflops of computing power (running regular Windows) Hardware accelerate graphics for all apps (not just games) Improved 1st pixel sensitivity for 1 pixel edge boundary (charms, switch, etc) Samsung Series 7 Slate: Sensor Fusion: Gyro, Accelerometer, Magnetometer (simple API to work with all 3) Near Field Communications (NFC) for "tap-to-share" scenarios Device settings in Charms bar (eg, printers) Intel Ultrabooks: Super thin, resume from sleep in seconds, battery is bigger than the motherboard Slate: TPM, UEFI, Compass, Gyro, Accelerometer, Magnetometer, NFC, Ambient Light, LCD TSP, SSD, WLAN, GPS, Cameras, Touch, Ink, BlueTooth, 3G BIOS POST in 5 seconds 2nd generation Intel Core i5 Samsung Super PLS 1366x768 display AT&T 3G (1 yr, 2GB/month) 4GB DDR3 64GB SSD micro HDMI Dock w/ USB, HDMI, Ethernet 11.6" diagonal, 909g, 12.9mm Experience a Windows tablet & develop on it 170 degree viewing angle Developer-focused Demo (Steve) Windows Update notifications on lock screen (not anywhere else) Task Manager Suspended apps (not using CPU or battery) Better display of resource usage CPU, Memory, Disk, Ethernet performance App history Startup app list Resources by User Metro-style Control Panel New Reset and Refresh feature Command-line tool to update reset image. Windows Assessment Console for performance metrics (part of deployment kit) Metro style Remote Desktop app w/ live preview on Start screen Hyper-V on Windows 8 Mount VHDs and ISOs in Windows Explorer Multi-monitor support: Background spanning Mirrored taskbar or per-monitor taskbar Start screen on one monitor, Desktop on the other Same rendering engine between Desktop and Metro browsers (but not plugins for Metro) New Magnifier and other Ease of Access options Keyboard language switching On-screen keyboard: Ink input Thumb keyboard Numeric keyboard Sync PC settings when signed in via Live ID
  • Chris Jones: Senior VP, Windows Live New Metro style apps for Windows Live (not yet released) Integrated inbox Integrated calendars Connected address books (work, personal, Facebook, LinkedIn, etc) Photos: connected to all services already set up on Live Live Connect SDK for connecting to Windows Live for developers (including SkyDrive) Same SDK powers the same features on Windows Phone 7.5 (Mango)
  • The “what can Windows Runtime do for me” view of WinRT.
  • The Windows Runtime is the solid, efficient foundation for building great Metro style apps.
  • You can inspect the metadata using ILDASM (or similar) on *.winmd files.Metadata provides full IntelliSense in VS for all supported languages, including JavaScript.
  • New HSTRING type, exposed as appropriate string type via language projections, to prevent data copying when calling down to Windows and maintain performance. Windows Runtime is an interface-based system, but mostly exposed by Runtime classes.
  • All the patterns you’re used to (as .NET developers, but perhaps new to JS developers) are available in WinRT with the addition of better async support and Contracts.
  • Silverlight to Windows Runtime Conversion Application Conversion File > New Project: Talk about the different templates. Copy and paste the XAML. Replace the image assets. Replace <Hyperlink /> elements with a <HyperlinkButton /> inside an <InlineUIContainer />. Replace the NavigateUri attribute with a Tag attribute and remove the TargetName attribute on all <HyperlinkButton /> elements. Add a generic Click handler for the <HyperlinkButton /> elements. Add the Brushes.xaml file as a resource dictionary. Add the font files and update the XAML (remove the "component" prefix). Remove the alignment attributes from the root <Grid />. Run. Adding Tile Notifications Create SetTileNotificationAsync method and call from MainPagector. Clear notifications. Pick a template. Enable cycling through notifications. Get the RSS feed using SyndicationClient. Create tile notifications from feed. Add Internet (Client) capability to manifest. Run. Using the Share Contract Create SetShareSource method and call from MainPagector. Get the DataTransferManager. Add a handler for the DataRequested event. Set the Title and Description for sharing. Set the text of the share content. Run.
  • The .NET Framework 4.5 is still here in Windows 8.Just like the Client Profile, there are profiles for Windows Phone and for Silverlight.XAML-based Metro style apps use the .NET Profile for Metro and so the code is still managed, and the CLR is still loaded at runtime (providing the relevant language projection).The full surface of .NET Framework 4.5 is available for implementing desktop apps. A subset of .NET Framework 4.5 is available for Metro style apps.
  • Even the upcoming Windows Store is built as an HTML5+JS+CSS app.
  • SLUGUK BUILD Round-up

    1. 1. build<br />Is Silverlight Dead or Not?<br />/<br />/<br />/<br />/<br />round-up<br />
    2. 2. Who am I?<br />Derek Lakin@dereklakin<br />Senior User Experience Developer@ Pixel Lab<br />Evernote<br />RunKeeper<br />SketchFlow for Windows Phone<br />Agent 008 Ball<br />
    3. 3. Agenda<br />DEMO: Windows 8<br />Keynote highlights<br />Windows Runtime overview<br />DEMO: Converting Silverlight to WinRT<br />Silverlight and .NET on Windows 8<br />Summary<br />Q & A<br />
    4. 4. Demo<br />Windows 8<br />
    5. 5. Summary<br />Windows 8<br /><ul><li>Metro style Start screen
    6. 6. Fast and fluid
    7. 7. Integrated web of applications
    8. 8. Sharing
    9. 9. Pickers
    10. 10. Search
    11. 11. Touch-first</li></li></ul><li>The good, the bad, and the funny<br />Keynote highlights<br />
    12. 12. Windows 8 Experience<br />Fast and fluid user experienceResponsive, alive and beautiful with animations and Metro style<br />Immersive and full-screenFocuses attention on your apps<br />Touch-first with full keyboard and mouseEnables your choice of interaction<br />Web of apps working togetherApps are connected to each other and the cloud<br />Experience for all PC devices & architecturesNo compromise across new factors, desktops and laptops<br />
    13. 13. Developer Platform & Tools<br />New APIs and tools to build Metro appsDelivers a modern platform, great tools, accelerated graphics<br />Rapid and scalable development of Metro appsIncludes powerful touch-enabled controls, layouts, and templates<br />Choice of world-class dev tools & languagesSupports coding in JavaScript, C#, VB, C++, HTML/CSS, XAML for x86/x64/ARM<br />Business opportunity is the world of Windows 8 customersIntroduces the Windows Store<br />
    14. 14. Hardware Platform<br />Smaller and faster on widest range of hardware<br />Native SoC implementation across x86/x64/ARM<br />Integrated support for broad range of new mobile peripherals<br />
    15. 15. Cloud Services<br />New Metro style apps for Mail, Photos, Calendar, PeopleConnects to Live and the other services you use<br />Sync across your PC devices and phoneEnables clean start on new device and roaming between devices<br />SkyDrive for the information you create and care aboutStores and shares your photos, documents, and files to the cloud<br />Live APIs for SkyDriveBuild your own cloud connected Metro style apps<br />
    16. 16. Path to RTM<br />Windows 8 Developer PreviewIncluding VS 11 Express, Blend 5, SDK, AppsDeveloper Pre-Release<br />Next milestone is Beta. Then RC, RTM, GADriven by quality, not date<br />Updates along the way<br />Learning more<br /><ul><li>
    17. 17.
    18. 18.
    19. 19. Feedback tool</li></li></ul><li>What is it? What’s the difference?<br />Windows Runtime<br />
    20. 20. Summary<br />The Windows Runtime is the solid, efficient foundation for the new Windows 8 developer platform<br /><ul><li>Build Metro style apps easily with the Windows Runtime
    21. 21. Windows available in your choice of language and environment
    22. 22. One Windows API, Natural and Familiar Everywhere</li></ul>Don’t need to understand how it worksbut …<br />
    23. 23. Metro Style Application APIs<br />User Interface<br />HTML5/CSS<br />XAML<br />DirectX<br />Controls<br />Data Binding<br />Input<br />Accessibility<br />Printing<br />Tiles<br />SVG<br />Devices<br />Communications & Data<br />Web<br />Contracts<br />Sensors<br />Geolocation<br />Portable<br />NFC<br />Local & Cloud Storage<br />Streams<br />Notifications<br />Media<br />SMS<br />Background Transfer<br />XML<br />Networking<br />Visual Effects<br />Playback<br />PlayTo<br />Capture<br />Fundamentals<br />Application Services<br />Memory Management<br />Threading/Timers<br />Authentication<br />Cryptography<br />Globalization<br />
    24. 24. Windows 8<br />Metro style Apps<br />Desktop Apps<br />HTML<br />JavaScript<br />HTML / CSS<br />XAML<br />View<br />JavaScript<br />(Chakra)<br />C/C++<br />C#, VB<br />Model Controller<br />C<br />C++<br />C#<br />VB<br />Windows Runtime APIs<br />Devices & Printing<br />Communication<br /> & Data<br />Graphics & Media <br />System Services<br />.NET<br />SL<br />Win32<br />IE<br />Application Model<br />Windows Kernel Services<br />Kernel<br />
    25. 25. Windows Runtime Architecture<br />Language Support (CLR, WinJS, CRT)<br />Metro style app<br />Language Projection<br />Web Host (HTML, CSS, JavaScript))<br />UI<br />Pickers<br />Media<br />Controls<br />Windows Metadata & Namespace<br />XAML<br />Storage<br />…<br />Network<br />Runtime Broker <br />Windows Runtime Core<br />Windows Core<br />
    26. 26. Windows Metadata<br />Concise, complete description of the Windows Runtime<br />Generated natively from C++ or C#/VB compiler<br />Efficient binary format<br />Rich enough to allow multi-language projection generation<br />Full IntelliSense on statically known information<br />
    27. 27. Basic Types<br />
    28. 28. Common Patterns<br />
    29. 29. Asynchronous Objects<br />Basic requirement for Metro style apps<br /><ul><li>Always responsive, ready
    30. 30. “Long running” APIs must be delivered as async</li></ul>Simpler to allow apps to make synchronous calls<br /><ul><li>But then bad apps can overwhelm quality of system</li></ul>Instead, build async into API shape<br /><ul><li>And have language projections integrate it deeply</li></ul>Example coming up in the demo<br />
    31. 31. Is That It?<br />No, there’s much more<br /><ul><li>Language Projections
    32. 32. Runtime Object brokering
    33. 33. Threading
    34. 34. Versioning</li></ul>Check out the detailed sessions for more information if you need it<br />
    35. 35. Demo<br />Converting Silverlight to WinRT<br />
    36. 36. Summary<br />Converting Silverlight to WinRT<br /><ul><li>No Blend support for XAML … yet!
    37. 37. No behaviors; use attached properties
    38. 38. No designer-supported font embedding
    39. 39. No RichTextBox; use RichTextBlock
    40. 40. No pixel shaders (Effect property)
    41. 41. No NavigateUri on HyperlinkButton</li></li></ul><li>Where do Silverlight and .NET fit into Windows 8?<br />Silverlight & .NET<br />
    42. 42. .NET Lives!<br />Windows Phone<br />.NET Framework 4.5<br />.NET Profile for Metro style apps<br />Silverlight 5 <br />
    43. 43. The .NET Perspective<br />usingWindows.Storage;<br />using System;<br />using System.IO;<br />usingSystem.Threading.Tasks;<br /> <br />classSample {<br />staticasyncTaskWriteAsync(StorageFolderwrtfolder, string filename, string text) {<br /> <br />varwrtFile = awaitwrtFolder.CreateFileAsync(filename);<br />varwrtStream = awaitwrtFile.OpenAsync(FileAccessMode.ReadWrite);<br />using (Streamstream = wrtStream.OpenWrite()) {<br />using (var writer = newStreamWriter(stream)) {<br />writer.WriteLine(text);<br /> }<br /> }<br /> }<br />}<br />Native namespace<br />Native type<br />Native method<br />C# feature<br />Managed argument passed to native API<br />Managed type returned from a seemingly native method<br />
    44. 44. Removed, Replaced, Changed<br />System.Web<br />System.Data<br />System.Runtime.Remoting<br />Private reflection<br />Application Domains<br />
    45. 45. Removed, Replaced, Changed<br />
    46. 46. Removed, Replaced, Changed<br />
    47. 47. Anything Else?<br />xmlnsxmlns:local="clr-namespace:<namespace>;assembly=MyAssembly>"<br />DispatcherDispatcher.BeginInvoke( (s, a) => { … });<br />Async// Lots of convoluted code<br />xmlnsxmlns:local="using:<namespace>;"<br />DispatcherDispatcher.Invoke(CoreDispatcherPriority.Normal, (s, a) => { … }, this, null);<br />Asyncvar x = await foo.DoAsync();<br />
    48. 48. So, is Silverlight dead or not?<br />Summary<br />
    49. 49. Predictions<br />Windows 8 will have multiple SKUs with and without the Desktop and Metro shell<br />The next major update to Windows Phone will move to Windows Runtime<br />HTML5 + JavaScript is the next “big thing”<br />There won’t be another major update to Silverlight (beyond v5) or WPF<br />But … XAML isn’t going anywhere<br />Disclaimer: These are my personal thoughts and opinions and are not based on any insider information, neither do they necessarily reflect the opinions of anyone else, let alone my employer.<br />
    50. 50. Resources<br />Metro from the Trenches<br />Windows DevCenter<br />Windows Dev Forums<br />
    51. 51. Parting Thoughts<br />“this is the most excited I've been about Microsoft for 5 years” - Robby Ingebretsen<br />“Microsoft is really investing in user experience” - Laurent Bugnion<br />“The new Windows 8 Start screen isn’t just a good idea, it’s a great interface that will make sense on phones, tablets, PCs of all stripes, and even servers. And before you know it, you’ll forget all about that old-fashioned Start menu.” – Paul Thurrott<br />
    52. 52. Q & A<br />What do you want to know?<br />
    1. A particular slide catching your eye?

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