SlideShare a Scribd company logo
“Runtime 8”

DAMIR DOBRIC

Lead Architect DAENET GmbH
Ms. VTSP for Windows Azure
Ms. Integration MVP
Ms. Connected Technology Advisor
Blog: http://developers.de
Twitter: https://twitter.com/ddobric
eMail: damir.dobric@daenet.com
AGENDA
         Platform
                       Platform
        Evolution
                     Compatibility
       “Runtime 8”
WIN8
       Runtime 8
       Under the     Deployment
         hub



        Emulator     WP8 Runtime

WP8

       App Model     Code Sharing



       App Model       Mobile
WAZ
        for Cloud      Services
Evolution
“METRO”-Style Evolution


                                                      Windows RT

             Windows NT          Vista    Windows 8
                                                       WOA/ARM
                      System32            System32/
                                            WinRT
                x86         X64/x86
Windows 95


   DOS       Windows CE/
                            Win Mobile     WP7                     WP8
              Embedded


                            System32/CE                      WP8 Runtime


                                                        Win8
                                                      Embedded
Why new Runtime?
Demo

      P=U*I

    List<>.Add()


 new Thread().Start()


ThreadPool.RunAsync()
Stubs, no pInvoke!

 CLR          WinRT



 RCW          CCW



WinRT        Managed
Object        Object
Stub Samples
New Type System
o Standard Types
  o Windows.*
o Primitive Types
  o Byte, Int32, ..
  o Marshaling required:
      o String, Object
o Projected Types
  o Windows.Foundation.Uri
  o Windows.Foundation.DateTimeOffset
  o HRESULT
o Projected Interfaces
  o IVector<T>,
  o IMap<T>
o Helpers
  o StorageFolder.OpenStreamForReadAsync(fileName);
Demo


           As Runtime
           (Store App)

WinRT

              As API
          (Desktop App)
App Deployment

o Two options
 o App Store
 o Sided Loading (for Enterprises)
   oExplicit Installation
   oProvisioning
Sided Loaded Apps
(none appstore deployment)

o By Group Policy
  If in Windows® 8 Enterprise or Windows
  Server® 2012 domain
  http://technet.microsoft.com/en-us/library/hh852635.aspx#SideloadingRequirements




o By Activation Key
  If not in domain the use volume license key.
o If not in domain and no activation key then
  use AppStore. 
Deployment
Add Apps
Inventory Apps
Remove Apps

add-appxpackage C:app1.appx –DependencyPath C:winjs.appx

Add-AppxProvisionedPackage -Online -FolderPath C:Appx

Get-AppxPackage -AllUsers

Get-AppxPackage -Name Package1 -User domainusername

Remove-AppxPackage Package1



http://technet.microsoft.com/en-us/library/hh852635.aspx
Windows Phone 8


      Emulator    WP8 Runtime

WP8

      App Model   Code Sharing
WP Platform
               Compatibility
o WP7 and WP7.1 Apps run on WP8!
o No general breaking changes
o Existing code is emulated in Quirks-
  Mode
o Some API differences
 example:
 XmlSerializer
 WP8 must have a default constructor.
 WP7 quirks: It is not necessary to have a default
 constructor
o Code after Rebuild targets WP8 platform
The dream or reality?
Upgrade

o In Solution Explorer, use the Upgrade
  to Windows Phone 8.0 command.
o In the project designer, change the
  Target Windows Phone OS Version
  value to Windows Phone OS 8.0.
Demo


Windows Phone 8
Hello World
Emulator

        • Hardware-assisted virtualization supported and
          enabled in the BIOS

        • Second Level Address Translation (SLAT)
          supported by the BIOS

        • Hardware-based Data Execution Prevention
          (DEP) supported and enabled in the BIOS


http://developers.de/blogs/damir_dobric/archive/2012/10/14/windows8-error-hypervisor-is-not-running.aspx
Resolution


                                   Scaled
       Resolution   Aspect ratio
                                   resolution


WVGA   480 × 800    15:9           480 × 800


WXGA   768 × 1280   15:9           480 × 800


720P   720 × 1280   16:9           480 × 853
Windows Phone API
“Runtime 8”
“Runtime 8”
Facts across platforms
Common API-s
Native API      WinRT API
                 Networking
