Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modernizing Your Windows Applications with the Windows App SDK and WinUI
  • Table Of Contents Toc
  • Feedback & Rating feedback
Modernizing Your Windows Applications with the Windows App SDK and WinUI

Modernizing Your Windows Applications with the Windows App SDK and WinUI

By : Pagani, Plogas
4.4 (9)
close
close
Modernizing Your Windows Applications with the Windows App SDK and WinUI

Modernizing Your Windows Applications with the Windows App SDK and WinUI

4.4 (9)
By: Pagani, Plogas

Overview of this book

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.
Table of Contents (19 chapters)
close
close
1
Section 1: Basic Concepts
3
Section 2: Modernization Journey
9
Section 3: Integrating Your App with the Windows Ecosystem
14
Section 4: Distributing Your Application

Migrating a UWP app

The Windows App SDK and WinUI can be considered the direct successors of UWP. In fact, its goal is to detach many of the UWP APIs and features from the operating system so that they can be consumed also by Win32 applications.

Consequently, among the technologies we have seen in this chapter, UWP is, for sure, the easiest one to start a migration from.

The high-level migration approach is similar to the one we have adopted to migrate our WPF sample application: as the main architecture pattern is already in place, it's mostly a matter of updating to the latest version of the Windows Runtime APIs and adapting to changes in the API. The documentation often provides a suggested migration path. In fact, moving from UWP could even be an easier task than moving from a .NET 4.x-based WPF application, as IoC and MVVM are likely provided by the same frameworks and packages as their Windows App SDK counterpart.

Most Windows Runtime APIs can be used in Windows...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY