Outline updated November 2026
Building Powerful Desktop Apps with WPF
Class Duration
35 hours of live training delivered over 5 days.
Student Prerequisites
- Professional C# programming experience
- Basic WPF and XAML familiarity (layout, simple bindings), or completion of WPF with MVVM and C#
- Familiarity with Git
Target Audience
C# developers who know basic WPF and need to ship complete desktop applications with large data grids, custom controls, and real deployment needs. Typical apps are line-of-business tools, engineering and scientific software, and long-lived internal products. Developers new to WPF should start with WPF with MVVM and C#, which this course builds on.
Description
This course covers building and shipping complete WPF applications on modern .NET. Students structure apps with the Generic Host, dependency injection, configuration, and logging. They build data-heavy UI with ItemsControl and DataGrid, write custom controls, and use WPF graphics and animation. Later modules cover app services, Windows interop, performance, accessibility, migration from .NET Framework, and deployment. Students use an AI coding assistant for scaffolding, performance work, and refactoring, and review what it produces.
Learning Outcomes
- Structure WPF apps with the Generic Host, dependency injection, configuration, and logging
- Build data-heavy UI with ItemsControl, DataGrid, and UI virtualization
- Create custom controls, attached properties, and reusable control libraries
- Build rich visuals with geometry, brushes, animation, and media
- Integrate async data access, REST APIs, and background processing
- Implement dialogs, notifications, settings, and single-instance behavior
- Call Win32 and WinRT APIs and native libraries
- Diagnose startup, rendering, binding, and memory-leak problems
- Upgrade .NET Framework WPF apps with the GitHub Copilot upgrade agent
- Package and update apps with MSIX, ClickOnce, or self-contained deployment
- Use an AI coding assistant for scaffolding, diagnosis, and test generation
Training Materials
Comprehensive courseware is distributed online at the start of class.
Software Requirements
A Windows machine with Visual Studio 2026 (Community edition is sufficient), the .NET 10 SDK (LTS; .NET 11 also works), and Git. Access to an agentic AI coding assistant is required; a free tier is sufficient.
Training Topics
Architecting the Modern WPF Application
- WPF on modern .NET
- The Fluent theme
- Choosing an LTS or STS release
- The Generic Host
- Dependency injection, configuration, and logging
- Solution structure for long-lived applications
- Application lifetime, startup, and shutdown
- Agentic AI coding assistants in desktop development
Advanced Layout and UI Composition
- Measure and arrange in the layout system
- Adaptive and resizable interfaces
- User controls and composition strategies
- Regions, docking, and shell patterns
- Multi-window applications
The ItemsControl Family in Depth
- ItemsControl, ListBox, ListView, TreeView
- DataGrid columns and editing
- DataGrid validation at scale
- UI and data virtualization
- Grouping, sorting, and live shaping
- Drag-and-drop interactions
Custom Controls and Templating
- Dependency properties and attached properties
- Control templates and the lookless control model
- Building custom controls vs. user controls
- Template parts, visual states, and theming support
- Packaging reusable control libraries
Graphics, Animation, and Media
- Shapes, geometry, and drawing primitives
- Brushes, effects, and bitmap caching
- Storyboards and animation
- Media playback and imaging
- When to reach beyond WPF's renderer
Data and Service Integration
- Async patterns for responsive UI
- Local data with SQLite and EF Core
- REST and gRPC service clients
- Background work with hosted services
- Progress reporting
- Caching and offline tolerance
Application Services
- Testable dialog and window services
- Settings and user preference persistence
- Toast notifications and system tray integration
- Single-instance applications and IPC
- File system integration and recent-file lists
Windows Integration and Interop
- Calling Win32 and WinRT APIs
- P/Invoke and native library integration
- Jump lists and file associations
- Clipboard, printing, and screen capture
Performance and Diagnostics
- Measuring and reducing startup time
- Rendering performance and visual tree cost
- Binding performance at scale
- Finding memory leaks
- Profiling tools and AI-assisted diagnosis
Accessibility and Polish
- UI Automation and screen reader support
- Keyboard navigation and focus management
- High contrast and theme awareness
- Localization readiness
Modernizing from .NET Framework
- Migration paths from .NET Framework
- The GitHub Copilot upgrade agent
- API compatibility and the Windows Compatibility Pack
- Incremental modernization for large applications
Packaging, Deployment, and Updates
- MSIX packaging and distribution
- ClickOnce for internal deployment
- Self-contained vs. framework-dependent deployment
- Update strategies and versioning
- Crash reporting and telemetry