01 | Building Windows Store Apps with XAML Part 1

Slides:



Advertisements
Similar presentations
Services Course Windows Live SkyDrive Participant Guide.
Advertisements

OAuth 2.0 By “PJ” (JP on meetup.com) iOS and PHP developer, and occasional lawyer Contact me via:
® Microsoft Office 2010 Appendix A: Introduction to SkyDrive and Office Web Apps.
© 2012 Microsoft Corporation. All rights reserved. Introducing SkyDrive. With Windows 8 never be without your files again. SkyDrive helps you sync, store,
Introducing Windows Server 2012 R2 Work Folders:
16.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
Steven Lau Academic Solutions Specialist Microsoft.
1 Trillion Azure AD authentications since the release of the service 50 M Office 365 users active every month >1 Billion authentications every.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Authenticating REST/Mobile clients using LDAP and OERealm
Introduction to Microsoft Office Web Apps with Jim Mollé Learn iT! Computer Software Training.
Fraser Technical Solutions, LLC
® Microsoft Office 2010 Appendix A: Introduction to SkyDrive and Office Web Apps.
© 2012 Autodesk Implementing Cloud-Based Productivity Solutions with the AutoCAD® ObjectARX® API Ravi Krishnaswamy Senior Software Architect.
Instructional Technology & Design Office or Box at U of I: Cloud Services Presented by Kate Rojas.
08 | Advanced Features Jerry Nixon | Microsoft Developer Evangelist Daren May | President & Co-founder, Crank211.
Game Data Anywhere Using Xbox LIVE Cloud Storage Michael Alyn Miller Data Storage Architect Microsoft Corporation.
Advanced topics in touchdevelop touchdevelop vs. apps with Visual Studio comparison Disclaimer: This document is provided “as-is”. Information and views.
 Facebook Integration on iOS Phan Thanh Phat Huynh Thanh Van.
 Online document storage and file sharing.  Access files from anywhere, store them free, and securely share them.  Great back up plan for storing those.
Reduce sign up and sign in friction  by supporting Azure AD for sign in Accelerate user adoption and engagement  by using Azure AD Graph to find users.
Satisfy Your Technical Curiosity 27, 28 & 29 March 2007 International Convention Center (ICC) Ghent, Belgium.
Jerry Nixon | Microsoft Developer Evangelist Daren May | President & Co-founder, Crank211.
Publishing GIS Services to ArcGIS Server
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Today’s Applications Web API Browser Native app Web API Web API
ASP.NET 2.0 Security Alex Mackman CM Group Ltd
Use Outlook Task API to access tasks stored on user’s mailbox. These REST API’s are  Simple to use.  Supports CRUD.  JSON structured.  OAuth 2.0.
Redmond Protocols Plugfest 2016 Andrew Davidoff Mail, Calendar, and Contacts Graph API Demonstration Senior Software Engineer.
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
11 | Managing User Info Jeremy Foster Michael Palermo
Google App Engine. Contents Overview Getting Started Databases Inter-app Communications Modes.
Bhakthi Liyanage SPS Toronto July GOLD BRONZE / PRIZES SILVER.
Document Upload The Document Upload feature enables districts and schools to upload documents for the state to view. The district can also view documents.
4/18/2018 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Jason Bury Dylan Drake Rush Corey Watt
Interacting with O365 using MS Graph API
5/22/2018 3:04 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Embed Power BI in your Web application
Node.js Express Web Applications
Understanding SOAP and REST calls The types of web service requests
Amazon Storage- S3 and Glacier
Data Virtualization Tutorial… OAuth Example using Google Sheets
SharePoint Architect & Developer
Power BI Security Best Practices
Services Course 9/9/2018 3:37 PM Services Course Windows Live SkyDrive Participant Guide © 2008 Microsoft Corporation. All rights reserved.
Dominik Pinter, CMS.IO, Authentication Dominik Pinter,
Power your app with Live services
Appendix A: Introduction to SkyDrive and Office Web Apps
Office 365 Development.
Testing REST IPA using POSTMAN
Microsoft Connect /15/2018 3:03 AM
Brief Overview and Security
Windows SDK for Facebook
Agenda OAuth Concepts Programming OAuth.
File type associations and AutoPlay
Microsoft Build /2/2019 6:45 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
03 | UWA Design Jerry Nixon | Microsoft Developer Evangelist Daren May | President & Co-founder, Crank211.
SharePoint Online Authentication Patterns
Office 365 Development.
Azure Active Directory
The complete developer's guide to the SkyDrive API
INSTRUCTOR NOTES/LINKS
Links Launch Outlook Launch Skype Place Skype on Do Not Disturb.
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
D Guidance 26-Jun: Would like to see a refresh of this title slide
02 | Building Windows Store Apps with XAML Part 2
02 | Responsive Design Daren May | President (CRANK211)
A lap around Azure AD B2C custom policies
Presentation transcript:

