Arkn.Notifications
0.3.2
dotnet add package Arkn.Notifications --version 0.3.2
NuGet\Install-Package Arkn.Notifications -Version 0.3.2
<PackageReference Include="Arkn.Notifications" Version="0.3.2" />
<PackageVersion Include="Arkn.Notifications" Version="0.3.2" />
<PackageReference Include="Arkn.Notifications" />
paket add Arkn.Notifications --version 0.3.2
#r "nuget: Arkn.Notifications, 0.3.2"
#:package Arkn.Notifications@0.3.2
#addin nuget:?package=Arkn.Notifications&version=0.3.2
#tool nuget:?package=Arkn.Notifications&version=0.3.2
Arkn.Notifications
Conventions you can read. Patterns you can enforce.
Pluggable notifier abstraction — fan-out to multiple channels with zero external dependencies.
Install
dotnet add package Arkn.Notifications
Quick example
// Implement a custom notifier
public class EmailNotifier : IArknNotifier
{
public async Task NotifyAsync(ArknNotification notification, CancellationToken ct = default)
{
if (notification.Level < NotificationLevel.Warning) return;
// send email...
}
}
// Register
builder.Services.AddArknNotifications(n =>
{
n.Add<EmailNotifier>();
});
// Send a notification
await registry.DispatchAsync(ArknNotification.Error(
title: "Job failed",
body: "InvoiceProcessor failed after 3 attempts.",
source: "Arkn.Jobs"));
Part of the Arkn ecosystem
github.com/fernando-terra/arkn · nuget.org/packages/Arkn.Notifications
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
-
net8.0
-
net9.0
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Arkn.Notifications:
| Package | Downloads |
|---|---|
|
Arkn.Jobs
Zero-dependency job scheduling for .NET 10 — cron, retry, timeout and structured logs per run. |
|
|
Arkn.Extensions.Notifications.Slack
Slack notifier for Arkn via Incoming Webhook and Block Kit — zero external dependencies. |
|
|
Arkn.Extensions.Notifications.Email
Email notifier for Arkn.Notifications — SMTP (System.Net.Mail) and SendGrid HTTP. Zero external SDK dependency. |
|
|
Arkn.Extensions.Notifications.Discord
Discord notifier for Arkn via Webhook Embeds — zero external dependencies. |
|
|
Arkn.Extensions.Notifications.Teams
Microsoft Teams notifier for Arkn via Incoming Webhook and Adaptive Cards — zero external dependencies. |
GitHub repositories
This package is not used by any popular GitHub repositories.