Creating Windows Store Apps Using Visual Basic

Slides:



Advertisements
Similar presentations
Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Advertisements

Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
Async Programming WITH ASYNC TASK
1 of 6 Parts of Your Notebook Below is a graphic overview of the different parts of a OneNote 2007 notebook. Microsoft ® OneNote ® 2007 notebooks are digital.
Jon Galloway | Technical Evangelist Christopher Harrison | Content Developer.
Meet Jeremy Thake Jeremy recently joined Microsoft as Technical Product Manager for the Visual Studio Developer story for Office 365 development.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
Kate Gregory | Gregory Consulting James McNellis | Senior Engineer, Visual C++
Gerry O’Brien| Technical Content Development Manager Paul Pardi| Senior Content Publishing Manager.
Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Office 2013 and Windows 8: Essential Concepts and Skills
INSTRUCTOR & FACULTY ORIENTATION Blackboard 9.1. What is Online Learning? The term online learning is used interchangeably with e-learning or electronic.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Word Lesson 13 Sharing Documents Microsoft Office 2010 Advanced Cable / Morrison 1.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Join the MVA Community! ▪ Microsoft Virtual Academy—Free online training! ‒ Tailored for IT Pros and Developers ‒ Over 1M registered users ▪ Earn while.
Jon Galloway | Development Platform Evangelist Christopher Harrison | Microsoft Certified Trainer.
BIT 285: ( Web) Application Programming Lecture 15: Tuesday, February 24, 2015 Microsoft Azure Instructor: Craig Duckett.
Microsoft Virtual Academy Stacey Mulcahy | Technical Evangelist Christopher Harrison | Content Developer.
Jeffrey Snover | Distinguished Engineer & Lead Architect Jason Helmick | Senior Technologist, Concentrated Technology.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Naqash Ahmed | Microsoft Student Partner. Naqash Ahmed | Student of Bachelors in Software Engineering Microsoft Student Partner since November.
Microsoft Virtual Academy Talbott Crowell | Chief Architect, ThirdM.com Rob Latino | Program Manager in Office 365 Support, Microsoft.
Microsoft Virtual Academy Chris Oakman | Managing Partner Infrastructure Team | Eastridge Technology Curtis Sawin | Technical Solutions Professional |
THE FUTURE OF C#: GOOD THINGS COME TO THOSE WHO ‘AWAIT’ Joseph Albahari SESSION CODE: DEV411 (c) 2011 Microsoft. All rights reserved.
XAML and Blend Unni Ravindranathan | Senior Program Manager Lead (Blend) Jerry Nixon | Developer Evangelist (Colorado)
Cross Platform Development with Xamarin & Visual Studio 2013
Building Windows 8 App.
Boost your T-SQL with the APPLY Operator
Chapter 2: The Visual Studio .NET Development Environment
Getting Started with Application Software
Create beautiful, fast, interactive pages in SharePoint
Porting your Unity Game to the Windows Store Jump Start
All Partners Access Network
Introuduction to MOODLE
Social Network Website for USEP
Chapter 4: Multithreaded Programming
Web API Design Jeremy Likness | Principal Architect
Designing Database Solutions for SQL Server
Office 2010 and Windows 7: Essential Concepts and Skills
Becoming a Visio 2013 Power User – Part 3
Programming Robotic Systems using Visual Studio
SQL Server Optimizing Query Plans
Getting Started with Microsoft Office 2010
Cross Platform Development with Xamarin & Visual Studio 2013
Office 365 Development July 2014.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Introduction to AngularJS
Introduction to jQuery
Game Production Basics
Chapter 3: Processes.
Developing Microsoft Azure Solutions Jump Start
A Lap Around Azure Websites Introduction
Last Stop: Getting Your Windows App To Market
Brandon Bray Principal Group Program Manager Microsoft Corporation
Developing Universal Windows Apps with HTML and JavaScript
Microsoft Office Illustrated Fundamentals
Gaming Engines for Windows 8
Quick Start Challenge: Universal Projects to Build a Game
Quick Start Challenge: Microsoft Advertising SDK
04 | State Management Bill Burrows | UW Faculty Member & VB MVP
Running C# in the browser
Lighting Up Real-time Web Communications with SignalR Introduction
Getting Started with PowerShell Jump Start
What’s ASP.NET 5 and Why? Scott Hunter | Director of Program Management Scott Hanselman | Principal Program Manager.
Adding Style with CSS Helen Zeng | Developer Evangelist
Presentation transcript:

Creating Windows Store Apps Using Visual Basic Bill Burrows | UW Faculty Member & VB MVP Anthony D. Green | Program Manager, Microsoft

