Skip to content

Commit 6f2383d

Browse files
Merge pull request #6613 from MicrosoftDocs/main
Auto Publish – main to live - 2026-04-09 05:00 UTC
2 parents 1f46eaa + a4934fb commit 6f2383d

48 files changed

Lines changed: 677 additions & 187 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openpublishing.redirection.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11420,7 +11420,7 @@
1142011420
"redirect_url": "/windows/apps/develop/accessibility",
1142111421
"redirect_document_id": false
1142211422
},
11423-
{
11423+
{
1142411424
"source_path": "hub/apps/package-and-deploy/choose-packaging-model.md",
1142511425
"redirect_url": "/windows/apps/package-and-deploy/packaging/",
1142611426
"redirect_document_id": false
@@ -11524,6 +11524,16 @@
1152411524
"source_path": "hub/apps/desktop/modernize/modernize-wpf-tutorial-5.md",
1152511525
"redirect_url": "/windows/apps/desktop/modernize/",
1152611526
"redirect_document_id": false
11527+
},
11528+
{
11529+
"source_path": "hub/apps/develop/background-processing/index.md",
11530+
"redirect_url": "/windows/apps/develop/app-lifecycle-and-system-services",
11531+
"redirect_document_id": false
11532+
},
11533+
{
11534+
"source_path": "hub/apps/windows-app-sdk/applifecycle/app-background-task.md",
11535+
"redirect_url": "/windows/apps/windows-app-sdk/applifecycle/background-tasks",
11536+
"redirect_document_id": false
1152711537
}
1152811538
]
11529-
}
11539+
}

hub/apps/develop/app-lifecycle-and-system-services.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ The .NET SDK also provides APIs related to system services for WPF and Windows F
6262
|---------|-------------|
6363
| [Threading model (WPF)](/dotnet/framework/wpf/advanced/threading-model) | Learn about the threading model of WPF apps. |
6464
| [System information](/dotnet/framework/winforms/advanced/system-information-and-windows-forms) | Learn how to access system information in Windows Forms apps. |
65+
| [.NET Worker Services](/dotnet/core/extensions/workers) | A lightweight way to run long-running background workloads in .NET apps. No packaging required — works with any WPF, Windows Forms, or console app deployment model. |

hub/apps/develop/composition/time-animations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.date: 03/16/2026
55
ms.topic: how-to
66
ms.localizationpriority: medium
77
---
8-
# Time-based animations for
8+
# Time-based animations
99

1010
When a component in, or an entire user experience changes, end users often observe it in two ways: over time or instantaneously. On the Windows platform, the former is preferred over the latter -  user experiences that instantly change often confuse and surprise end users because they are not able to follow what happened. The end user then perceives the experience as jarring and unnatural.
1111

hub/apps/develop/security/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@ The [Windows App SDK](../../windows-app-sdk/index.md) provides APIs related to O
2222
|---------|-------------|
2323
| [Implement OAuth 2.0 functionality in Windows apps](oauth2.md) | The new OAuth2Manager in Windows App SDK enables desktop applications such as WinUI to seamlessly perform OAuth 2.0 authentication in Windows apps. This article describes how to implement OAuth 2.0 with the Windows App SDK. |
2424

25+
### Sign in with Microsoft (MSAL.NET + Web Account Manager)
26+
27+
For apps that need users to sign in with a **Microsoft account or Microsoft Entra ID (work/school) account**, the recommended approach is [MSAL.NET](/entra/msal/dotnet/) with the **Web Account Manager (WAM) broker**. WAM provides silent SSO using the account already signed in to Windows, Windows Hello support, and device-bound refresh tokens — without launching a browser.
28+
29+
| Article | Description |
30+
|---------|-------------|
31+
| [Acquire tokens using Web Account Manager (WAM)](/entra/msal/dotnet/acquiring-tokens/desktop-mobile/wam) | Learn how to use MSAL.NET with the WAM broker to acquire tokens for Microsoft and Microsoft Entra ID accounts in desktop apps including WPF, WinForms, and WinUI 3. |
32+
| [MSAL.NET overview](/entra/msal/dotnet/) | Overview of the Microsoft Authentication Library for .NET — the recommended library for authentication with Microsoft identity in desktop apps. |
33+
| [Register an application with the Microsoft identity platform](/entra/identity-platform/quickstart-register-app) | How to register your app in the Azure portal to get a client ID, which is required before using MSAL. |
34+
| [Web Account Manager (WinRT API)](/windows/uwp/security/web-account-manager) | The underlying WinRT API that WAM is built on (`Windows.Security.Authentication.Web.Core`). Reference this if you need low-level token broker access without MSAL.NET. |
35+
| [Retrieve a window handle (HWND)](../ui/retrieve-hwnd.md) | Web Account Manager requires your app's window handle (HWND) to display authentication UI. This article shows how to retrieve it in WPF, WinForms, and WinUI 3. |
36+
37+
> [!NOTE]
38+
> Web Account Manager supports Microsoft accounts and Microsoft Entra ID accounts only. If you need to authenticate with a third-party identity provider (Google, GitHub, etc.) or Azure AD B2C, use [OAuth2Manager](oauth2.md) or another general-purpose OAuth 2.0 library instead.
39+
2540
### WinRT APIs
2641

