Windows Camp 2015. #wincamp Windows Camp Игорь Сычев Premier Field Engineer, Microsoft...

29
Windows Camp 2015

Transcript of Windows Camp 2015. #wincamp Windows Camp Игорь Сычев Premier Field Engineer, Microsoft...

PowerPoint Presentation

Windows Camp 2015#wincamp

Windows Camp Premier Field Engineer, Microsoft / VS2015 Windows 10.Windows CampUniversal Windows Platform (UWP)

VS2015 versions for Windows 10EnterpriseProfessionalCommunity (Visual Studio Community is free for individual developers, open source projects, academic research, education, and small professional teams. )Express for Windows 10 (Install on windows 10 for app development for windows 10) https://www.visualstudio.com/en-us/downloads/visual-studio-2015-system-requirements-vs.aspxhttps://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx5Windows 10Windows 8/8.1Windows 7Write CodeDeploy/Debug to Remote MachineDeploy to EmulatorDeploy to SimulatorDeploy to Local MachineVS DesignerUI Debugging ToolsFeatures group by OShttps://www.visualstudio.com/visual-studio-2015-compatibility-vs https://www.visualstudio.com/visual-studio-2015-compatibility-vs07-Sep-15 12:146 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.Supported OS for Universal Windows developmentWindows 10Windows Server 2012 R2Windows 8.1Windows 7Best developer experience for building Universal Windows appsDeploy/Debug/ProfileSimulatorLocal MachineMobile EmulatorsRemote MachineDeviceXAML Designer/IntellisenseManifest DesignerAll other features work at parity with Windows 8.1, except:Deploy/Debug/ProfileRemote MachineDeviceNo Manifest Designer

All other features work at parity with Windows 10, except:Deploy/Debug/ProfileMobile EmulatorsRemote MachineDeviceNo XAML DesignerNo WACK (Server R2)

2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.07-Sep-157How to Install?Install Visual Studio tools for Universal Windows apps

XAML Tree Visualizer (XamlPivot)Windows Camp 2015 #wincampDEMOhttps://msdn.microsoft.com/en-us/library/dd409789.aspxhttp://blogs.msdn.com/b/visualstudio/archive/2015/02/24/introducing-the-ui-debugging-tools-for-xaml.aspxhttps://channel9.msdn.com/Series/ConnectOn-Demand/228 9

Diagnostic Tools - MemoryWindows Camp 2015 #wincampDEMOhttp://blogs.msdn.com/b/visualstudioalm/archive/2015/01/16/diagnostic-tools-debugger-window-in-visual-studio-2015.aspxhttp://blogs.msdn.com/b/visualstudioalm/archive/2015/07/20/performance-and-diagnostic-tools-in-visual-studio-2015.aspxhttp://blogs.msdn.com/b/visualstudioalm/archive/2014/11/13/memory-usage-tool-while-debugging-in-visual-studio-2015.aspx13

NetworkWindows Camp 2015 #wincampDEMOhttp://blogs.msdn.com/b/visualstudio/archive/2015/05/04/introducing-visual-studio-s-network-tool.aspx16

PackagingNuGetUWA support referencing Windows 8.1 NuGet packages

Build 2014 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.07-Sep-1522Project Properties

Windows 10 PackagingA package is applicable to a device if the device satisfies all the declared dependencies:Device familyUniversal, Desktop, Mobile, Xbox, Team, Holographic Can precisely specify required minimum device family versionProcessor architectureARM, x86, x64, NeutralForeground memory [optional]Amount of memory your app can use while it is running in the foreground300MB, 750MB, 1000MB, 2000MBDirectX [optional]Combination of DirectX API version and DirectX hardware feature levelPackage selectionStore automatically chooses the highest-versioned applicable package for a device

Store will try all published packages for your app until we find a matchBuild 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.07-Sep-15 12:1425Package selectionGaming desktopDesktop Device FamilyWindows 10.0.11041.0DXFL 12_0Build 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.07-Sep-15 12:1426Package selectionOlder laptopDesktopWindows 10.0.12473.0x86 processorDXFL 11_0Build 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.07-Sep-15 12:1427Package selectionValue phoneWindows 10 Mobile190MB foreground memoryBuild 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.07-Sep-15 12:1428DevicePackage givenGaming desktopv1.9.0.0Older laptopv1.8.4.0Value phonev1.4.2.0Package selectionBuild 2015 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.07-Sep-15 12:1429VS 2015 store support/TemplatesIn VS2015 integrated store support for Win8.1,Win10 app

We can still build Windows Phone 8.0 apps, but we have no store support in VS2015 and have no templatesDeclare the hardware you needStore will inform customers for youReviews only come from qualifying devicesHardware preferencesProtect your customers and your apps ratingHardware preferencesAll preferences work across consistently all Windows 10 device families

Store detects this hardware with public APIsTouch screenMouseKeyboardCameraNFC HCENFCBluetooth LETelephonyPackaging ToolingWindows Camp 2015 #wincampDEMOhttp://blogs.msdn.com/b/visualstudio/archive/2015/05/04/introducing-visual-studio-s-network-tool.aspx33

.Net Native.NET Native compiles C# to native machine code that performs like C++. With .NET Native optimization, apps start up to 60% faster and use 15-20% less memory when compiled with .NET Native.https://msdn.microsoft.com/en-us/vstudio/dotnetnative.aspxhttp://blogs.msdn.com/b/dotnet/archive/2014/05/09/the-net-native-tool-chain.aspxhttps://channel9.msdn.com/Blogs/DevRadio/NET-Native-Performance-Optimizing-Your-Windows-Apps-with-NET-Native/https://msdn.microsoft.com/en-us/library/dn584397.aspxhttps://channel9.msdn.com/Shows/Going+Deep/Inside-NET-Native36The .NET Native Tool-ChainBuilding the MSIL application from sourceGenerating interop marshaling and serialization codeMerging the applicationReducing the applicationOther MSIL transformationsCompiling from MSIL to Machine Dependent Intermediate Language (MDIL)Binding from MDIL to native code

http://blogs.msdn.com/b/dotnet/archive/2014/05/09/the-net-native-tool-chain.aspx37

38

.Net NativeWindows Camp 2015 #wincampDEMOhttp://blogs.msdn.com/b/visualstudio/archive/2015/05/04/introducing-visual-studio-s-network-tool.aspx40Consolidate (Merge Codebase)Universal 8.1 AppSingle Universal Windows Project

41Web Tooling- NPM/NODE/GULPWindows Camp 2015 #wincampDEMOhttps://www.visualstudio.com/en-us/features/modern-web-tooling-vs.aspxhttps://www.visualstudio.com/features/cordova-vs.aspx42Windows Device Family Extension SDKsUse device family specific APIs by adding references to Windows Device Family Extension SDKs

3rd Party Extension SDKsDevelopers can reference Windows 8.1 Extension SDKs in a Universal Windows app

Referencing a native Windows 8.1 Extension SDK requires referencing Microsoft Visual C++ 2013 Runtime Package for Windows Universal SDK

Developers can build Extension SDKs for Universal Windows platform and write adaptive code against platform APIs

Universal Windows Extension SDKs are installed under:\Program Files\Microsoft SDKs\Windows Kits\10\ExtensionSDKs

3rd Party Extension SDKManifest.xml

, Premier Field Engineer, [email protected] / VS2015 Windows 10.

472015 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.