⚠ Deprecated: Legacy
The notification helpers in the Windows Community Toolkit have migrated to the Windows App SDK, to get started see their documentation here: https://learn.microsoft.com/windows/apps/windows-app-sdk/notifications/app-notifications/. Direct issues to the WindowsAppSDK repo: https://aka.ms/windowsappsdk
Suggested alternative: Microsoft.WindowsAppSDK
The official way to send toast notifications on Windows 10 via code rather than XML, with the help of IntelliSense. Supports all C# app types, including WPF, UWP, WinForms, and Console, even without packaging your app as MSIX. Also supports C++ UWP apps. Additionally, generate notification payloads from your ASP.NET web server to send as push notifications, or generate notification payloads from class libraries. For UWP/MSIX apps, you can also generate tile and badge notifications.
$ dotnet add package CommunityToolkit.WinUI.NotificationsNo README available.