DirectX 11.1
                 Sensors
XAudio2          Proximity
                 Storage
MediaEngine
                 DataSaver/Connection Manager
STL              Location
                 Touch
CRT
                 Online Identity
WinSock          VoIP
                 Keyboard
                 Launchers & Choosers
                 In-App Purchase
                 Sensors
                 Threading
                 Base Types/ Windows.Foundation
New APIs

o   Bluetoth
o   Advanced Capture
o   Lence control
o   Photo and Media enhencmets
o   LongListSelector
o   Subset of WinRT storage API
o   Data Sense API
o   DirectX and native audio and media
o   File and protocol associations
o   In-App purchasing
o   Location tracking in Background
o   App as Lock Screen
o   VoIP
Common Controls




http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj735581(v=vs.105).aspx
Your Apps Your way
Supported Languages
Project Templates

o C# (XAML)
o XNA
o C++
o HTML5
Demo


             Windows Phone 8

            JavaScript


                         Web App
          jQuery
                         on Phone




http://wpwidgetlibrary.codeplex.com/
Threading

o OS 7.1, apps run on a single core, and
  the scheduler is less aggressive in time-
  slicing
o OS 8, apps run on multiple cores and the
  scheduler is more aggressive in time-
  slicing threads.
  Raise conditions and concurrency bugs
  easier to achieve 
Platform Targeting

o Single OS 7.1 version which runs on
  both. No new features are supported.
  Runs in quirks
o Create separate copy for 7.1 and 8.0
o Create separate copy with shared files
Demo


Windows Phone 8,Windows 8

 Code Sharing

  Portable
              Linked Files
   Library



  Camera      Accelerometer
Network Improvements


o Socket Listeners (Incoming)
 Windows.Networking.Sockets

o IPv6
o Winsock Support
o Proximity API
In-App Purchasing

Class            Member                                                      Description




                 LoadListingInformationByProductIdsAsync(ListingInformatio
CurrentApp
                 n productIds)

                 LoadListingInformationByKeywordsAsync(ListingInformation
CurrentApp
                 keywords)


CurrentApp       void ReportProductFulfillment(string productId)

ProductLicense   bool IsConsumable { get; }
ProductListing   string Description { get; }
ProductListing   IEnumerable<string> Keywords {get;}
ProductListing   ProductType ProductType {get;}
ProductListing   string Tag {get;}
ProductListing   Uri ImageUri { get; }
Demo


Custom Protocol
Enterprise Device
                 Enrollment
o Enterprise Enrollment
   o Company Account
   o Symantec Verification
   o Corporate Signing Certificate
o Management
   o System Center
   o InTune
o Token Distribution
   o AETGenerator
     generates Application Enrollment Token (AET)
    .aetx
   o EnterpriseInstall.exe
       o Enrolles Token
       o Distributes XAP
o EnterpriseValidation.exe
   o Periodically sends Device ID, installed apps to MS Server to validate
     enterprise.
o Enterprise Developer API
   o query what apps are installed for enterprise,
   o start an enterprise app installation
   o query pending enterprise app installation
Demo


Background Process
Demo


  Speech
Demo


 Recognition
PNS Infrastructure
Demo


     Windows Phone 8
Windows Azure Mobile Services
Where to start?


WP8 MSDN Documentation
http://msdn.microsoft.com/en-
us/library/windowsphone/develop/ff402535(v=vs.105).aspx

WinRT:
http://de.slideshare.net/ITCamp/itcamp-2012-raffaele-rialdi-introduction-to-
winrt
Recap
 Platform
                 Platform
 Evolution
               Compatibility
“Runtime 8”



 Emulator        WP8 API



                Platform
App Model
                Targeting



                 Mobile
Code Sharing
                 Services
Differences

More Related Content

What's hot

2018 20 best id es for python programming
2018 20 best id es for python programming2018 20 best id es for python programming
2018 20 best id es for python programming
SyedBrothersRealEsta
 
Comp tia a+_session_13
Comp tia a+_session_13Comp tia a+_session_13
Comp tia a+_session_13
Niit Care
 
