Download presentation
Presentation is loading. Please wait.
Published byErlin Tanuwidjaja Modified over 5 years ago
1
Building Metro style apps with XAML with .NET
2/22/2019 6:27 PM DEV353 Building Metro style apps with XAML with .NET Tim Heuer Program Manager Microsoft Corporation © 2007 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.
2
My developer story Access/VBA Delphi VB3->6 (+ASP) “Cool” VB.NET
Palm UI Windows Forms WAP ASP.NET (WebForms) SharePoint (WebParts) WAP Windows Forms SharePoint (WebParts) ASP.NET (WebForms) Windows Presentation Foundation (WPF) Silverlight Windows Phone Windows 8
3
My developer story Access/VBA Delphi VB3->6 (+ASP) “Cool” VB.NET
Palm UI Windows Forms WAP ASP.NET (WebForms) SharePoint (WebParts) WAP Windows Forms SharePoint (WebParts) ASP.NET (WebForms) Windows Presentation Foundation (WPF) Silverlight Windows Phone Windows 8
4
.NET
5
Windows 8
6
I assume… You know .NET or you wouldn’t be here
You know some XAML or at least the core concepts You’re concerned You want to strike it rich in the Windows Store, get acquired by <fill-in-the-blank-hot-company> and have a major motion picture made of your success
7
Familiar and New
8
We’ll focus on… Developer Tools and Project Structure
.NET Framework and WinRT Windows.UI.Xaml Development Patterns Data for Apps Resource management and localization
9
Visual Studio for Metro style Apps
Same great IDE experience you know Great .NET language support for C# and Visual Basic Plugin architecture still allows for your favorite plugin to work (i.e., Resharper, VSCommands, etc.) Blend fully integrated into VS Share same code base Blend designer included in install Windows 8 specific tools Packaging, manifest, deployment, store integration
10
.NET Framework and WinRT
.NET (and C# and Visual Basic) is alive and well Windows Runtime (Windows.*) native APIs projected
11
[DllImport(“kernel32.dll”)]
12
.NET Framework and WinRT
.NET (and C# and Visual Basic) is alive and well Windows Runtime (Windows.*) native APIs projected Can use C#/VB to create WinRT components Async everywhere: await/async keywords are your friends Reference assemblies for Metro style apps Surface area specific for Metro style app development Redundancy removed when matching WinRT API exists Portable Class Library projects Shared code at source and binary level Great for framework developers when possible
13
Development Patterns Code-behind approaches
Simpler apps Event-driven Coupling UI to logic Model-View-ViewModel (MVVM) Separation of concerns More easily testable (TDD) Binding-driven No Behavior support currently
14
demo Lap Around Visual Studio IDE enhancements App model/Manifest
.NET Framework and WinRT © 2007 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.
15
Windows.UI.Xaml
16
Windows.UI.Xaml Same XAML primitives Optimized for touch experiences
New UI Controls, familiar XAML structure GridView/ListView SemanticZoom AppBar Animation Library ThemeAnimations and Transitions Extensibility Large 3rd party ecosystem still thriving
17
XAML UI Framework Extending the Framework
2/22/2019 6:27 PM demo Windows.UI.Xaml XAML UI Framework Extending the Framework © 2007 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.
18
Data for Apps WCF endpoints OData Anonymous type binding Local Storage
Add Service Reference still works! OData In RP: Ultimate only, future will be NuGet/standalone DEV336: Creating and Consuming OData Services for Business Applications Anonymous type binding Local Storage IsolatedStorage Windows.Storage ESE (Jet) SQLite
19
Accessing Data Binding data Debugging data binding
2/22/2019 6:27 PM demo Data for Apps Accessing Data Binding data Debugging data binding © 2007 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.
20
Resources and Localization
Common resource APIs for WinRT No strongly-typed class generation from resource file Folder- or file-based convention RESW == RESX in schema Windows 8 only supports String resources XAML leverages a ‘merge’ technique for markup String- and file-based resources compiled into PRI Visual Studio indexes all files for you
21
Resources and Localization
2/22/2019 6:27 PM demo Resources and Localization Resource Files © 2007 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.
22
Summary and More… You can use .NET for Apps and more
Consider Portable Libraries as a method for code-share targeting Create WinRT components when desired/needed You can leverage your XAMl/.NET skills to be successful quickly in the Windows Store!
23
Platforms improve, UX/UI adapts
25
Related Content DEV369: Creating LOB Metro style Apps in XAML with Microsoft Blend and Visual Studio DEV358: Building Windows 8 Apps for the Enterprise DEV322: Building Windows 8 Metro style Apps with C++ DEV214: Introducing the New Visual Studio 2012 Unit Testing Experience Find Me Later At… Expo
26
DEV Track Resources Visual Studio Home Page :: Somasegar’s Blog :: Jason Zander’s Blog :: Facebook :: Twitter ::
27
Resources Learning TechNet http://northamerica.msteched.com
Connect. Share. Discuss. Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers
28
Complete an evaluation on CommNet and enter to win!
29
MS Tag Scan the Tag to evaluate this session now on myTechEd Mobile
30
2/22/2019 6:27 PM © 2012 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. © 2009 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.
31
2/22/2019 6:27 PM © 2009 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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.