1. Executive Summary The Microsoft Windows Desktop Runtime is a critical, open-source component of the .NET ecosystem. It enables the execution of Windows desktop applications built with Windows Forms (WinForms) and Windows Presentation Foundation (WPF) without requiring the full .NET SDK to be installed. The latest version (as of April 2026) is .NET 9.0.x (specifically .NET 9.0.5 or higher in the servicing pipeline). This write-up details its architecture, deployment models, security features, and upgrade considerations. Note: .NET 8.0 is the Long-Term Support (LTS) version, while .NET 9.0 is the latest Standard-Term Support (STS) release. For production desktop applications, .NET 8.0 LTS remains the recommended baseline, but .NET 9.0 introduces significant performance and native AOT improvements. 2. Key Components & Architecture The Windows Desktop Runtime is not a standalone framework but a specialized subset of the shared .NET runtime. It includes:
| Component | Description | |-----------|-------------| | | Just-in-Time (JIT) compiler and garbage collector (GC) – now with Server GC for single-threaded desktop apps. | | Base Class Libraries (BCL) | Essential types ( System , System.IO , System.Collections ). | | WinForms Runtime | Managed wrapper over native User32/GDI32 APIs. | | WPF Runtime | Managed composition engine using DirectX and MILCore. | | AppHost | Native launcher for .exe generation. | | Native AOT (in .NET 8+) | Ahead-of-time compilation to remove JIT and reduce startup time. | microsoft windows desktop runtime latest version
Еще нет аккаунта?
Создать аккаунт