Explore asp.net core 3.0 features
Explore asp.net core 3.0 featuresExplore asp.net core 3.0 features
Explore asp.net core 3.0 features
iFour Technolab Pvt. Ltd.
 
Deep Dive into WinRT
Deep Dive into WinRTDeep Dive into WinRT
Deep Dive into WinRT
Sasha Goldshtein
 
Android OS Porting: Introduction
Android OS Porting: IntroductionAndroid OS Porting: Introduction
Android OS Porting: Introduction
Jollen Chen
 
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentWindows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Oliver Scheer
 
Comp tia a+_session_05
Comp tia a+_session_05Comp tia a+_session_05
Comp tia a+_session_05
Niit Care
 
Programming With WinRT And Windows8
Programming With WinRT And Windows8Programming With WinRT And Windows8
Programming With WinRT And Windows8
Rainer Stropek
 
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
Digicomp Academy AG
 
C++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - OverviewC++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - Overview
Mirco Vanini
 

What's hot (10)

2018 20 best id es for python programming
2018 20 best id es for python programming2018 20 best id es for python programming
2018 20 best id es for python programming
 
Comp tia a+_session_13
Comp tia a+_session_13Comp tia a+_session_13
Comp tia a+_session_13
 
Explore asp.net core 3.0 features
Explore asp.net core 3.0 featuresExplore asp.net core 3.0 features
Explore asp.net core 3.0 features
 
Deep Dive into WinRT
Deep Dive into WinRTDeep Dive into WinRT
Deep Dive into WinRT
 
Android OS Porting: Introduction
Android OS Porting: IntroductionAndroid OS Porting: Introduction
Android OS Porting: Introduction
 
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 DevelopmentWindows Phone 8 - 1 Introducing Windows Phone 8 Development
Windows Phone 8 - 1 Introducing Windows Phone 8 Development
 
Comp tia a+_session_05
Comp tia a+_session_05Comp tia a+_session_05
Comp tia a+_session_05
 
Programming With WinRT And Windows8
Programming With WinRT And Windows8Programming With WinRT And Windows8
Programming With WinRT And Windows8
 
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
OpenTuesday: Die Selenium-Toolfamilie und ihr Einsatz im Web- und Mobile-Auto...
 
C++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - OverviewC++ in Windows Phone Apps - Overview
C++ in Windows Phone Apps - Overview
 

Similar to Runtime 8 and Windows Phone 8

Windows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers ConferenceWindows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers Conference
Damir Dobric
 
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Sorey García
 
13.30 hr Hebinck
13.30 hr Hebinck13.30 hr Hebinck
13.30 hr Hebinck
Themadagen
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of android
akila_mano
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overview
codeblock
 
Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説
shinobu takahashi
 
SLUGUK BUILD Round-up
SLUGUK BUILD Round-upSLUGUK BUILD Round-up
SLUGUK BUILD Round-up
Derek Lakin
 
Training for New Users
Training for New UsersTraining for New Users
Training for New Users
AVEVA
 
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
John Garland
 
Windows 8 & Phone 8 - an Architectural Battle Plan
Windows 8 & Phone 8 - an Architectural Battle PlanWindows 8 & Phone 8 - an Architectural Battle Plan
Windows 8 & Phone 8 - an Architectural Battle Plan
Caleb Jenkins
 
Windows Mobile 7 Development
Windows Mobile 7 DevelopmentWindows Mobile 7 Development
Windows Mobile 7 Development
pranavaa
 
Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]
Louis Göhl
 
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Jason Conger
 
MSMDC_CLI363
MSMDC_CLI363MSMDC_CLI363
MSMDC_CLI363
mokacao
 
Dot Net Project Mini Game
Dot Net Project Mini GameDot Net Project Mini Game
Dot Net Project Mini Game
varun arora
 
ArcReady - Architecting For The Client Tier
ArcReady - Architecting For The Client TierArcReady - Architecting For The Client Tier
ArcReady - Architecting For The Client Tier
Microsoft ArcReady
 
Sinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the cornerSinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the corner
Catalin Gheorghiu
 
086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010
GeneXus
 
TechDays 2013 Developer Keynote
TechDays 2013 Developer KeynoteTechDays 2013 Developer Keynote
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
Binary Studio
 

