Thursday, April 30, 2015

Build Notifications: April 30, 2015

Jason Sears, Sr. Solutions Architect, Chicago Technology Lead

Tim Chantome and I after the Keynote on Day 2:
20150430_105212

Keynote

The keynote today dived deeper into the topics discussed yesterday organized around a series of conversations highlighted below.

Steve Guggenheimer was one of the speakers during the keynote – have a look at his blog on the Keynote for even more information.

  • Media and Entertainment
    • Muzik Official showed us the capability to drum without a drum set using low latency Bluetooth-enabled drumsticks. We also had a greeting from The Roots’ QuestLove.
  • Commercial Apps
    • Autodesk’s Spark Platform will provider 3D printing capabilities to Windows 10
    • Acumatica demonstrated new ways of reporting with Microsoft Power BI, showing the ability to translate drawings into search terms for querying
  • Building for Windows 10
    • The Universal Windows Platform was discussed in more depth across all form factors: Mobile, Desktop, Xbox, Surface Hub, Holographic, IoT
    • The focus is around one design language and one control set. A great example of this is the new RelativePanel control which allows adaptability to different form factors through adaptive triggers (MinWindowWidth="600" for example)
    • Four divisions of development were discussed more fully today and how they can be bridged to the Universal Windows Platform:
      • Web
        • You can take existing websites, wrap them in universal apps, and make use of the new Windows 10 platform capabilities.
        • This discussion started with improvements coming with Microsoft Edge, such as the 4200+ interoperability improvements with the Microsoft EdgeHTML rendering engine.
        • Over 1.5 times faster than IE11 according to the JetStream benchmark; over twice as fast on the Octane benchmark
      • .NET & Win32
        • Ability to package WPF and Windows Forms apps into .appx and put them into the Windows Store
        • Ability to access universal windows APIs (live tiles, toast notifications)
        • Ability to use app services to pull in data from other universal apps into existing WPF and Windows Forms apps
      • Android Java/C++
        • Windows phones will include an Android subsystem and run these migrated apps in a secure container
        • Gives the ability to reuse the existing Java/C++ code but take advantage of the Windows 10 new platform capabilities
      • iOS Objective C
        • Use the same objective C code and use it with the Windows 10 new platform capabilities
        • You can convert XCode project files into visual studio solutions
        • Full support in visual studio with syntax highlighting
        • This is how King bought Candy Crush Saga to the Windows Phone
  • Cross Platform
    • Demos were given on the consumer side with Fitbit showing adaptable design between PC and Xbox as well as the commercial side with Siemens demoing the Microsoft Surface and the Surface Hub
    • Announced ManifoldJS, which allows developers to create apps across all platforms from an existing website with a manifest.json file
  • Data and the Intelligent Cloud
    • Joseph Sirosh discussed machine learning. He perhaps said it best when he said “The Cloud is Eating Software.” What we have now is this notion of Data as a Platform - digesting data and producing intelligence.
    • He discussed this in conversations around retrospective analytics, real-time analytics, predictive analytics and intelligent SaaS apps.
    • An example of real-time analytics I thought was interesting was How-Old.net
      • Using the new Project Oxford Suite, which includes intelligent services such as the Face API, How-Old.net is able to make educated guesses on my age and gender. Read more about it here. They got it right in my case:
      • Screenshot_2015-04-30-10-09-07

The Future of TypeScript: ECMAScript 6, Async/Await and Richer Libraries (Anders Hejlsberg)

  • TypeScript 1.5 Beta was released today
  • The presentation started with an overview of TypeScript: a typed superset of JavaScript that compiles to plain JavaScript
  • One of the great aspects with TypeScript is the ability to use features from the future today. You may not be able to make use of ECMAScript 6 out of the box across all browsers and to avoid this, TypeScript allows us to use all of the facilities of ECMAScript 6 downgraded to run on ECMAScript 5 and earlier
  • Anders reinforced TypeScript’s focus on "Any Browser. Any Host. Any OS" and how they have been open source from the beginning.
  • One of the interesting features in TypeScript 1.5 is the tsconfig.json file, which gives developers the ability to specify their appropriate flavor of ECMAScript (targeting 5 versus 6 for example)
  • Have a look at the roadmap for the future of TypeScript:
  • 20150430_122955

Building Rich, Contextually Aware Universal Windows Apps Using Sensors

  • This session's focus was on contextually aware sensor APIs, which are available under the Windows.Devices.Sensors namespace. Here is a brief overview of a few:
  • Proximity API: a typical application here is automatically turning off your phone's display during a phone call
  • Activity Detection API: used to detect a user’s motion context, such as running, walking, in a vehicle, or stationary, among others. This can be applied to navigation and maps, as well as health and fitness tracking
  • Pedometer API: used to detect a user’s steps both walking and running as well as the time spent walking and running. The most applicable use here is likely health and fitness tracking
  • Barometer / Altimeter API: reports station pressure as well as relative altitude and elevation. With this API, imagine indoor navigation, like walking up an escalator and detecting the change in elevation. Weather forecasting is also obviously a typical application here
  • If none of those fit your scenario, you can also develop a custom sensor using the Custom Sensor API. Some examples mentioned where a CO2 sensor, UV sensor or Heart Rate Sensor

 

Entity Framework 7: Data for Web, Phone, Store, and Desktop

  • The tag line for this release is: New Platforms / New Data Stores
  • EF7 will be supported on ASP.NET 5 (both .NET 4.6 and Core), as well as with Universal Windows Applications across Windows, Mac and Linux
  • New data stores will be provided, both relational and non-relational, such as Azure Table Storage, including an in-memory provider for testing purposes.
  • A new core will be included with the same top-level experience as EF6.X. One of the interesting new features is the idea of pay-per-play components. EF7 will be more modular with SQL Server broken out into its own assembly, for instance: EntityFramework.SqlServer
  • New Features:
    • Logging with instances implementing ILogger- ability to log all SQL queries executed against the database
    • SaveChanges Improvements - batching up multiple changes into a single round trip to the database
    • Shadow state - ability to have data expressed in your data store while not actually being represented in a CLR class. For instance, perhaps you want a LastUpdated DateTime for an object but you don't want to expose it in your class. You can create this from the DbContext in OnModelCreating. You can then override SaveChanges and use ChangeTracker to set the LastUpdated property.
  • Learn more about EF7 here.

 

Looking forward to tomorrow – especially the discussion on C# 6!

 

Jason Sears