Upload
blueangel1908
View
8
Download
2
Tags:
Embed Size (px)
DESCRIPTION
------------------------------------------
Citation preview
Razvoj Universal Windows aplikacija pomou C# i XAML
Spaso Lazarevi | MVP C#
Spaso Lazarevi | Bijeljina
Microsoft Most Valuable professional Senior Software Developer
Windows Phone developer
Windows developer
Speaker
http://spasol.wordpress.com
@spasobn
Setting Expectations
Target Audience Windows Store Developers
Windows Phone Developers
Newbies who want to learn about Universal Windows apps
Suggested Prerequisites/Supporting Material - MVA Programming in C# JumpStart
Essentials of Developing Building Windows Store Apps with C#/XAML
Advanced Windows Store Apps with C#/XAML
Designing your XAML UI with Blend
Workshop agenda
Part 01 10:30-12:00
Building Universal Windows Apps - Part 1The universal promise
The user, store and developer perspective
Building Universal Windows Apps - Part 2Code sharing strategies
Platform-specific code
Sharing XAML
12:00-12:45 Lunch
Part 02 12:45-14:15
Common XAML UI ControlsControls, Styles and Templates
Modern list controlsFlipView, ListView, GridView
ItemsControl
GridView large list performance
NetworkingBackground transfers, HttpClient
Part 03 14:30-16:00Live Tiles and Notifications
Storing Local Data, Universal Demo application
This code is on my blog Universal Windows demo application
http://wp.me/p1ts2q-E3
01 | Building Universal Windows Apps Part 1
Module agenda
The universal promise
The user perspective
The store perspective
The developer perspective
The universal promise
What is a universal app?
You can build an app that targets Windows and Windows Phone
It is not (currently): A single binary
A non-Windows binary (Xamarin) application
Targeting iOS
Targeting Android
An HTML/JavaScript (Cordova) application
Why universal Windows apps?
People work across phones, tablets, and PCs
Why universal Windows apps?
Develop once for all Windows devices using a unified Windows
runtime and VS tools
Windows Phone versions
Windows 8.1 version
The user perspective
What does it mean to be universal?
The consumer promise
Similar theme
Common experience
Shared authentication
Shared data/profile
Single app purchase
Single IAP purchase
Tailoring the experience
The store perspective
What does it mean to be universal?
The Windows Store perspective
Shared package full name
Single app purchase
Single IAP purchase
Roaming data
Shared notification channel
DEMO
Universal App in Windows Store
Buy a universal app on Windows and its available on Phone without additional purchase
Buy an in-app entitlement on Windows and its available on Phone without additional purchase
Register the same Push Notification channel against both the Windows and Phone app
Save roaming data in Windows and that sameData is available in the Phone version
The developer perspective
What does it mean to be universal?
The Visual Studio perspective
Shared project-type A new feature or bug in one
project, everything is updated
Still possible to tailor
Reusing code is meaningful because of unified APIs
The Windows Runtime API & Microsoft SDKs are around 90% converged, and closing
DEMO
Making Windows 8 projectsMixedShared
Universal Apps supports C#, C++, and JavaScript
Windows Phone Silverlight and Windows apps can share a Package Family Name
Existing Windows 8 apps can be migrated to shared projects
Module recap
The universal promise
Code sharing strategies