2742
The following articles provide information about features available via WinRT APIs provided by the Windows SDK.

hub/apps/develop/security/oauth2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ keywords: windows, winui, winrt, dotnet, security
1111

1212
The [OAuth2Manager](/windows/windows-app-sdk/api/winrt/microsoft.security.authentication.oauth.oauth2manager) in Windows App SDK enables desktop applications such as WinUI 3 to seamlessly perform OAuth 2.0 authorization on Windows. The **OAuth2Manager** API doesn't provide APIs for the implicit request and resource owner password credential because of the security concerns that entails. Use the authorization code grant type with Proof Key for Code Exchange (PKCE). For more information, see the [PKCE RFC](https://tools.ietf.org/html/rfc7636).
1313

14+
> [!NOTE]
15+
> **OAuth2Manager** is designed for general OAuth 2.0 flows with any identity provider (GitHub, Google, custom, etc.) and always uses the system browser for the authorization step. If you specifically want to sign in with **Microsoft accounts or Microsoft Entra ID (work/school) accounts** with **silent SSO** — using the account already signed in to Windows, with no browser prompt — use [MSAL.NET with the Web Account Manager (WAM) broker](/entra/msal/dotnet/acquiring-tokens/desktop-mobile/wam) instead. Web Account Manager also provides Windows Hello integration and conditional access support that OAuth2Manager does not.
16+
1417
## OAuth2Manager API in Windows App SDK
1518

1619
The **OAuth2Manager** API for Windows App SDK provides a streamlined solution that meets the expectations of developers. It offers seamless OAuth 2.0 capabilities with full feature parity across all Windows platforms supported by Windows App SDK. The new API eliminates the need for cumbersome workarounds and simplifies the process of incorporating OAuth 2.0 functionality into desktop apps.

hub/apps/develop/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,8 @@ items:
10351035
items:
10361036
- name: Integrate Windows App SDK
10371037
href: ../windows-app-sdk/migrate-to-windows-app-sdk/wpf-plus-winappsdk.md
1038+
- name: Migrate WPF patterns to WinUI 3
1039+
href: ../windows-app-sdk/migrate-to-windows-app-sdk/wpf-patterns-winui3.md
10381040
- name: Visual layer
10391041
items:
10401042
- name: Overview

hub/apps/publish/publish-your-app/add-on/configure-release-schedule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ In the **Stop acquisition** dropdown, you can set a date and time when you want
5050

5151
By default, **Stop acquisition** is set to never. To change this, select **at** in the drop-down and specify a date and time, as described above. At the date and time you select, customers will no longer be able to acquire the app.
5252

53-
It's important to understand that this option has the same impact as selecting **Make this app discoverable but not available** in the [Visibility](./visibility-options.md#discoverability) section and choosing **Stop acquisition: Any customer with a direct link can see the product’s Store listing, but they can only download it if they owned the product before, or have a promotional code and are using a Windows 10 or Windows 11 device.** To completely stop offering an app to new customers, click **Make app unavailable** from the App overview page. For more info, see [Removing an app from the Store](../msix/app-package-management.md#removing-an-app-from-the-store).
53+
It's important to understand that this option has the same impact as selecting **Make this app discoverable but not available** in the [Visibility](./visibility-options.md#discoverability) section and choosing **Stop acquisition: Any customer with a direct link can see the product’s Store listing, but they can only download it if they owned the product before, or have a promotional code and are using a Windows 10 or Windows 11 device.** To completely stop offering an app to new customers, click **Make app unavailable** from the App overview page. For more info, see [Removing an app from the Store](../msix/remove-app.md).
5454

5555
> [!TIP]
5656
> If you select a date to **Stop acquisition**, and later decide you'd like to make the app available again, you can create a new submission and change **Stop acquisition** back to **Never**. The app will become available again after your updated submission is published.
73.7 KB
Loading
74.9 KB
Loading
19.7 KB
Loading

0 commit comments

Comments
 (0)