Developing Windows 8 Store Apps using HTML5 Refresh / Exam Prep M2: Storage, Networking, and Security Michael Palermo Microsoft Technical Evangelist Jeremy Foster Microsoft Technical Evangelist
Jump Start Target Agenda Developing Windows 8 Store Apps using HTML5 Refresh Module 1: Controls Module 2: Storage, Networking, and Security Module 3: UX/UI
Module Agenda Files Networking Security ˃ ˃
Files Pick a file regardless of app layout New folder & file navigation support Easier management and error control
FILES: PARENT, KNOWNFOLDERS, ISEQUAL, NO ERROR demo
Module Agenda Files Networking Security ˃ ˃
New HTTP Client API var uri = new Windows.Foundation.Uri(" var filter = new Windows.Web.Http.Filters.HttpBaseProtocolFilter(); var httpClient = new Windows.Web.Http.HttpClient(filter); httpClient.GetStringAsync(uri).done( function (response) { // use response }, function (caught) { // caught.Message } );
HTTPCLIENT: GET W/CACHE FILTER demo
BackgroundTransfer Updates BackgroundTransferGroup allows for uploads/downloads in parallel, serial, or based on priority Updates via live tile or toast notifications Automatic switch of download (if likely more than 2 min) to a preferred network
BACKGROUNDTRANSFER demo
Connected Standby Updates Apps on Windows lock screen can receive network packets Support for “quiet hours” Support for Ethernet & mobile broadband network adapters
Geofence “Geofence allows an app to define a radius around a geographical point of interest and have the system alert the app when the device it is running on enters or exits that area.”
GEOLOCATION demo
Module Agenda Files Networking Security ˃ ˃
Security Updates Fingerprint authentication Credential Locker – Default when multiple credentials exist for one resource – LastAccessed to determine how long since used – ApplicationSuiteId for sharing credentials between apps that access a shared resource WebAuthenticationBroker – Updated to automatically fill existing credentials based on user consent – stored in Credential Locker
Selective Wipe “Selective wipe enables you to identify folders and files on a user’s PC that can be revoked (and thereafter deleted) by a command from a server” FileRevocationManager.ProtectAsync FileRevocationManager.GetStatusAsync
FILEREVOCATION demo
Summary New support and enhancements for Files Networking Security