360 likes | 567 Views
Building Windows Apps. Jason Keicher, Technical Specialist Jason.Keicher@Microsoft.com. Agenda Modern App Overview WPF Async Window Store Apps Portable Class Library. Modern Apps : A technology overview. The Big 5 modern app technology trends. 4. Big data. Identity federation.
E N D
Building Windows Apps Jason Keicher, Technical Specialist Jason.Keicher@Microsoft.com
AgendaModern App OverviewWPF AsyncWindow Store AppsPortable Class Library
The Big 5 modern app technology trends 4 Big data Identity federation Internet scale services Connected devices Hybrid infrastructure
App development and lifecycle management tools 5 Connected Device Apps Identity Federation Web APIs (REST, ODATA) Unified Management On-premise Infrastructure Private cloud Big Data/DaaS IaaS PaaS
App development and lifecycle management tools 7 Connected Device Apps Identity Federation Web APIs (REST, ODATA) Unified Management On-premise Infrastructure Private cloud Big Data/DaaS IaaS PaaS
Visual Studio 8 Connected Device Apps Windows Server and Windows Azure Active Directory ASP.NET MVC Web API, Entity Framework, Windows Azure Mobile Services Windows Server and SQL Server Windows Azure Systems Center
Windows 8 Technology paths Windows 7 .NETWinForms .NET/XAML WPF .NET/XAMLSilverlight HTML/JSASP.NET Desktop HTML/Browser Windows Store Apps .NETWinForms .NET/XAML WPF .NET/XAMLSilverlight HTML/JSASP.NET HTML/JSWinRT .NET/XAMLWinRT C++/XAML/DX Windows 8
Which technology to use? Heavy-duty data apps No UX customization Can reuse client logic Productivity UX customization • .NET / WinForms Portability Heavy-duty data apps Compelling UX Can reuse client logic and assets Productivity NATIVE UX customization • .NET / XAML Portability Maximum performance Highly interactive UX Can reuse client logic across devices Productivity UX customization • C++ Portability Lower developer productivity Standard based UX Fully interoperable across devices Productivity WEB UX customization • HTML5 Portability
Visual Studio 2012: Native and web in one tool Windows Store Apps Desktop applications HTML5, CSS3 web sites • Native Highly interactive web applications • Web
Visual Studio 2012 and Windows Simplicity New language features Streamlined UI Search across the IDE and tool windows Multi Monitor Support Choice between programming for Windows 8 apps Windows 8 Store Applications: XAML & C#/VB HTML5 & WinJS C++
Windows 8 Technology Paths Windows 7 .NETWinForms .NET/XAML WPF .NET/XAMLSilverlight HTML/JSASP.NET Desktop HTML/Browser Windows 8 .NETWinForms .NET/XAML WPF .NET/XAMLSilverlight HTML/JSASP.NET HTML/JSWinRT .NET/XAMLWinRT C++/XAML/DX Windows 8
Desktop Applications Your existing investment remains sound Visual Studio 2012 has a ton of great features Solution round-tripping Multi-targeting Enhanced, rich WPF editor Search across the IDE and tool windows Multi Monitor Support .NET framework 4.5 brings new features Built-in support for asynchronous execution makes it easy to build rich, responsive applications
Building Windows Store Apps New designers for all Windows Store apps Shared architecture with Blend Language projections over WinRT means HTML and JavaScript Visual Basic and XAML Visual C++ and XAML Visual C# and XAML Visual C++/DirectX
Simplified Windows Platform for HTML Single consistent platform Single HTML5 DOCTYPE Web standards, plug-in free Full-screen and docked apps Full access to Windows Runtime (WinRT)
Windows Library for JavaScript (WinJS) Library for building Windows Store apps using JavaScript Make your apps ‘look and feel’ great Matches Windows Store Apps style (controls, touch-control, scaling, etc.) Build your apps fast and with high quality When you’re already familiar with web technologies Modern patterns for reliable apps Use interactive VS design tools
Memory Profiling for JavaScript Apps Enables to inspect memory usage in Store Apps Dianose potential leaks Take snapshots while profiling
VB/C# & XAML—Windows Store Apps Leverage existing investment in VB/C# code Much of your existing code can be ported into the new world All of your experience is very useful! Leverage existing investment in XAML code Most of your experience with Silverlight & WPF is directly applicable Data binding, Users Controls, etc. New frameworks and components, but many familiar old favorites <Grid />, <StackPanel/>, <Button /> DependencyProperty and related.
Portable Libraries One DLL, multiple platforms Code against API subset common to selected targets Select versions Back to .NET 4, Silverlight 4, or Windows Phone 7.0
XAML Windows Store Apps Choose your VS project type / template The standard project types all support slightly different navigation models… Save time and learn some principles and best practices!! Think about navigation All Windows Store Apps support a page-based navigation model They can be Activated and Deactivated Think about layout and orientation Resolution Portrait / Landscape Rotation
XAML C# Windows Store App Demo
Using Contracts Contracts allow apps to interoperate… With other apps e.g. sharing With system services e.g. Webcam, PlayTo media device
What is a Capability? It’s a declaration about access requirements to any service Declared in XML App manifest file Editor & configuration support in Visual Studio 2012 Users can make decisions based on declarations The runtime prevents your app from using capabilities it hasn’t declared
Activation Your app needs to work within the Windows 8 application model It may be deactivated, and reactivated So it may need to preserve its state It may be activated through a contract e.g. through the Search UI
Search Integration Demo
Building Windows Apps Your existing applications are alive and well New features like async can make them better Windows Store Apps Exciting changes with familiar development experience Windows Store App development your way XAML + VB/C# HTML + JavaScript C++/DirectX Visual Studio 2012 provides the tools you need Get started now building great applications to sell on the Windows Store.
www.netcomlearning.com MCSDMicrosoft Certified Solutions Developer
www.netcomlearning.com MCSD: Windows Store Apps
www.netcomlearning.com Upgrade Path
www.netcomlearning.com MCSD: Web Applications
www.netcomlearning.com MCSD Training Schedules MCSD: Windows Store Apps Using HTML5 • August 26th in NYC, DC & Live Online MCSD: Windows Store Apps Using C# • September 23rd in NYC, DC & Live Online MCSD: Web Applications • June 15th in Las Vegas & Live Online (All Inclusive Boot Camp) • July 22nd in NYC, DC & Live Online *Free Second Shot Exam expires May 31st, 2013
Q & A 1-888-5-NETCOM (563-8266) info@netcomlearning.com www.NetComLearning.com