หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
The Windows developer platform provides everything you need to build apps for Windows — from system-level access to modern UI frameworks. At the core are two SDKs: the Windows SDK, which gives you access to OS-level APIs, and the Windows App SDK, which provides a modern, decoupled set of APIs and tools — including WinUI, the recommended UI framework for new Windows apps.
Together, these SDKs support a range of native and cross-platform app frameworks. Whether you're starting a new project with WinUI, modernizing an existing WPF or Windows Forms app, or building cross-platform with .NET MAUI or React Native, the platform gives you the flexibility to choose the right approach for your needs.
Windows SDK
The Windows SDK provides the platform headers, libraries, and tools that give you direct access to the full set of Windows OS APIs. Every Windows app — regardless of framework — ultimately relies on the Windows SDK. It's tied to Windows OS releases and is the right choice when you need access to the latest OS features, low-level system APIs, or hardware capabilities like DirectX.
Windows App SDK
The Windows App SDK is a modern SDK that builds on top of the Windows SDK. Delivered as NuGet packages and decoupled from the OS, it provides APIs and tools — including WinUI, app lifecycle, windowing, and notifications — on a faster release cycle than Windows itself. WinUI is built directly on the Windows App SDK, and you can also integrate its APIs into frameworks like WPF, Windows Forms, Win32, and others that target Windows. It supports Windows 10 (1809) and later.
Choose your app framework
WinUI
WinUI is the recommended native UI framework for building modern Windows apps. Built on the Windows App SDK, WinUI uses XAML markup and C# or C++ to create apps with the Fluent Design look and feel that Windows users expect. If you're new to Windows development or starting a new project, WinUI is the best place to start.
Other frameworks
Windows also supports a variety of other native and cross-platform frameworks for building desktop apps.
WPF
WPF is a well-established XAML-based framework for Windows desktop apps built on .NET. It provides a comprehensive set of features including controls, data binding, layout, graphics, and styles. If you have an existing WPF app, you can modernize it with the Windows App SDK.
Windows Forms
Windows Forms is a rapid application development platform for .NET with a drag-and-drop visual designer and a large collection of built-in controls. It's a great choice for quickly building line-of-business and data-driven desktop apps. Existing Windows Forms apps can be modernized with the Windows App SDK.
Get started with Windows Forms →
Win32
Win32 desktop apps (also called classic desktop apps) use C++ for direct access to Windows and hardware. This is the best choice for apps that need the highest levels of performance, hardware-level optimizations, and access to DirectX. You can use C++/WinRT for modern access to Windows Runtime APIs.
UWP
The Universal Windows Platform (UWP) provides a common API surface for apps across all Windows device families. Existing UWP apps continue to function, but to take advantage of the latest features in WinUI and the Windows App SDK, consider migrating your app.
Feature comparison
| Feature | WinUI | WPF | Windows Forms | .NET MAUI | React Native | UWP | Win32 |
|---|---|---|---|---|---|---|---|
| Language | C#, C++ | C#, Visual Basic | C#, Visual Basic | C# | JavaScript, TypeScript | C#, C++, Visual Basic | C++, Rust |
| UI language | XAML | XAML | Code | XAML/Code | JSX | XAML | Code |
| UI designer (drag & drop) | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ |
| Modern UI | ✅ | ✅ (Fluent theme) | ❌ | ✅ | ✅ | ✅ (WinUI 2) | ❌ |
| Cross-platform | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ |
| Sandboxing (AppContainer) | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
| Actively maintained | ✅ | ✅ | ✅ | ✅ | ✅ | ⚠️ Security & bug fixes only | ✅ |
Windows developer