Similar to Runtime 8 and Windows Phone 8 (20)

Windows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers ConferenceWindows Phone 8 Advanced Developers Conference
Windows Phone 8 Advanced Developers Conference
 
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8
 
13.30 hr Hebinck
13.30 hr Hebinck13.30 hr Hebinck
13.30 hr Hebinck
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of android
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overview
 
Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説Windows Phone 8.1 アプリ開発徹底解説
Windows Phone 8.1 アプリ開発徹底解説
 
SLUGUK BUILD Round-up
SLUGUK BUILD Round-upSLUGUK BUILD Round-up
SLUGUK BUILD Round-up
 
Training for New Users
Training for New UsersTraining for New Users
Training for New Users
 
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
 
Windows 8 & Phone 8 - an Architectural Battle Plan
Windows 8 & Phone 8 - an Architectural Battle PlanWindows 8 & Phone 8 - an Architectural Battle Plan
Windows 8 & Phone 8 - an Architectural Battle Plan
 
Windows Mobile 7 Development
Windows Mobile 7 DevelopmentWindows Mobile 7 Development
Windows Mobile 7 Development
 
Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]Security best practices for hyper v and server virtualisation [svr307]
Security best practices for hyper v and server virtualisation [svr307]
 
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
Building your Own Mobile Enterprise Application: It’s Not as Hard as You Migh...
 
MSMDC_CLI363
MSMDC_CLI363MSMDC_CLI363
MSMDC_CLI363
 
Dot Net Project Mini Game
Dot Net Project Mini GameDot Net Project Mini Game
Dot Net Project Mini Game
 
ArcReady - Architecting For The Client Tier
ArcReady - Architecting For The Client TierArcReady - Architecting For The Client Tier
ArcReady - Architecting For The Client Tier
 
Sinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the cornerSinergija 12 WP8 is around the corner
Sinergija 12 WP8 is around the corner
 
086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010086 Microsoft Application Platform 2009 2010
086 Microsoft Application Platform 2009 2010
 
TechDays 2013 Developer Keynote
TechDays 2013 Developer KeynoteTechDays 2013 Developer Keynote
TechDays 2013 Developer Keynote
 
Academy PRO: .NET Core intro
Academy PRO: .NET Core introAcademy PRO: .NET Core intro
Academy PRO: .NET Core intro
 

More from Damir Dobric

Tools fuer ki and ml
Tools fuer ki and mlTools fuer ki and ml
Tools fuer ki and ml
Damir Dobric
 
Ai zum anfassen
Ai zum anfassenAi zum anfassen
Ai zum anfassen
Damir Dobric
 
Introduction to Cosmos db
Introduction to Cosmos dbIntroduction to Cosmos db
Introduction to Cosmos db
Damir Dobric
 
What should you know about Net Core?
What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?
Damir Dobric
 
Ai zum anfassen
Ai zum anfassenAi zum anfassen
Ai zum anfassen
Damir Dobric
 
AI for developers
AI for developersAI for developers
AI for developers
Damir Dobric
 
Net core
Net coreNet core
Net core
Damir Dobric
 
Microservices and modern backends - Azure Meetup Frankfurt
Microservices and modern backends  - Azure Meetup FrankfurtMicroservices and modern backends  - Azure Meetup Frankfurt
Microservices and modern backends - Azure Meetup Frankfurt
Damir Dobric
 
Building Applications for HoloLens
Building Applications for HoloLensBuilding Applications for HoloLens
Building Applications for HoloLens
Damir Dobric
 
Key Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core ApplicationsKey Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core Applications
Damir Dobric
 
IoT Ultimate Session
IoT Ultimate SessionIoT Ultimate Session
IoT Ultimate Session
Damir Dobric
 
Moderne backends mit dem aktor programmiermodell
Moderne backends mit dem aktor programmiermodellModerne backends mit dem aktor programmiermodell
Moderne backends mit dem aktor programmiermodell
Damir Dobric
 
IoT with UWP, .NETCore and Azure
IoT with UWP, .NETCore and AzureIoT with UWP, .NETCore and Azure
IoT with UWP, .NETCore and Azure
Damir Dobric
 
