Contriwork.Notifications
0.1.0
dotnet add package Contriwork.Notifications --version 0.1.0
NuGet\Install-Package Contriwork.Notifications -Version 0.1.0
<PackageReference Include="Contriwork.Notifications" Version="0.1.0" />
<PackageVersion Include="Contriwork.Notifications" Version="0.1.0" />
<PackageReference Include="Contriwork.Notifications" />
paket add Contriwork.Notifications --version 0.1.0
#r "nuget: Contriwork.Notifications, 0.1.0"
#:package Contriwork.Notifications@0.1.0
#addin nuget:?package=Contriwork.Notifications&version=0.1.0
#tool nuget:?package=Contriwork.Notifications&version=0.1.0
Contriwork.Notifications (.NET)
.NET adapter for the ContriWork Notifications port. One API surface, three languages (Python / .NET / npm) — this package is the .NET implementation.
Cross-language specification, contract, and release history live in the GitHub repository:
- Root README — ecosystem overview
CONTRACT.md— language-agnostic port specCHANGELOG.md
Sister packages: contriwork-notifications (PyPI), @contriwork/notifications (npm).
Install
dotnet add package Contriwork.Notifications
Targets .NET 10 LTS.
Quick start
using Contriwork.Notifications;
using Contriwork.Notifications.Adapters;
var client = new NotificationClient(new IAdapter[]
{
new SlackWebhookAdapter("https://hooks.slack.com/..."),
});
var result = await client.SendAsync(
Severity.Warn,
new Payload("Build failed", "See CI for details"));
Console.WriteLine($"{result.Ok} {result.Attempts}");
For the full set of adapters (InMemoryAdapter, PushoverAdapter, TelegramAdapter, SlackWebhookAdapter, DiscordWebhookAdapter, SmtpAdapter) and the configuration knobs (NotificationConfig, RetryConfig, RateLimitPolicy, QuietHoursConfig), see CONTRACT.md.
Local development
dotnet restore
dotnet build
dotnet test
dotnet format --verify-no-changes
License
MIT — see LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- MailKit (>= 4.16.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.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 |
|---|---|---|
| 0.1.0 | 88 | 4/29/2026 |