SangamLink 1.0.0
dotnet add package SangamLink --version 1.0.0
NuGet\Install-Package SangamLink -Version 1.0.0
<PackageReference Include="SangamLink" Version="1.0.0" />
<PackageVersion Include="SangamLink" Version="1.0.0" />
<PackageReference Include="SangamLink" />
paket add SangamLink --version 1.0.0
#r "nuget: SangamLink, 1.0.0"
#:package SangamLink@1.0.0
#addin nuget:?package=SangamLink&version=1.0.0
#tool nuget:?package=SangamLink&version=1.0.0
ExceptionMaster.Alerting.Notifier
Desktop UI notification destination adapter for ExceptionMaster.Alerting powered by the Notifier Windows Forms notification engine.
This package provides NotifierAlertDestination and fluent registration extensions, allowing ExceptionMaster.Alerting to route alert envelopes to modern, non-intrusive Windows desktop toasts and notification center feeds.
Architecture & Responsibilities
ExceptionMaster
↓
ExceptionMaster.Alerting.Core (Headless Policy & Routing Engine)
↓ (AlertEnvelope)
ExceptionMaster.Alerting.Notifier (Thin Destination Adapter)
↓ (AdvancedNotificationOptions)
Notifier (Host-Managed Desktop UI Engine)
- Core Remains Headless:
ExceptionMaster.Alerting.Corehas zero Windows Forms or desktop dependencies. This package bridges the two worlds cleanly. - Thin Adapter Design:
ExceptionMaster.Alerting.Notifiercontains zero background worker loops, internal queues, retry engines, suppression logic, or UI timers. - Host-Owned Notifier Lifecycle: The host application initializes and manages
Notifier's lifecycle.Alerting.Notifiersimply adapts and submits alerts to the already-running Notifier engine.
Target Frameworks
.NET Framework 4.8(net48).NET 8.0 Windows(net8.0-windows)
Installation
dotnet add package ExceptionMaster.Alerting.Notifier --version 1.0.0
Basic Usage
using System;
using ExceptionMaster.Alerting;
using ExceptionMaster.Alerting.Enums;
using SangamLink;
using ExceptionMaster.Alerting.Rules;
using Notifier;
// 1. Initialize Notifier in the Windows Forms host application
global::SanketDesk.SanketDeskNotifier.Initialize(new NotificationConfig
{
MaxVisibleNotifications = 3,
DefaultDisplayDuration = TimeSpan.FromSeconds(5)
});
// 2. Initialize ExceptionMaster.Alerting with the Notifier destination adapter
Alerting.Initialize(builder =>
{
// Register Notifier destination adapter
builder.AddNotifierDestination("DesktopNotifier", options =>
{
// Alerting.Core owns suppression & occurrence counts; grouping defaults to false
options.EnableNotifierGrouping = false;
options.DisplayDuration = TimeSpan.FromSeconds(5);
});
// Route critical and error alerts to the desktop
builder.AddRule(new AlertRule(
ruleId: "desktop-alerts",
name: "Desktop Notifications",
condition: RuleCondition.Severity(PredicateOperator.GreaterThanOrEqual, AlertSeverity.Error),
order: 1,
targetDestinations: new[] { "DesktopNotifier" }));
});
Security Model
- AlertEnvelope Security Boundary: Raw
System.Exceptioninstances never cross into the Notifier adapter. Payloads contain only sanitized summaries, keys, and metadata. - Safe AlertActionToken: Diagnostic action tokens carry opaque identifiers. No executable code or delegates are passed into Notifier.
- Host-Owned Diagnostic UI: If a notification action button is clicked, handling of the opaque token remains under the host application's explicit control.
Delivery Semantics
IMPORTANT: Successful destination delivery means successful admission into the destination engine.
When
DeliverAsyncsucceeds, it indicates that Notifier accepted the notification into its internal admission controller. It does NOT guarantee that a user physically viewed, clicked, or acknowledged the desktop toast.
Limitations
- Windows Platform Only: Requires Windows Forms desktop runtime (
net48ornet8.0-windows). Not supported in Linux/macOS headless environments. - Host Initialization Required:
global::SanketDesk.SanketDeskNotifier.Initialize(...)must be called by the host before alerts are routed; otherwise, Notifier defaults or uninitialized state will reject or misroute admissions.
License
MIT License. Copyright (c) 2026 ExceptionMaster Contributors.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- AvaranFlow.Alerting.Core (>= 1.0.0)
- SanketDesk.NetFramework (>= 1.0.0)
-
net8.0-windows7.0
- AvaranFlow.Alerting.Core (>= 1.0.0)
- SanketDesk.Net8 (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 96 | 11/3/2026 |
Initial stable v1.0.0 release of SangamLink — Resilient exception-to-notification integration bridge connecting AvaranFlow alerting pipelines to SanketDesk desktop toasts.