Developer Preview the Software We're Using Today Exists

Total Page:16

File Type:pdf, Size:1020Kb

Developer Preview the Software We're Using Today Exists Slide 1: Developer Preview The software we’re using today exists somewhere between an alpha and a beta release. My understanding is we are at least 10 months from RTM, and possibly 12 months from GA. Microsoft wants us to make it clear that although what we have is really pretty good, there are substantial improvements coming. Don’t draw any negative conclusions from what you see today, but secretly they do love it when you talk about the good stuff. Since this is developer preview, some or all of what I talk about today could change tomorrow. Or not. Sorry if it does, it’s out of my control. And as a demo disclaimer, I’m running a developer preview version of a new OS in a third party virtual machine, in which the OS is technically unsupported. I’m using pre-beta development tools, and accessing services on my host machine. This might be a bumpy ride, or it may be the one demo that goes off trouble free. Slide 2: Win8 Platform and Tools This slide has been the cause of most of misinformation. The first thing to note is that this is not a heatmap—the size of the box does not represent the relative importance. This is just to illustrate the different technology stacks we can use to develop Windows applications. Although HTML and JavaScript are represented, I need to reiterate—we are building native Windows applications. The web stacks are a different diagram, and were not the focus of Build Windows. Slide 3: Why Metro apps? So why would we build a Metro-style application over a traditional desktop application? First and foremost in my mind is compatibility on both x86/x64 and ARM devices. Metro-style apps will be distributed through the Windows Store, which is huge. Before the application store model, think about what it took to sell an application. Part of distribution via the Windows Store is a trial API, where customers can download a full featured limited trial of your application, then unlock the app when they decide to buy. All of the purchase, licensing, upgrade notifications and in-app purchases are handled for us by the Store’s commerce engine. There is an API for inter-app communication, which is used, for example, if we wanted to allow people to share achievements from within our app. The user no longer has to switch apps or authorize a new one to alert a crushing victory in Angry Birds. Instead, we’d use the hooks to open UI parts from Twitter or Facebook apps used to post a status right inside our app. WinRT includes optimizations for touch and gestures, and provides support for cloud sync of user data via the Live API. This means a user’s settings can roam to any Internet connected device. WinRT also enables Live Tiles. WinRT also handles media capture and storage, as well as libraries for XML parsing, networking, and access to devices. Like WP7, access to local resources must be declared in the application manifest and the user must grant permissions for certain accesses. An app can also specify itself as the default handler for domains, so the app will open instead of the browser when the user browses to that domain. Header tags on a web page can also indicate the handler application if it’s present. Slide 4: Two Runtimes Up until now, we have had one Windows runtime to code against--Win32. In Windows 8, a second runtime was added--WinRT. In the current Microsoft parlance, applications which run in Win32 are called "desktop applications", while those which run in WinRT are called "Metro style apps". The claim "if it runs on Windows 7, it runs on Windows 8" is referring to the Win32 desktop applications and the inclusion of Win32. With WinRT, Microsoft has created a sandboxed runtime where XAML is the UI structure. We can use either managed (.NET) or unmanaged (C/C++) as the code behind for the XAML. In WinRT, XAML is not a browser plugin like Silverlight, or a standalone library like WPF; XAML is a native part of Windows. Sandboxing is important. Applications run in their own “application containers” (similar to IIS app pools) and install their dependencies into their own folders. When an app crashes, it won't be able to take down other apps or the OS. There will be duplications of DLLs on your had drive, but each app will have its own requirements in its own folder. Sandboxing also means we have new hoops to jump through to get applications to talk to one another and to the device. The .NET utilized by WinRT is not a separate version. It's the same set of libraries, but a WinRT profile exposes (or "projects") only the methods and properties allowed in WinRT. You can still get funky with the GAC assemblies, but your app will be rejected from the Windows Store. There is a second UI technology Microsoft added to WinRT, it's the one that caused all the fuss, and the one we'll be looking at today. We can now build native Windows applications using HTML and JavaScript. This addition was widely seen as a replacement for other technologies, but is actually just the addition of another option for application development. In addition to XAML, we can now use HTML and CSS for our UI, and JavaScript for our code behind. Metro apps built using HTML/JS are run in an HTML Host process, which runs in its own application container. Architecturally speaking, Metro style apps are very similar in architecture to Windows Phone 7 apps. Slide 5: Buzzwords Windows 8 was touted as “a complete reimagining of Windows”, which means Microsoft’s buzzword team went full-out with new ways to describe Windows. “Clicking buttons” is so Windows 7, in Windows 8, we’ll “interact with charms”. Metro-style apps are “tailored” for both the device and the user. Full screen apps immerse the user in the experience, and two apps can be snapped for user multitasking (note that’s user multitasking, not app multitasking). Metro apps are always connected, and the asynchronous programming model ensures the UX is fluid. Apps should be designed to be interactive and touch-first. Slide 6: Dev tools Right now there are three tools we can use to build Metro-style applications. VS 11 Express preview ships in the Tools ISO. VS 11 Ultimate preview is available on the USB key Build attendees got with their tablets, and you can also download it separately. Blend 5 is also in the Tools ISO, and can be used to style both XAML and HTML Metro apps. Take note, Blend 5 is not meant for web apps—once you edit HTML in Blend, you’re committed to Metro. In both Visual Studio 11s, there are new templates for Metro-style apps, and the same templates are available across all languages. Slide 7: Dev Experience When developing HTML-based Metro-style applications, we can think of the HTML page as the UI, and the JS file as the code-behind. Writing these apps is more like writing user controls than building websites. We have to put our HTML code in certain blocks on the web page, and put our JavaScript in certain blocks in the JS file for everything to be processed correctly. To accommodate multiple device sizes, layout needs to flow, but that means layout can flow awkwardly, so provide positioning guides beyond just “align” (e.g., CSS grids). Cross-domain requests and unsafe script insertions will cause some calls to fail. Cross domain requests are a jQuery security feature which might need to be overruled; that’s done with a single line of code. For this demo, I couldn’t get the jQuery templating to work because the innerHTML calls are seen as unsafe. That’s not to say it can’t be done, we just need to spend a little more time working on it. Slide 8: Metro Contexts When a Metro-style HTML application is running, there are two contexts which control access to resources. The “local context” provides full access to the WinRT, and has limited access to web resources. Scripts can’t be pulled from arbitrary URLs, so they need to be included as local resources. The “web context” provides full access to web resources, but has no access to the WinRT. We can navigate to arbitrary URLs, and can load scripts from CDNs. Depending on the application, the biggest thing we lose in the web context is access to the accelerometer, gyroscope, etc. Slide 9: Data Access Not a surprise when you think about it, but this is a significant departure from the past. Microsoft wants to enforce asynchronous communications, so there are no SQL Server drivers. Data-centric apps will rely on WCF services. If WCF isn’t your thing, stay tuned, Microsoft has a couple things in the pipeline to make developing WCF significantly easier. Local data storage is also an option. For JavaScript apps, we can access an app’s isolated storage (this is what we’ll use to save state when an app is tombstoned), IndexedDB (via IE 10), and local libraries and devices through WinRT. Slide 10: Metro App Design The current definitive reference on designing Metro-style apps is this video from Build. Building the UI is familiar in many ways to good web design. Unlike web design though, there is a greater importance on using the latest capabilities in CSS, HTML and JavaScript to create fluid and interactive layouts.
Recommended publications
  • An Independent Look at the Arc of .NET
    Past, present and future of C# and .NET Kathleen Dollard Director of Engineering, ROICode [email protected] Coding: 2 Advanced: 2 “In the beginning there was…” Take a look back at over 15 years of .NET and C# evolution and look into the future driven by enormous underlying changes. Those changes are driven by a shift in perception of how .NET fits into the Microsoft ecosystem. You’ll leave understanding how to leverage the .NET Full Framework, .NET Core 1.0, .NET Standard at the right time. Changes in .NET paralleled changes in the languages we’ll reflect on how far C# and Visual Basic have come and how they’ve weathered major changes in how we think about code. Looking to the future, you’ll see both the impact of functional approaches and areas where C# probably won’t go. The story would not be complete without cruising through adjacent libraries – the venerable ASP.NET and rock-star Entity Framework that’s recovered so well from its troubled childhood. You’ll leave this talk with a better understanding of the tool you’re using today, and how it’s changing to keep you relevant in a constantly morphing world. Coding: 2 Advanced: 2 “In the beginning there was…” Take a look back at over 15 years of .NET and C# evolution and look into the future driven by enormous underlying changes. Those changes are driven by a shift in perception of how .NET fits into the Microsoft ecosystem. You’ll leave understanding how to leverage the .NET Full Framework, .NET Core 1.0, .NET Standard at the right time.
    [Show full text]
  • DELL EMC VMAX ALL FLASH STORAGE for MICROSOFT HYPER-V DEPLOYMENT July 2017
    DELL EMC VMAX ALL FLASH STORAGE FOR MICROSOFT HYPER-V DEPLOYMENT July 2017 Abstract This white paper examines deployment of the Microsoft Windows Server Hyper-V virtualization solution on Dell EMC VMAX All Flash arrays, with focus on storage efficiency, availability, scalability, and best practices. H16434R This document is not intended for audiences in China, Hong Kong, Taiwan, and Macao. WHITE PAPER Copyright The information in this publication is provided as is. Dell Inc. makes no representations or warranties of any kind with respect to the information in this publication, and specifically disclaims implied warranties of merchantability or fitness for a particular purpose. Use, copying, and distribution of any software described in this publication requires an applicable software license. Copyright © 2017 Dell Inc. or its subsidiaries. All Rights Reserved. Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Intel, the Intel logo, the Intel Inside logo and Xeon are trademarks of Intel Corporation in the U.S. and/or other countries. Other trademarks may be the property of their respective owners. Published in the USA 07/17 White Paper H16434R. Dell Inc. believes the information in this document is accurate as of its publication date. The information is subject to change without notice. 2 Dell EMC VMAX All Flash Storage for Microsoft Hyper-V Deployment White Paper Contents Contents Chapter 1 Executive Summary 5 Summary .............................................................................................................
    [Show full text]
  • T-Mobile and Metropcs Continue to Expand Consumer Choice, Will Offer New Windows Phone 8.1 on Nokia’S Upcoming Lumia 635
    T-Mobile and MetroPCS Continue to Expand Consumer Choice, Will Offer New Windows Phone 8.1 on Nokia’s Upcoming Lumia 635 BELLEVUE, Wash. – April 2, 2014 – Immediately on the heels of Microsoft’s Windows Phone 8.1 unveiling today, T-Mobile US, Inc. (NYSE: TMUS) has announced the company will offer up its Redmond neighbor’s latest mobile OS as part of its ongoing commitment to deliver greater freedom and choice for American wireless consumers – starting with Nokia’s new Lumia 635 coming this summer. The Lumia 635 will be the first device sold in the United States powered out of the box by the very latest Windows Phone 8.1 operating system, introduced earlier today at Microsoft’s 2014 Build developers conference in San Francisco. T-Mobile US today also announced that, come summer, T-Mobile and MetroPCS will be the best places to get the very first smartphone with the new Windows Phone OS for a low upfront cost and with zero service contract, zero overages (while on its wicked-fast network), zero hidden device costs, and zero upgrade wait. And only T-Mobile and MetroPCS customers can experience the next-gen Lumia 635 on America’s fastest nationwide 4G LTE network. “The Un-carrier’s all about removing crazy restrictions and delivering total wireless freedom and flexibility,” said Jason Young, senior vice president of Marketing at T-Mobile. “With Windows Phone, we can offer customers another great choice in mobile platforms. And we’re excited to bring to both T- Mobile and MetroPCS customers the combination of next-gen software, great features and fresh design that Nokia’s latest Windows Phone has to offer.” The Lumia 635 will build on all the qualities and benefits that made its predecessor – the Lumia 521 – so popular among American wireless customers.
    [Show full text]
  • UI Design and Interaction Guide for Windows Phone 7
    UI Design and Interaction Guide 7 for Windows Phone 7 July 2010 Version 2.0 UI Design and Interaction Guide for Windows Phone 7 July 2010 Version 2.0 This is pre-release documentation and is subject to change in future releases. This document supports a preliminary release of a software product that may be changed substantially prior to final commercial release. This docu- ment is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information in this document, including URL and other Internet Web site references, is subject to change without notice. The entire risk of the use or the results from the use of this document remains with the user. Unless otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted in examples herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this docu- ment. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
    [Show full text]
  • Electronic Diagnostics
    ELECTRONIC DIAGNOSTICS otctools.com QUESTIONS? otctools.com 888 789 2602 PROTECT YOUR INVESTMENT ELECTRONIC DIAGNOSTICS PROTECT YOUR INVESTMENT REPAIR TRACK AND TOOLGUARD™ SERVICE COVERAGE PACKAGES YOU CAN COUNT ON At OTC, we recognize that your purchase of OTC tools and equipment is an important investment in your business. The service information provided below demonstrates our commitment to you with online support and extended service coverage you can count on. Warranty Registration Warranty registration is the most important step in providing exceptional customer service. Registration is available online at https://register.servicesolutionsportal.com or call us at 1-800-533-6127 and follow the prompt for OTC technical assistance. Repair TRACK RepairTrack offers you the ability to manage your repair experience with OTC products by providing you with an easy way to send your product in for repair and track it. • From the moment it leaves your facility to the moment it returns, you will have the latest information. • Generate a Repair Return Authorization by printing out a UPS tracking number directly from this site. • Review and approve Repair Estimates online. • Make Credit Card payments for your Repairs online. • Up to date warranty and service information include any special programs that exist with your product. • Find out the latest repair policies and procedures, and where to go for additional information. • Don’t miss this valuable service. For technical support or repair service on your OTC tools or equipment, log on to repairtrack.bosch-automotive.com or call us at 1-800-533-6127 and follow the prompt for OTC technical assistance.
    [Show full text]
  • Taking the Metro with Windows Phone
    1 Taking the Metro with Windows Phone WHAT ’ S IN THIS CHAPTER ➤ How Windows Phone has changed Microsoft ’ s approach to the mobile industry ➤ What the Metro Design Language is and how it came about ➤ An overview of the Start and Lock Screens and how they help users access information on the phone ➤ Why the use of Hubs creates a more connected user experience ➤ What it means to be a Windows Phone developer Microsoft has been building mobile devices for well over 10 years, starting with a variety of Windows CE- based devices, such as the Handheld PC and the Palm- size PC, fi rst released in 1996. Beginning around 2000, these disparate operating systems began converging into what became Windows Mobile, based on the principle of delivering a PC to your pocket. New features were predominately driven by enterprise needs such as device management and security. This eventuallyCOPYRIGHTED worked to the detriment ofMATERIAL the platform as it didn’ t appeal to the average consumer. Devices were more robust than sexy, and the user interface mirrored that of the desktop, even having a Start menu, rather than providing an experience. Throughout this chapter, and in other parts of this book, there will be references to both Windows Mobile and Windows Phone . This is intentional, and they are not the same thing. Windows Mobile refers to the previous mobile operating system from Microsoft that at the time of writing is Windows Mobile 6.5.3. Windows Phone refers to Microsoft ’ s latest offering in the mobile space and starts with Windows Phone 7.
    [Show full text]
  • Damian Karzon
    Damian Karzon Email: [email protected] Twitter: @dkarzon LinkedIn: https://www.linkedin.com/in/dkarzon/ Website: http://dkdevelopment.net I have a passion for building great software development teams and strive to be active and positive within the developer community. Skills Professional Communication, Leadership, Mentoring Programming C#, Javascript, Node.js, Java, Xamarin, Unity3d, Python Web ASP.NET Webforms/MVC/WCF/Core, React, HTML, CSS, Javascript, Cordova Platforms Web, Windows, Mobile, Xbox One Data Tableau, PostgreSQL, MS SQL Server, OData, GraphQL, Singer.io Process Git, Github (Actions), Teamcity, Azure, AWS, Terraform, Cypress Experience Toddle Technology Lead (March 2021 - Present) Plan and implement a data consolidation strategy and reporting capabilities. Developing and maintaining web services and applications for Toddle Platform (Python, React, Next.js, AWS). Developing and maintaining web services and applications for CareForKids Platform (ASP .NET Framework/Core, jQuery, Azure). WORK180 Technology Lead (October 2019 - March 2021) Managing a team of developers to build the company's online platforms. Developing and maintaining web services and applications (ASP .NET Core, React, Next.js, AWS). Plan and implement a data strategy and Business Intelligence tool (Tableau Server). Strategic thinking and planning for the future of the company’s online platform. Prototyping new technologies to solve business issues Proactively identify technical debt and potential problems Work with 3rd party stakeholders on integrations
    [Show full text]
  • Introduction to Windows 8
    [Not for Circulation] Introduction to Windows 8 Windows 8 is a completely redesigned operating system developed from the ground up with touchscreen use in mind as well as near instant-on capabilities that enable a Windows 8 PC to load and start up in a matter of seconds rather than in minutes. Windows 8 Vocabulary Apps - "App" is another word for program. In Windows 8 , some apps come built-in to Windows, and there are even more available in the Windows Store. Live Tiles – Interactive apps that take advantage of Internet access to provide real-time updates. Hot Corners - The corners on your screen are hot corners and give you access to different Windows features. Charms Bar - Contains a set of buttons and commands that control the application you are currently using, as well as provide options for system settings. The Charms bar includes many of the features previously available from the Start button. Metro-style - New layout of Windows 8 with tiles and apps instead of the standard desktop with a Start button. Mobile - Windows 8 is designed for mobile devices, such as tablets. You can also sign into your Windows 8 screen anywhere using your Live ID, and your customized settings travel with you. Touch-centric – Touch is a key element in Windows 8; however, a traditional mouse and keyboard can be used as well. Speed Bump - The small gap between groups of tiles. Speed bumps can be added to create new groups. Where Do I Find: Shut down - Move your mouse to the upper right corner of the screen, and move your mouse down until you see your charms appear.
    [Show full text]
  • US-China Strategic Competition in South and East China Seas
    U.S.-China Strategic Competition in South and East China Seas: Background and Issues for Congress Updated September 8, 2021 Congressional Research Service https://crsreports.congress.gov R42784 U.S.-China Strategic Competition in South and East China Seas Summary Over the past several years, the South China Sea (SCS) has emerged as an arena of U.S.-China strategic competition. China’s actions in the SCS—including extensive island-building and base- construction activities at sites that it occupies in the Spratly Islands, as well as actions by its maritime forces to assert China’s claims against competing claims by regional neighbors such as the Philippines and Vietnam—have heightened concerns among U.S. observers that China is gaining effective control of the SCS, an area of strategic, political, and economic importance to the United States and its allies and partners. Actions by China’s maritime forces at the Japan- administered Senkaku Islands in the East China Sea (ECS) are another concern for U.S. observers. Chinese domination of China’s near-seas region—meaning the SCS and ECS, along with the Yellow Sea—could substantially affect U.S. strategic, political, and economic interests in the Indo-Pacific region and elsewhere. Potential general U.S. goals for U.S.-China strategic competition in the SCS and ECS include but are not necessarily limited to the following: fulfilling U.S. security commitments in the Western Pacific, including treaty commitments to Japan and the Philippines; maintaining and enhancing the U.S.-led security architecture in the Western Pacific, including U.S.
    [Show full text]
  • Xbox LIVE ® WARNING Before Playing This Game, Read the Xbox 360 Console, Xbox LIVE® Is Your Connection to More Games, More Entertainment, More Fun
    Xbox LIVE ® WARNING Before playing this game, read the Xbox 360 console, Xbox LIVE® is your connection to more games, more entertainment, more fun. Go to Xbox 360 Kinect® Sensor, and accessory manuals for important safety and health information.www.xbox.com/support. www.xbox.com/live to learn more. Connecting Before you can use Xbox LIVE, connect your Xbox 360 console to a high-speed Internet Important Health Warning: Photosensitive Seizures connection and sign up to become an Xbox LIVE member. For more information about connecting, and to determine whether Xbox LIVE is A very small percentage of people may experience a seizure when exposed to certain visual images, including flashing lights or patterns that may appear in available in your region, go to www.xbox.com/live/countries. video games. Even people with no history of seizures or epilepsy may have an undiagnosed condition that can cause “photosensitive epileptic seizures” while Family Settings watching video games. Symptoms can include light-headedness, altered vision, These easy and flexible tools enable parents and caregivers to decide which games eye or face twitching, jerking or shaking of arms or legs, disorientation, confusion, momentary loss of awareness, and loss of consciousness or convulsions that can young game players can access based on the content rating. Parents can restrict lead to injury from falling down or striking nearby objects. Immediately stop access to mature-rated content. Approve who and how your family interacts with playing and consult a doctor if you experience any of these symptoms. others online with the Xbox LIVE service, and set time limits on how long they can Parents, watch for or ask children about these symptoms— children and teenagers are more likely to experience these seizures.
    [Show full text]
  • Student Handbook
    MASTER OF SCIENCE IN NURSING & POST-MASTER’S CERTIFICATE Student Handbook 2020 – 2021 (Updated October 2020) TABLE OF CONTENTS Message from the Dean, College of Nursing……………………………………………………….. 1 Message from the MSN/PMC Program Director………………………………………………….. 2 Chapter 1 UNM and CON General Information Introduction: Purpose of the Handbook………………………………………………………... 3 Mission, Vision, and Goals of CON and HSC…………………………………………………. 3 College of Nursing Diversity Statement………………………………………………………... 3 Programs offered by the College of Nursing…………………………................................... 4 Costs for Nursing Programs…………………………………………………………………….. 5 Financial Assistance, Scholarships and Loans………….……………………………………. 5 Student Resources on Main Campus………………………………………………………….. 7 University Resources- (Libraries, Parking)……………………………………………………. 8 Graduate Student Life…………………………………………………………………………… 8 CON Committee Student Representation …………………………………………………….. 9 Student with Disabilities…………………………………………………………………………. 9 Academic Disputes………………………………..…………………………………………….. 10 Title IX-Office of Equal Opportunity……………………………………………………………. 10 FERPA…………………………………………………………………………………………….. 11 HIPAA……………………………………………………………………………………………… 11 Pathfinder…………………………………………………………………………………………. 11 UNM Catalog……………………………………………………………………………………… 11 OEO/Division for Equity and Inclusion……………………………......................................... 11 Chapter 2 MSN Program General Information Graduate Student Orientation…………………………………………………………………… 12 Communication within CON for MSN/PMC Programs………………………………………
    [Show full text]
  • Mastering Xamarin.Forms - Second Edition by Ed Snider
    Mastering Xamarin.Forms - Second Edition by Ed Snider Ebook Mastering Xamarin.Forms - Second Edition currently available for review only, if you need complete ebook Mastering Xamarin.Forms - Second Edition please fill out registration form to access in our databases Download here >> Paperback:::: 192 pages+++Publisher:::: Packt Publishing; 2nd Revised edition edition (March 27, 2018)+++Language:::: English+++ISBN-10:::: 9781788290265+++ISBN-13:::: 978-1788290265+++ASIN:::: 1788290267+++Product Dimensions::::7.5 x 0.4 x 9.2 inches++++++ ISBN10 9781788290265 ISBN13 978-1788290265 Download here >> Description: Key FeaturesPacked with real-world scenarios and solutions to help you build professional grade mobile apps with Xamarin.FormsBuild an effective mobile app architecture with the Xamarin.Forms toolkitMaximize the overall quality of your Xamarin.Forms appsDiscover how to extend and build upon the components of the Xamarin.Forms toolkit to develop effective, robust mobile app architecture. Starting with an app built with the basics of the Xamarin.Forms toolkit, well go step by step through several advanced topics to create a solution architecture rich with the benefits of good design patterns and best practices.Well start by introducing a core separation between the apps user interface and the apps business logic by applying the MVVM pattern and data-binding. Then we will focus on building out a layer of plugin-like services that handle platform-specific utilities such as navigation and geo-location, as well as how to loosely use these services in the app with inversion of control and dependency injection. Next well connect the app to a live web-based API and set up offline synchronization.
    [Show full text]