One Microsoft - NET Day Franken

One Microsoft
Neues für Windows und Windows Phone
App Entwickler
Daniel Meixner
Peter Nowak
DevelopersDevelopersDevelopersDevelopers.Net
WinPhoneDev.de
Technical Evangelist
Microsoft Deutschland
@DanielMeixner
IT-Architekt
H&D Internation Group
@PeNoWiMo
Agenda
Platform Convergence
Windows Phone 8.1 for Developers
Windows Universal Apps
Windows 8.1 Enterprise Development News
Platform Convergence
Programming skills
Development tools
Languages, frameworks
Components
Runtimes
Windows Phone 7.5
Convergence Begins with IE
Windows Phone 8.0
Converged Core (NT kernel)
Converging the Dev Platform
•
WP 7.5 shipped with IE9
•
Common kernel & file system
•
More skillset reuse
•
Same rendering engine as Windows
•
Kernel mode driver framework
•
More code reuse
•
Same JavaScript engine as Windows
•
Secure boot & storage encryption
(BitLocker)
•
More seamless app experiences
•
Core networking stack
Developer Platform
Aligning the Stores
•
Shared dev registration
•
Shared entitlement
•
Partial API convergence
(focus on sensors & IAP)
•
Native Code (C++) and DirectX
Common Core Platform
•
IE10
•
Proximity & Location frameworks
•
Security & identity
•
Task scheduler
5
Windows 8
WP8.0 Games DirectX/Direct 3D & C++
WP8.0 XAML & C#/VB with Direct3D Graphics
+ C++
WP8.0 XAML & C#/VB
+ C++
WP7.1 XNA & C#/VB
WP7.1 XAML & C#/VB
.NET API for
Windows
Phone
Windows
Phone
Runtime
Win32 &
COM
Managed
Managed &
Native
Native
|
|
Legend
8
The Windows Runtime (WinRT) is the
shared runtime and API space used by
store apps across the Windows platform
(phone and client)
Dramatic convergence in 8.1
•
Goal is 100% convergence for dev scenarios
•
In 8.0, we had ~30% API convergence
•
With 8.1, we move well past 90%+ convergence
9
Windows Phone 8.1
for Developers
10
11
5/10/2014
Microsoft Confidential
12
Anna is playing her favorite
game. The level is almost
over, and Anna could break
her record. The application
starts recording the screen.
Anna beats a level, with top
score!
The app asks her if she wants
to share this with her
friends? She says – “yes
please!”
Congratulations!
Shall we share this?
The application uploads the
MP4 file, which was
automatically transcoded to a
VGA resolution for quick
uploading, to a website for
sharing.
Share on:
14
Internet Explorer 11 brings more life to the mobile web via better HTML5 support
Ability to code pinning behavior
•
Specify high-resolution site icons
•
Live tiles using notifications
Professional quality video
•
Adaptive streaming
•
Secure viewing
•
Accessibility improvements
WebGL support
Web spec based on OpenGL ES 2.0, to enable use of low-level
3D graphics APIs on web sites and HTML-based apps
Rich user interactions
•
Screen + device orientation APIs
•
Pre-fetch and pre-render
5/10/2014
Microsoft confidential
15
5/10/2014
Microsoft Confidential
16
5/10/2014
Microsoft Confidential
17
• One Visual Studio ‘Universal app’
project template for your app
• Shared dev and test tooling for both platforms
18
5/10/2014
Microsoft Confidential
19
<Page.BottomAppBar>
<CommandBar>
<AppBarButton Icon="Accept" Label="Accept" />
<AppBarButton Icon="Cancel" Label="Cancel" />
<CommandBar.SecondaryCommands>
<AppBarButton x:Uid="AboutAppBarButton" Icon="Help" />
<AppBarButton x:Uid="HomeAppBarButton" Icon="Home" />
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>
Windows.UI.Xaml.*
Classes
Structs
Interfaces
Windows 8.1 SDK
566
119
59
Windows Phone 8.1 SDK
624
131
57
+58
+12
-2
Portable Class Libraries
Portable Class Libraries
• New: Consume WinRT APIs
• New: Portable XAML user controls
• New: Convert a platform-specific class library into a
portable class library by adding another platform
Windows 8.1 Enterprise
Development News
Network Loopback
for Sideloaded Apps
checknetisolation loopbackexempt
Windows Runtime
Brokered Components
Extension Category windows.activatableClass.inProcessServer
InProcessServer
Path>clrhost.dll Path
ActivatableClass ActivatableClassId NWindRt.DAL.Connection
ThreadingModel both
ActivatableClassAttribute Name DesktopApplicationPath
Type string
Value %ProgramFiles%\NWindRt
ActivatableClass
InProcessServer
Extension
Demo
Brokered Components
Debugging, Process Explorer
One Microsoft.
Q&A
Daniel Meixner
Peter Nowak
DevelopersDevelopersDevelopersDevelopers.Net
WinPhoneDev.de
Technical Evangelist
Microsoft Deutschland
@DanielMeixner
IT-Architekt
H&D Internation Group
@PeNoWiMo