Windows desktop with WinUI 3
Build new Windows programs with WinUI 3 and the Windows App SDK: XAML and navigation, MVVM with tests without a window, sign-in and cache, windows, notifications and packaging as MSIX.
Search the academy Study plan for this course
Who it is for
For everyone after K2 who has to build a new program for Windows computers and wants to stay with C# and the Kladde's stack. Maintaining and moving existing WPF or Windows Forms programs is taught by the Modernisierung course.
Prerequisites
K2 (C#, the Kladde's web API with sign-in, tests) or the placement test. A Windows computer is needed.
Afterward, you can
- Create and start a WinUI 3 project and explain how it is built
- Build interfaces in XAML with layouts, ListView and NavigationView
- Build pages with MVVM and dependency injection and test the view models without a window
- Load data through the web API, sign in and keep a cache
- Implement window state, single instance and notifications of a Windows program
- Build and sign an MSIX package and tell the ways of distribution apart
Contents
- W5.1
7 h
A Windows app with WinUI 3
Windows App SDK and WinUI 3, tools, templates, XAML, layouts, NavigationView, dialogs, themes
- W5.2
10 h
Architecture and data
x:Bind, MVVM with the MVVM Toolkit, dependency injection, tests without a window, web API, sign-in, cache
- W5.3
9 h
Windows features and delivery
window and title bar, single instance, notifications, testing, MSIX, signing, distribution
About 26 hours in all (indicative).
Lessons
You see the text and video of every lesson here on the site after buying the course; the titles and goals are already shown. A self-study course: you work through the lessons in order and check your exercises yourself against the solutions.
You can read the first module (W5.1) for free, with text and video, without signing in: so you see how the course works before you buy.
The lessons stand under their modules, in the order of the course. Click a module to open or close its lessons.
W5.1 A Windows app with WinUI 3
Indicative: 7 hours · 2 lessonsfree to read
Lesson 1 · about 180 minutes
WinUI 3 and the Windows App SDK at a glance
Lesson 2 · about 240 minutes
XAML, layouts and navigation
W5.2 Architecture and data
Indicative: 10 hours · 2 lessons
Lesson 3 · about 300 minutes
MVVM, dependency injection and tests
Lesson 4 · about 300 minutes
Data: API, sign-in and cache
W5.3 Windows features and delivery
Indicative: 9 hours · 2 lessons
Lesson 5 · about 240 minutes
The app window, lifecycle and notifications
Lesson 6 · about 180 minutes
Testing, packaging, distributing
Final project: the Kladde
What the Kladde can do after this course
The Kladde as a Windows program with navigation, appointment list, sign-in against the web API, cache and an MSIX package.
The course ends with a module exam: a small Windows app to a given specification.
Certifications
Microsoft offers no exam of its own for WinUI 3.
Keep learning with Microsoft Learn
Microsoft's learning paths and documentation that go with this course.