Microsoft Io TechCamp Frankfurt am Main 2015
Microsoft Io TechCamp Frankfurt am Main 2015Microsoft Io TechCamp Frankfurt am Main 2015
Microsoft Io TechCamp Frankfurt am Main 2015
Damir Dobric
 
Microservices and Azure App Services
Microservices and Azure App ServicesMicroservices and Azure App Services
Microservices and Azure App Services
Damir Dobric
 
Azure Machine Learning Intro
Azure Machine Learning IntroAzure Machine Learning Intro
Azure Machine Learning Intro
Damir Dobric
 
Internet of Things, Cloud & Co.
Internet of Things, Cloud & Co.Internet of Things, Cloud & Co.
Internet of Things, Cloud & Co.
Damir Dobric
 
Internet of Things & Co.
Internet of Things & Co.Internet of Things & Co.
Internet of Things & Co.
Damir Dobric
 
IoT, connecting apps, devices and services
IoT, connecting apps, devices and servicesIoT, connecting apps, devices and services
IoT, connecting apps, devices and services
Damir Dobric
 
Connecting Apps, Devices and Services
Connecting Apps, Devices and ServicesConnecting Apps, Devices and Services
Connecting Apps, Devices and Services
Damir Dobric
 

More from Damir Dobric (20)

Tools fuer ki and ml
Tools fuer ki and mlTools fuer ki and ml
Tools fuer ki and ml
 
Ai zum anfassen
Ai zum anfassenAi zum anfassen
Ai zum anfassen
 
Introduction to Cosmos db
Introduction to Cosmos dbIntroduction to Cosmos db
Introduction to Cosmos db
 
What should you know about Net Core?
What should you know about Net Core?What should you know about Net Core?
What should you know about Net Core?
 
Ai zum anfassen
Ai zum anfassenAi zum anfassen
Ai zum anfassen
 
AI for developers
AI for developersAI for developers
AI for developers
 
Net core
Net coreNet core
Net core
 
Microservices and modern backends - Azure Meetup Frankfurt
Microservices and modern backends  - Azure Meetup FrankfurtMicroservices and modern backends  - Azure Meetup Frankfurt
Microservices and modern backends - Azure Meetup Frankfurt
 
Building Applications for HoloLens
Building Applications for HoloLensBuilding Applications for HoloLens
Building Applications for HoloLens
 
Key Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core ApplicationsKey Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core Applications
 
IoT Ultimate Session
IoT Ultimate SessionIoT Ultimate Session
IoT Ultimate Session
 
Moderne backends mit dem aktor programmiermodell
Moderne backends mit dem aktor programmiermodellModerne backends mit dem aktor programmiermodell
Moderne backends mit dem aktor programmiermodell
 
IoT with UWP, .NETCore and Azure
IoT with UWP, .NETCore and AzureIoT with UWP, .NETCore and Azure
IoT with UWP, .NETCore and Azure
 
Microsoft Io TechCamp Frankfurt am Main 2015
Microsoft Io TechCamp Frankfurt am Main 2015Microsoft Io TechCamp Frankfurt am Main 2015
Microsoft Io TechCamp Frankfurt am Main 2015
 
Microservices and Azure App Services
Microservices and Azure App ServicesMicroservices and Azure App Services
Microservices and Azure App Services
 
Azure Machine Learning Intro
Azure Machine Learning IntroAzure Machine Learning Intro
Azure Machine Learning Intro
 
Internet of Things, Cloud & Co.
Internet of Things, Cloud & Co.Internet of Things, Cloud & Co.
Internet of Things, Cloud & Co.
 
Internet of Things & Co.
Internet of Things & Co.Internet of Things & Co.
Internet of Things & Co.
 
IoT, connecting apps, devices and services
IoT, connecting apps, devices and servicesIoT, connecting apps, devices and services
IoT, connecting apps, devices and services
 
Connecting Apps, Devices and Services
Connecting Apps, Devices and ServicesConnecting Apps, Devices and Services
Connecting Apps, Devices and Services
 

Recently uploaded

Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 

Recently uploaded (20)

Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 