Meet Bill Burrows Senior Lecturer Emeritus – Foster Business School University of Washington 30+ years teaching a variety of IT courses Published college textbooks on introductory programming concepts using Visual Basic Creator of myVBProf.com tutorial web site Microsoft MVP (Visual Basic) Academic MVP 2001 - 2004 VB MVP 2008-2014

Meet Anthony D Green Program Manager, Managed Languages (VB/C#/F#) team at Microsoft Currently Roslyn Project Visual Basic Team Member Software Consultant in Chicago WinForms, ASP.NET, WPF, Office, SQL Server, and Dynamics CRM Programming in various BASIC programming languages since age 14

Creating Windows Store Apps Using Visual Basic Course Topics Creating Windows Store Apps Using Visual Basic 01 | Modern Design – Focus on Fast & Fluid 04 | State Management 02 | Visual Studio & Windows Store Apps 05 | Client Storage Options 03 | Building AdventureWorks Sample 06 | App Bars, Flyouts & Other UI Considerations

Setting Expectations Target Audience VB Developers looking toward Windows Store Apps Suggested Prerequisites/Supporting Material Windows 8.1 Product Guide: What's new for developers http://msdn.microsoft.com/en-us/windows/apps/bg184615.aspx Windows 8.1 Feature Guide http://msdn.microsoft.com/en-us/library/windows/apps/bg182410 Modern Design http://msdn.microsoft.com/library/windows/apps/hh781237

Course Material www.myVBProf.com PowerPoint Slides Demonstration Code Demonstration Code Comments www.myVBProf.com

Join the MVA Community! Microsoft Virtual Academy Free online learning tailored for IT Pros and Developers Over 1M registered users Up-to-date, relevant training on variety of Microsoft products

01 | Modern Design – Focus on Fast & Fluid Bill Burrows | UW Faculty Member & VB MVP Anthony D. Green | Program Manager, Microsoft

Module Overview Modern Design Overview Blocking the UI Thread Modern Design – Screen Layout

Modern Design Overview

Modern design Pride in craftsmanship Fast and fluid Authentically digital Do more with less Win as one

Fast and fluid – the 50 millisecond rule “Keeping apps fast and fluid with asynchrony in the Windows Runtime” * To achieve those goals, we made many potentially I/O-bound APIs asynchronous in the Windows Runtime. These are the most likely candidates to visibly degrade performance if written synchronously (e.g. could likely take longer than 50 milliseconds to execute). * blog post from Jason Olson, Program Manager, Windows, March 20, 2012

Fast and fluid – WinRT asynchronous API Displaying a message dialog. Working with the file system, including displaying a file picker. Sending and receiving data to and from the Internet Sockets, streams, connectivity Appointments, contacts, calendar Working with file types, such as opening Portable Document Format (PDF) files or decoding image or media formats Interacting with a device or a service

Blocking the UI Thread

Blocking the UI Thread

Important Concepts - Threads An await expression in an async method does not block the current thread while the awaited task is running. The async and await keywords don't cause additional threads to be created. Async methods don't require multithreading and are not the same as parallel programming.

Important Concepts – A Promise An async function gives back a Task immediately, but that Task is just a placeholder: The real result is delivered sometime later. When the async method eventually completes its work, the task is marked as completed and the result, if any, is stored in the task.

Important Concepts – Really Important A method modified by the Async keyword contains at least one Await expression or statement. The method runs synchronously until it reaches the first Await, at which point it suspends until the awaited task completes. In the meantime, control is returned to the caller of the method, e.g., a Click event returns control to the UI thread (that called it) allowing the UI thread to remain responsive.

Blocking the UI Thread – Synchronous Approach Click

Blocking the UI Thread – Synchronous Approach Click

Blocking the UI Thread – Synchronous Approach Click

Blocking the UI Thread – Synchronous Approach Thread is blocked Click

Blocking the UI Thread – Asynchronous Approach Click Thread is blocked

Blocking the UI Thread – Asynchronous Approach Click Thread is blocked

Blocking the UI Thread – Asynchronous Approach Click Thread is blocked

Blocking the UI Thread – Asynchronous Approach Click Thread is blocked

Summary – Asynchronous Advantage Blocking the UI Thread – Synchronous Approach UI Thread Blocking the UI Thread – Asynchronous Approach UI Thread

Modern Design – Screen Layout

Modern Design - Edges ❶Top app bar – used for navigation. ❷Bottom app bar used for commands.

Modern Design - Charms The charms initiate system interactions.

Modern Design – Left edge The left edge is the user's command center for viewing recently used apps, switching apps, and placing multiple apps on the screen side by side.

Module 1 Review Modern Design Overview Blocking the UI Thread Modern Design – Screen Layout