Building Windows 8 and Windows Azure apps

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Building Web APIs in Windows Azure Name Title Microsoft Corporation.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Multitenant Model Request/Response General Model.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Migrating to Windows Azure SQL Database Name Title Microsoft Corporation.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Windows Azure Connect Name Title Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Building Social Games for Windows 8 with Windows Azure Name Title Microsoft Corporation.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Advanced SQL Azure Database Name Title Microsoft Corporation.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

MIX 09 11/30/2017 5:54 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
Deep dive on app data roaming
Building Windows Phone 7 Applications with the Windows Azure Platform
Web Site Web App Web API microsoftazurepass.com
Title of Presentation 12/2/2018 3:48 PM
Your Devices + OData + Azure = 
Getting started with Windows Azure
Jim Nakashima Program Manager Cloud Tools
1/16/2019 8:14 PM SAC-863T Delivering notifications with the Windows Push Notification Service and Windows Azure Darren Louie, Nick Harris Program Manager,
Building device & cloud apps
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows Azure Overview
4/27/17, Bell #8 What amount of net pay has been earned this period?
SharePoint 2013 Authentication with Azure – Part 1
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Developing Windows Azure Applications with Visual Studio
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

Building Windows 8 and Windows Azure apps 12/5/2018 9:58 PM SAC-872T Building Windows 8 and Windows Azure apps Steve Marx Technical Product Manager, Microsoft blog.smarx.com / @smarx © 2010 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.

Assumptions You’re comfortable building web apps You’re new to building Windows 8 apps You’re relatively new to building Windows Azure apps

Agenda Windows Azure Basics Relevant Metro Style App Features Windows 8 + Windows Azure Patterns

Windows Azure Basics

Windows Azure Microsoft’s cloud platform Designed for: Scalability High availability Developer agility

Windows Azure Development Any tools, any languages (VS and .NET common) Develop and test locally, publish to cloud Applications consist of roles (components) Run on VMs Scaled/upgraded independently Flexible storage options SQL Azure Blobs Tables

Windows Azure App - Typical Architecture Worker Role Web Role LB

Storage Options SQL Azure Windows Azure Tables Windows Azure Blobs Relational database Highly available Managed for you as a service Windows Azure Tables Non-relational structured storage Massive scale-out OData Windows Azure Blobs Big files REST

Windows Azure lets you manage applications, not virtual machines.

Relevant Metro Style App Features

Networking Options XMLHttpRequest (good old Ajax) WebSockets Raw TCP/UDP

Making HTTP Requests WinJS.Application.onmainwindowactivated = function (e) { WinJS.xhr({ url: 'http://www.flatterist.com/api/getrandomcompliment' }).then(function (xhr) { document.getElementById('text').innerText = JSON.parse(xhr.response).Text; }); }

Databinding HTML-compliant “data-*” attributes WinJS.UI and WinJS.Binding namespaces

Databinding <div id="messages"></div> <div id="template" data-win-control="WinJS.Binding.Template"> <h1 data-win-bind="innerText: title"></h1> <p data-win-bind="innerText: body"></p> </div> … WinJS.UI.processAll(); WinJS.UI.getControl(document.getElementById("template")) .render({ title: "Hello", body: "Hello, BUILD!" }) .then(function (e) { messages.appendChild(e); });

Notifications Built-in notification mechanism Server push to client Tile Badge Toast Do not require running app LEARN MORE 863: Delivering notifications with the Windows Push Notification Service and Windows Azure

Notifications: Opening a Channel Windows.Networking.PushNotifications.PushNotificationChannelManager .createPushNotificationChannelForApplicationAsync() .then(function (chan) { WinJS.xhr({ url: 'http://www.flatterist.com/api/registerchanneluri', type: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, data: "id=user1&uri=" + escape(chan.uri) });

Notifications with the Windows Azure Toolkit for Windows 8 var result = new ToastNotification(new WNSAccessTokenProvider(clientID, clientSecret)) { Text = new List<string> { text }, ToastType = ToastType.ToastText01, Priority = NotificationPriority.Normal }.Send(channelUri); Console.WriteLine(result.StatusCode);

Windows 8 + Windows Azure Patterns

Thin Client, Thick Cloud Example: weather app Data, business logic in the cloud Rich UI on the client (alternate interfaces via web, other devices) Requires: Cloud storage (blobs, tables, SQL Azure) Request/response communication (XHR) Local databinding LEARN MORE 861: Using cloud storage from Windows apps LEARN MORE 868: Building device and cloud apps

Real-Time Interaction Example: social game Log-in to server Interactive client UI Real-time updates between players Requires: Identity Real-time communication (WebSockets) LEARN MORE 871: Building social games for Windows 8 with Windows Azure LEARN MORE 858: Identity and access management for Windows Azure apps

Subscription/Syndication Example: RSS reader Subscribe via client application Server generated notifications Client UI for full viewing Requires: Web service call to subscribe Notifications in the cloud LEARN MORE 863: Delivering notifications with the Windows Push Notification Service and Windows Azure

For more information RELATED SESSIONS DOCUMENTATION & ARTICLES 858: Identity and access management for Windows Azure apps 861: Using cloud storage from Windows apps 863: Delivering notifications with the Windows Push Notification Service and Windows Azure 868: Building device and cloud apps 871: Building social games for Windows 8 with Windows Azure http://windowsazure.com http://watwindows8.codeplex.com

thank you Feedback and questions http://forums.dev.windows.com Session feedback http://bldw.in/SessionFeedback

12/5/2018 9:58 PM © 2011 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. © 2011 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.