Runtime 8 and Windows Phone 8

  • 1. “Runtime 8” DAMIR DOBRIC Lead Architect DAENET GmbH Ms. VTSP for Windows Azure Ms. Integration MVP Ms. Connected Technology Advisor Blog: http://developers.de Twitter: https://twitter.com/ddobric eMail: damir.dobric@daenet.com
  • 2. AGENDA Platform Platform Evolution Compatibility “Runtime 8” WIN8 Runtime 8 Under the Deployment hub Emulator WP8 Runtime WP8 App Model Code Sharing App Model Mobile WAZ for Cloud Services
  • 4. “METRO”-Style Evolution Windows RT Windows NT Vista Windows 8 WOA/ARM System32 System32/ WinRT x86 X64/x86 Windows 95 DOS Windows CE/ Win Mobile WP7 WP8 Embedded System32/CE WP8 Runtime Win8 Embedded
  • 6. Demo P=U*I List<>.Add() new Thread().Start() ThreadPool.RunAsync()
  • 7. Stubs, no pInvoke! CLR WinRT RCW CCW WinRT Managed Object Object
  • 9. New Type System o Standard Types o Windows.* o Primitive Types o Byte, Int32, .. o Marshaling required: o String, Object o Projected Types o Windows.Foundation.Uri o Windows.Foundation.DateTimeOffset o HRESULT o Projected Interfaces o IVector<T>, o IMap<T> o Helpers o StorageFolder.OpenStreamForReadAsync(fileName);
  • 10. Demo As Runtime (Store App) WinRT As API (Desktop App)
  • 11. App Deployment o Two options o App Store o Sided Loading (for Enterprises) oExplicit Installation oProvisioning
  • 12. Sided Loaded Apps (none appstore deployment) o By Group Policy If in Windows® 8 Enterprise or Windows Server® 2012 domain http://technet.microsoft.com/en-us/library/hh852635.aspx#SideloadingRequirements o By Activation Key If not in domain the use volume license key. o If not in domain and no activation key then use AppStore. 
  • 13. Deployment Add Apps Inventory Apps Remove Apps add-appxpackage C:app1.appx –DependencyPath C:winjs.appx Add-AppxProvisionedPackage -Online -FolderPath C:Appx Get-AppxPackage -AllUsers Get-AppxPackage -Name Package1 -User domainusername Remove-AppxPackage Package1 http://technet.microsoft.com/en-us/library/hh852635.aspx
  • 14. Windows Phone 8 Emulator WP8 Runtime WP8 App Model Code Sharing
  • 15. WP Platform Compatibility o WP7 and WP7.1 Apps run on WP8! o No general breaking changes o Existing code is emulated in Quirks- Mode o Some API differences example: XmlSerializer WP8 must have a default constructor. WP7 quirks: It is not necessary to have a default constructor o Code after Rebuild targets WP8 platform
  • 16. The dream or reality?
  • 17. Upgrade o In Solution Explorer, use the Upgrade to Windows Phone 8.0 command. o In the project designer, change the Target Windows Phone OS Version value to Windows Phone OS 8.0.
  • 19. Emulator • Hardware-assisted virtualization supported and enabled in the BIOS • Second Level Address Translation (SLAT) supported by the BIOS • Hardware-based Data Execution Prevention (DEP) supported and enabled in the BIOS http://developers.de/blogs/damir_dobric/archive/2012/10/14/windows8-error-hypervisor-is-not-running.aspx
  • 20. Resolution Scaled Resolution Aspect ratio resolution WVGA 480 × 800 15:9 480 × 800 WXGA 768 × 1280 15:9 480 × 800 720P 720 × 1280 16:9 480 × 853
  • 25. Common API-s Native API WinRT API Networking DirectX 11.1 Sensors XAudio2 Proximity Storage MediaEngine DataSaver/Connection Manager STL Location Touch CRT Online Identity WinSock VoIP Keyboard Launchers & Choosers In-App Purchase Sensors Threading Base Types/ Windows.Foundation
  • 26. New APIs o Bluetoth o Advanced Capture o Lence control o Photo and Media enhencmets o LongListSelector o Subset of WinRT storage API o Data Sense API o DirectX and native audio and media o File and protocol associations o In-App purchasing o Location tracking in Background o App as Lock Screen o VoIP
  • 30. Project Templates o C# (XAML) o XNA o C++ o HTML5
  • 31. Demo Windows Phone 8 JavaScript Web App jQuery on Phone http://wpwidgetlibrary.codeplex.com/
  • 32. Threading o OS 7.1, apps run on a single core, and the scheduler is less aggressive in time- slicing o OS 8, apps run on multiple cores and the scheduler is more aggressive in time- slicing threads. Raise conditions and concurrency bugs easier to achieve 
  • 33. Platform Targeting o Single OS 7.1 version which runs on both. No new features are supported. Runs in quirks o Create separate copy for 7.1 and 8.0 o Create separate copy with shared files
  • 34. Demo Windows Phone 8,Windows 8 Code Sharing Portable Linked Files Library Camera Accelerometer
  • 35. Network Improvements o Socket Listeners (Incoming) Windows.Networking.Sockets o IPv6 o Winsock Support o Proximity API
  • 36. In-App Purchasing Class Member Description LoadListingInformationByProductIdsAsync(ListingInformatio CurrentApp n productIds) LoadListingInformationByKeywordsAsync(ListingInformation CurrentApp keywords) CurrentApp void ReportProductFulfillment(string productId) ProductLicense bool IsConsumable { get; } ProductListing string Description { get; } ProductListing IEnumerable<string> Keywords {get;} ProductListing ProductType ProductType {get;} ProductListing string Tag {get;} ProductListing Uri ImageUri { get; }
  • 38. Enterprise Device Enrollment o Enterprise Enrollment o Company Account o Symantec Verification o Corporate Signing Certificate o Management o System Center o InTune o Token Distribution o AETGenerator generates Application Enrollment Token (AET) .aetx o EnterpriseInstall.exe o Enrolles Token o Distributes XAP o EnterpriseValidation.exe o Periodically sends Device ID, installed apps to MS Server to validate enterprise. o Enterprise Developer API o query what apps are installed for enterprise, o start an enterprise app installation o query pending enterprise app installation
  • 43. Demo Windows Phone 8 Windows Azure Mobile Services
  • 44. Where to start? WP8 MSDN Documentation http://msdn.microsoft.com/en- us/library/windowsphone/develop/ff402535(v=vs.105).aspx WinRT: http://de.slideshare.net/ITCamp/itcamp-2012-raffaele-rialdi-introduction-to- winrt
  • 45. Recap Platform Platform Evolution Compatibility “Runtime 8” Emulator WP8 API Platform App Model Targeting Mobile Code Sharing Services

