Cheat Sheet (PDF)
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production; see the section bibliography for the reference material consulted while preparing these pages. |
A single A4 page that summarises the Windows Apps section for quick memorization or as a printable desk reference. It contains:
-
Stacks and versions — the stack chooser, the version baseline (.NET 10 LTS, C# 14, Visual Studio 2026, Windows App SDK 2.5.1, CommunityToolkit.Mvvm 8.4.2), the
dotnet newtemplates and the.csprojessentials. -
XAML — the
x:directives, markup extensions,clr-namespace:mapping, resource lookup andStaticResourceversusDynamicResource. -
WPF — panels and layout rules, a dependency property and attached property snippet with value precedence, routed events and command types, the anatomy of a
Binding(modes,UpdateSourceTrigger,RelativeSource,ElementName), converters, collection views and templates, validation, styles, templates and triggers, the FluentThemeMode, and the Dispatcher and async rules. -
MVVM — the layers diagram, the toolkit snippet (partial-property
[ObservableProperty],[RelayCommand], the messenger) and the Generic Host startup snippet. -
Other stacks — the WinUI 3 deltas (
x:Bind,NavigationView,AppWindow) and the Windows Forms deltas (dark mode, async APIs), one line each. -
Shipping — the publish matrix (framework-dependent, self-contained, single-file, ReadyToRun, trimming and Native AOT per stack), MSIX and signing essentials, the distribution-channel table, the
dotnet publishandwingetcreatecommands, the CI/CD steps and the .NET Framework migration checklist.
For the full explanation, every option and additional examples, see the dedicated pages. The section overview, the reading order and the bibliography are on the Windows Apps page.
Foundations — Windows App Platforms: WPF, WinUI 3, WinForms, MAUI & More, Development Environment & Tooling, Project Structure & Build
XAML — XAML Language Fundamentals, Markup Extensions & Namescopes, Resources & Resource Dictionaries, XAML Dialects: WPF, WinUI & MAUI
WPF — WPF Architecture & Application Model, Windows, Dialogs & Navigation, Layout & Panels, Controls & the Content Model, Lists, Grids & Trees, Dependency Properties & Attached Properties, Routed Events & Input, Commands, Data Binding, Converters, Collection Views & Data Templates, Validation, Styles, Templates & Triggers, Themes & Fluent Design, User Controls & Custom Controls, Graphics, Animation & Multimedia, Documents, Printing & Text, Threading, the Dispatcher & Async, Interop: Win32, WinForms & Web Content, Globalization & Localization, Accessibility & UI Automation
MVVM — The MVVM Pattern, MVVM from Scratch, The MVVM Toolkit (CommunityToolkit.Mvvm), Messaging Between View Models, Dependency Injection & the Generic Host, Navigation, Dialogs & Services in MVVM, Testing View Models & UI
Other stacks and platform integration — WinUI 3 & the Windows App SDK, Windows Forms on .NET, .NET MAUI, UWP & Other Options, Windows Platform Integration, Local Data, Settings & Files, Security & App Isolation, Performance & Diagnostics