I want a custom notification or beep sound on my windows taskbar upon a row entry in my database table
I need a notification on my desktop taskbar upon row entry in my table
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit MohantyRank #112 · 20K reputationPosted Mar 14, 2023, 12:20 AM EDT
You can use toast notification in your application.
private static void LaunchToastNotification(string title, string description) { var iconUri = System.IO.Path.GetFullPath("images/info-circled-128.png"); new ToastContentBuilder() .AddText(title) .AddText(description) .AddAppLogoOverride(new Uri(iconUri), ToastGenericAppLogoCrop.Circle) .Show(); }Call the above function with your custom message on row entry.
LaunchToastNotification("Hello World!", "This is such a nice world!");Vishal JoshiRank #377 · 6.7K reputationPosted Mar 14, 2023, 1:26 AM EDT
Hello Vineeth,
Please check out the detailed article on desktop notifications with code samples.
https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=appsdk
you need to use the below NuGet package.
dotnet add package Microsoft.Toolkit.Uwp.Notifications --version 7.1.3Thanks