Modernizing Your Windows Applications with the Windows App SDK and WinUI: Expand your desktop apps to support new features and deliver an integrated Windows 11 experience
- Length: 514 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2022-04-29
- ISBN-10: 1803235667
- ISBN-13: 9781803235660
- Sales Rank: #362392 (See Top 100 Books)
Use Windows App SDK and WinUI 3 to take your existing Windows desktop applications to the next level by enabling a modern and accessible UI and integrating the latest Windows features like WinML and Windows Hello
Key Features
- Improve your apps and enable them to support modern devices with features such as touch screens and responsive UI
- Integrate your app with the latest Windows innovations using modern tools and the newest C# features
- Reuse your existing knowledge in .NET, C#, and Visual Studio to create new Windows apps
Book Description
If you’re a developer looking to improve and modernize your existing LOB applications to leverage modern Windows features without having to rewrite the entire application from scratch, this book is for you. You’ll learn how to modernize your existing Windows Forms, WPF, and UWP applications and enrich them with the latest Windows features.
Starting with sample LOB applications that cover common scenarios, you’ll learn the differences between various components and then focus on design features for improved visual aspects like accessibility and responsive layouts.
The book shows you how to enhance your existing applications using Windows App SDK components and various Windows APIs, resulting in deeper integration with the operating system. You’ll be taking a closer look at WinML, which enables Windows applications to evaluate machine learning models offline and leverage the power of your machine, or notifications, to engage with your users in a more effective way. You’ll also learn how to make your application deployment-ready by distributing it using various platforms like the Microsoft Store or websites.
By the end of this Windows book, you’ll be able to create a migration plan for your existing Windows applications and put your knowledge to work by enhancing your application with new features and integrating them with the Windows ecosystem.
What you will learn
- Understand the key concepts of the Windows App SDK and WinUI
- Integrate new features by creating new applications or by enhancing your existing ones
- Revamp your app’s UI by adopting Fluent Design and new interaction paradigms such as touch and inking
- Use notifications to engage with your users more effectively
- Integrate your app with the Windows ecosystem using the Windows App SDK
- Use WinML to boost your tasks using artificial intelligence
- Deploy your application in LOB and customer-facing scenarios with MSIX
Who this book is for
This book is for developers who are building Windows applications with Windows Forms, WPF, and UWP and would like to evolve and modernize their applications, but aren’t able to rebuild them from scratch. This book focuses on Line-of-Business scenarios. Basic knowledge of Windows app development, .NET/C#, and Visual Studio will help you understand the concepts covered in this book.
B18070_03 Modernizing Your Windows Applications with Windows App SDK and WinUI 3 1 Getting Started with Windows App SDK and WinUI Technical requirements A brief history of Windows UI platforms Introducing Windows App SDK and WinUI 3.0 The role of the new .NET runtime Exploring Windows App SDK Choosing the right deployment model Managing the dependency with Windows App SDK Packaged apps Unpackaged apps Upgrading the Windows App SDK runtime Creating the first Windows App SDK project A new packaged WinUI C# application Using a separate packaging project A new unpackaged WinUI application Adding support to an existing application Building libraries and components Using a WinUI class library Using a .NET class library Summary Questions Further reading Answers 2 Windows App SDK for a Windows Forms Developer Technical requirements Introducing XAML Using namespaces Customizing controls with properties Reacting to changes with event handlers Styling your applications with resources Sharing a resource with the whole application Using dictionaries to organize resources Reusing multiple resources with styles Understanding animations Playing an animation Customizing the template of a control Using a Universal Windows Platform project Using the XAML source code Managing the states of a control Data binding Binding with C# objects Implementing the INotifyPropertyChanged interface Displaying collections of data with DataTemplates Creating user controls Summary Questions Answers 3 Windows App SDK for a WPF Developer Technical requirements Importing XAML namespaces Binding with x:Bind Different context Default binding mode Using x:Bind to define a DataTemplate Event binding Functions Using the dispatcher Improving dispatcher usage in asynchronous scenarios Localizing your applications Translating the user interface Handling translation in code A better way to manage localization Support localization in a packaged app Summary Questions Answers
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Modernizing Your Windows Applications with the Windows App SDK and WinUI: Expand your desktop apps to support new features and deliver an integrated Windows 11 experience
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.