Editor's Notes

  1. Platforn, Clr and App compatibility
  2. Ecosystem Overview There are some general steps that enterprises must follow to establish an enterprise account, enroll devices and distribute apps to their enrolled devices. The following list describes these. An enterprise establishes an account on the developer site and is verified by SymantecAn enterprise receives a certificate, which they use to create an enrollment token to enroll devices in their enterprise.The enterprise can use the same certificate to sign apps and deploy them to their app portal.Users within the enterprise install the enrollment token on their phone, either through an OMA DM system or manually.Once a phone is enrolled in the enterprise, the employee can visit an enterprise specific app portal and download and install apps.Enterprises can query a phone for the enterprise-specific apps installed on the device.Enterprise Enrollment Enterprises will be required to establish a company account on Windows Phone Dev Center. As a part of establishing the account the enterprise will undergo a verification process with Symantec. Once an enterprise account has been established, a certificate and tools are provided to enterprises to enable them to sign apps and complete other tasks specific to enterprise app distribution. Enterprise Enrollment Token Distribution An enterprise can either manage Windows Phones using an OMA-DM management system such as System Center or InTune or they can use a set of tools provided by Microsoft to manage their phones manually. Following is a list of some of these tools and their purpose. AETGenerator Generates an Application Enrollment Token (AET) for distribution to a phone.EnterpriseInstall.exe Provides enterprise token enrollment and distribution of one enterprise XAP. This typically application launches when a user clicks a link or attachment that contains the application enrollment token (.AETX) file.EnterpriseValidation.exe Enables enterprise-enrolled phone to periodically send a message to a Microsoft server to report device ID, enterprise apps installed on the phone and the validity of the enterprise.Enterprise Developer APIs