01 | Building Windows Store Apps with XAML Part 1 Daren May | President (CRANK211) Jerry Nixon | Developer Evangelist (Colorado)

Module Agenda Windows Design Language Windows Platform Features

Windows Live

Live SDK for Windows 8.1 Uses OAuth 2.0, JSON and REST APIs Simplifies log in and token management Provides shims & UI for interacting endpoints The SDK provides access to: SkyDrive Outlook.com Skype

Microsoft Account

Microsoft account Microsoft account Guidelines Authentication Personalization Information Scopes wl.basic wl.signin Guidelines Sign-in state Enable sign-out

Microsoft Account

SkyDrive

SkyDrive overview Microsoft’s cloud storage solution for files and photo sharing Guidelines for using SkyDrive in Windows 8 Apps Upload data in response to user action Apps are allowed to store data without user interaction Use SkyDrive for what it does best Documents, photos, etc. Don’t undermine trust Respect user security and privacy Warn if data is public, etc.

Where to store app data in SkyDrive Don’t scatter data around SkyDrive Follow this pattern: [SkyDrive root] Sub folder: ApplicationData Sub folder: [Application Name] ([Publisher Name or Company Name]) Files…

SkyDrive API Core Concepts Interact with files using HTTP operations: POST / PUT to upload GET to download MOVE / COPY to move or copy without downloading The SDK wrappers these operations for you: LiveConnectClient.PostAsync LiveConnectClient.GetAsync Etc. Permissions Inherited from parent object up the folder hierarchy

Useful folder and file properties id - prefixed with file or folder i.e. “file.a6b2a7e8f2515e5e.A6B2A7E8F2515E5E!126” name – user supplied display name i.e. “EpisodeNotes.txt” description type – file, folder, album, etc. source – if a file, the path to download the file https://....

Working with SkyDrive API Important types: LiveConnectSession LiveConnectClient Requires a valid session Required scope: wl.skydrive - Read access wl.skydrive_update – read and write access LiveOperationResult contains a dynamic dictionary containing resultant key/value pairs

Retrieving file or folder properties Supply the itemId as either an id or one of the few friendly names: file.a6b2a7e8f2515e5e.A6B2A7E8F2515E5E!126 /me/skydrive

Result properties can be access via dynamic Warning: no type safety or compiler checks!

Understanding folder and file hierarchy Some folders are accessed by Folder ID Example: folder.a6b2a7e8f2515e5e.A6B2A7E8F2515E5E!126 Some folders are accessed by name /me - details about the signed in user /me/skydrive – root of your SkyDrive folder /me/calendars /me/contacts /me/events List files by obtaining the containing folder id

Download a file: Step 1 : Get folders of “/me/skydrive” Imagine we want to download filename.txt: /me/skydrive/directory1/directory2/filename.txt In order to retrieve a list of files and folders contained in directory1 (and we don’t know directory1’s id), we first need to get a list of the folders in /me/skydrive

Download a file: Step 2 : Get “directory1” from list Once we have the list of files and folders (from /me/skydrive), we can find directory1 and its id property: id = folder.96a6fb5ab7b940c6.96A6FB5AB7B940C6!123

Download a file: Step 3 : Get folders of “directory1” We use the Folder Id to find the folders in directory1, so we can find the id for directory2:

Download a file: Step 5 : Get files of “directory2” We repeat the last few steps and get directory2’s id, directory2Id = folder.bb1b4E12b9f9414f.BB1B4E12B9F9414F!231 We use can get a list of files (and folders) in directory2:

Download a file: Step 6 : Get “file.txt” file url We can the find the properties for filename.txt and the path we need to download it:

Download a file: Step 7 : Create local target Now we have the download path, we need to create a local StorageFile where we will write the downloaded file

Download a file: Step 8 : Create local target Use the download path Note: uses the background downloader

Get a file, recap Get folders of “/me/skydrive” Get “directory1” from list Get folders of “directory1” Get “directory2” from list Get files of “directory2” Get “file.txt” file url Create local target Download to target

App Showcase

Module Review Windows Design Language Windows Platform Features