Key technologies for Windows Store business apps

26
Key technologies for Windows Store business apps Robert Green Technical Evangelist [email protected], @rogreen_ms

description

Key technologies for Windows Store business apps. Robert Green Technical Evangelist [email protected], @ rogreen_ms. Agenda. Data Security and authentication Testing Deployment. Data storage o ptions. Application data APIs (Local or roaming) HTML5 web storage. Indexed DB - PowerPoint PPT Presentation

Transcript of Key technologies for Windows Store business apps

Page 1: Key technologies for Windows Store business apps

Key technologies for Windows Store business appsRobert Green Technical [email protected], @rogreen_ms

Page 2: Key technologies for Windows Store business apps

AgendaDataSecurity and authenticationTestingDeployment

Page 3: Key technologies for Windows Store business apps

Data storage options

Local data Remote data

Application data APIs (Local or roaming)HTML5web storage

Indexed DBExtensible storage engine

3rd party databases

SQL serverSQL AzureOther

Page 4: Key technologies for Windows Store business apps

Application data APIsUse it for settings and unstructured data files Provides a local and roaming data store Files have no size limit Roaming files and settings are limited per package in overall size, as defined by ApplicationData.RoamingStorageQuota Available for all languages

Page 5: Key technologies for Windows Store business apps

Extensible storage engineUse for structured and unstructured data ISAM storage technology Store data in tables and retrieve it using indexed or sequential cursor navigation Only C/C++ APIs are provided, but you can wrap calls in a WinRT object for use by any language

Page 6: Key technologies for Windows Store business apps

IndexedDBUse it for structured and indexed data storage Designed to hold simple values and hierarchical objects ISAM storage technology Records consist of key-value pairs that can be indexed Each app has a quota of 250MB Available in JavaScript

Page 7: Key technologies for Windows Store business apps

SQLiteIn process library implementing a self-contained, serverless, zero-configuration, transactional SQL database engine Database contained in a single file Small memory footprint Free and open source • www.sqlite.org

SQLite for Windows Runtime extension for C#/VB/C++ developers

Page 8: Key technologies for Windows Store business apps

Existing servicesThrough the cloud

Directly on-premise

Sockets• Datagram• MessageWeb• TCP stream• StreamWeb

HTTP• HttpClient/

HttpReponseMessage

• WinJS.XHR• XmlHttpRequest

AtomPub/SyndicationData Services

• ASMX• WCF• OData

SQL ServerDynamicsSAPOther

Page 9: Key technologies for Windows Store business apps

Synchronization framework for Windows Runtime

SQL ServerSync ServiceOData

App

SQLite

Page 10: Key technologies for Windows Store business apps

Demo

SQLite and synchronization framework

Page 11: Key technologies for Windows Store business apps

AuthenticationMeeting enterprise standards

Integrated Windows authentication

Enterpriseauthentication and private network

App certificate‒My and Root stores

Certificates

Multi-factor authentication

Credential picker and shared user certifications

Federal ADFS authentication

Web authentication broker

Single sign on Live, Facebook, etc.

Web authentication broker

Page 12: Key technologies for Windows Store business apps

CertificatesCreate/install/import/enroll certificates Use classes in Windows.Security.Cryptography.Certificates namespace Each Windows Store app has its own certificate storage Declare sharedUserCertificates capability to access certs and keys on a smart card

Page 13: Key technologies for Windows Store business apps

Demo

Authentication

Page 14: Key technologies for Windows Store business apps

Data protectionDataProtectionProvider class in Windows.Security.Cryptography.DataProtection namespace Protect and unprotect methods Simple way to encrypt and decrypt data

Page 15: Key technologies for Windows Store business apps

Algorithms and keysWindows.Security.Cryptography.Core namespace Encryption, signing, and hashing Symmetric and asymmetric keys Algorithm providers HashAlgorithmProvider MacAlgorithmProvider SymmetricKeyAlgorithmProvider AsymmetricKeyAlgorithmProvider KeyDerivationAlgorithmProvider

Page 16: Key technologies for Windows Store business apps

Manual testing with Test Manager 2012Requirements: Visual Studio 2012 Pro or above team foundation server Validate app based on test suite or do exploratory testing Connect to Windows 8 device and run app File bugs and attach screenshots Test Manager records your actions Works on both x86 and ARM devices

Page 17: Key technologies for Windows Store business apps

Remote testingDownload Remote Tools for Visual Studio 2012 x86, x64, and ARM versions Debug app from Visual Studio Review prompt to acquire a developer license on a remote device Visual Studio packages and deploys the app and launches it on remote device

Page 18: Key technologies for Windows Store business apps

Demo

Remote testing

Page 19: Key technologies for Windows Store business apps

Self-Service Portal (SSP)

Sideload from customer infrastructure

LOB Windows Store app delivery

Windows RT

Windows 8 (x86)

Download from Windows Store

Public apps

Management infrastructure cloud

Custom LOB appsapplication delivery

Page 20: Key technologies for Windows Store business apps

Preparing apps for IT direct distributionSign with trusted certificate Certificate must be trusted on all machines that will deploy the app Publisher name in certificate must match publisher name in app Run the Windows App Cert Kit Validates technical compliance of the app Validate the app’s capabilities Check for usage of appropriate capabilities • privateNetworkClientServer, documentsLibrary,

enterpriseAuthentication, sharedUserCertificates

Page 21: Key technologies for Windows Store business apps

Preparing machines for IT direct distributionGroup policy set to install all trusted apps Allows install of side loaded apps App must be signed by a certificate that chains to Trusted Publisher App signing certificates are trusted Installation and update by IT-based process Can only be run on enterprise side and loading enabled devices Machine must be enabled for side loading to launch apps Windows 8 Enterprise or Server Edition AND domain joined Windows 8 Professional, Windows RT, non-domain joined Enterprise, activate a secondary product key

Page 22: Key technologies for Windows Store business apps

Demo

Deployment

Page 23: Key technologies for Windows Store business apps

Resources

Page 24: Key technologies for Windows Store business apps

Related sessions2-104 Building Windows 8 LOB apps3-002 Building awesome HTML apps in Blend for Windows 83-006 Designing awesome XAML apps in Visual Studio and Blend for Windows 8 and Windows Phone 83-017 Unit testing Windows Store apps3-123 Security in Windows Store apps

Page 26: Key technologies for Windows Store business apps

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.