SplatDev.Umbraco.Plugins.ToastNotifications
2.4.2
dotnet add package SplatDev.Umbraco.Plugins.ToastNotifications --version 2.4.2
NuGet\Install-Package SplatDev.Umbraco.Plugins.ToastNotifications -Version 2.4.2
<PackageReference Include="SplatDev.Umbraco.Plugins.ToastNotifications" Version="2.4.2" />
<PackageVersion Include="SplatDev.Umbraco.Plugins.ToastNotifications" Version="2.4.2" />
<PackageReference Include="SplatDev.Umbraco.Plugins.ToastNotifications" />
paket add SplatDev.Umbraco.Plugins.ToastNotifications --version 2.4.2
#r "nuget: SplatDev.Umbraco.Plugins.ToastNotifications, 2.4.2"
#:package SplatDev.Umbraco.Plugins.ToastNotifications@2.4.2
#addin nuget:?package=SplatDev.Umbraco.Plugins.ToastNotifications&version=2.4.2
#tool nuget:?package=SplatDev.Umbraco.Plugins.ToastNotifications&version=2.4.2
ToastNotifications
Toast / snackbar notification system for Umbraco — manage configurable notification messages shown to site visitors, with CRUD management via a backoffice dashboard.
Compatibility
| Umbraco | .NET | Package Version |
|---|---|---|
| 13.x | 8.0 | 2.0.0 |
| 17.x | 10.0 | 2.0.0 |
Installation
dotnet add package SplatDev.Umbraco.Plugins.ToastNotifications
Quick Start
The plugin auto-registers via ToastNotificationsComposer, which sets up the EF Core DbContext and IToastNotificationsService.
Configuration
Add to appsettings.json:
{
"ConnectionStrings": {
"umbracoDbDSN": "Server=localhost;Database=umbraco;Trusted_Connection=True;"
}
}
API Endpoints
| Method | Route | Description |
|---|---|---|
| GET | /umbraco/api/toastnotifications/GetActive |
Retrieve all active notifications |
| POST | /umbraco/api/toastnotifications/Create |
Create a new notification |
| PUT | /umbraco/api/toastnotifications/Update?id= |
Update an existing notification |
| DELETE | /umbraco/api/toastnotifications/Delete?id= |
Delete a notification |
Usage
Create notifications from the backoffice dashboard. Each notification has a message, type, and optional expiration:
// Fetch active notifications for the front-end
fetch('/umbraco/api/toastnotifications/GetActive')
.then(r => r.json())
.then(notifications => {
notifications.forEach(n => {
showToast(n.message, n.type); // 'info', 'success', 'warning', 'error'
});
});
Supported notification types: info, success, warning, error.
Known Limitations
- Front-end must poll the API or fetch notifications on page load — no push/WebSocket mechanism for real-time delivery
- Notification types are plain strings with no enum validation at the API level
- Uses Umbraco's own database connection string (no separate DB support)
- No built-in front-end rendering component; consumers must implement their own toast UI
Changelog
2.4.2 — 2026-08-24
Removes a dashboard screenshot that showed an error toast. It was captured against a site where this plugin's API was unreachable, so it advertised a broken dashboard. No screenshot is better than a misleading one; a replacement will be taken against a working install.
2.4.1 — 2026-08-24
Package metadata only: the listing now carries an icon and search tags, and the project and repository links point at the organisation that actually hosts this code. No code changes.
2.4.0 — 2026-08-23
Fixes the notification tables on SQLite. The plugin asked for a default database schema unconditionally; SQLite has none, so EF folded the request into the table name and every read went to an object the migration never created.
The Umbraco Marketplace listing now carries this plugin's screenshots. The listing keeps its own screenshot list rather than reading the README, and this one was empty — so the entry showed no images at all.
2.3.2 — 2026-08-21
- Dashboard now sends the backoffice token with its API calls. On Umbraco 17 those calls were arriving unauthenticated and coming back 401, which the dashboard rendered as an empty state rather than an error.
- A failed request now raises a notification instead of leaving the dashboard looking like there is simply no data.
- The plugin's tables are created on startup. They were never created before, so anything touching them failed on a fresh install.
- Runs on SQLite as well as SQL Server. It previously assumed SQL Server and failed with "Keyword not supported: 'cache'" on the database Umbraco's installer offers by default.
License
MIT © SplatDev
| 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 was computed. 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
- Microsoft.EntityFrameworkCore.Sqlite (>= 10.0.7)
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.7)
- Microsoft.Extensions.FileProviders.Embedded (>= 10.0.6)
- Umbraco.Cms.Core (>= 17.3.4)
- Umbraco.Cms.Web.Common (>= 17.3.4)
-
net8.0
- Microsoft.EntityFrameworkCore.Sqlite (>= 8.0.20)
- Microsoft.EntityFrameworkCore.SqlServer (>= 8.0.20)
- Umbraco.Cms.Core (>= 13.12.0)
- Umbraco.Cms.Web.Common (>= 13.12.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 |
|---|---|---|
| 2.4.2 | 26 | 8/24/2026 |