Appulse.Storage
1.0.7
See the version list below for details.
dotnet add package Appulse.Storage --version 1.0.7
NuGet\Install-Package Appulse.Storage -Version 1.0.7
<PackageReference Include="Appulse.Storage" Version="1.0.7" />
<PackageVersion Include="Appulse.Storage" Version="1.0.7" />
<PackageReference Include="Appulse.Storage" />
paket add Appulse.Storage --version 1.0.7
#r "nuget: Appulse.Storage, 1.0.7"
#:package Appulse.Storage@1.0.7
#addin nuget:?package=Appulse.Storage&version=1.0.7
#tool nuget:?package=Appulse.Storage&version=1.0.7
Appulse
Production-grade structured logging middleware for ASP.NET Core 8+.
Appulse captures HTTP traffic, in-code logs, and exceptions; stores them asynchronously via System.Threading.Channels for zero impact on the hot path; and provides a built-in realtime Blazor dashboard.
Features
- Zero-blocking Hot Path: All log writes use
System.Threading.Channelsto decouple capture from DB I/O. - Granular HTTP Capture: Configure whitelist/blacklist to skip, partially log, or redact requests.
- Structured Logging: Includes a Serilog Sink (
WriteTo.Appulse()) to unify application logs and HTTP logs. - Data Sanitization: Mask sensitive headers and JSON body fields (e.g.
Authorization,password) automatically before storage. - High-Performance Storage: Uses Dapper +
UNNESTfor true bulk inserts to PostgreSQL. - Embedded Realtime Dashboard: Blazor Server-based dashboard directly embedded in your app, updated via SignalR.
- Auto Data Retention: Opt-in background job to clean up logs older than X days.
Getting Started
1. Install Packages
dotnet add package Appulse.AspNetCore
dotnet add package Appulse.Storage.Postgres
dotnet add package Appulse.Serilog
2. Configure Services
In your Program.cs:
using Appulse.AspNetCore;
using Appulse.Storage.Postgres;
using Serilog;
using Appulse.Serilog;
var builder = WebApplication.CreateBuilder(args);
// Configure Serilog
builder.Services.AddSerilog((services, config) =>
{
config.WriteTo.Appulse(services);
});
// Add Appulse
builder.Services.AddAppulse(options =>
{
// By default, dashboard requires the user to have the "AppulseAdmin" role.
options.Dashboard.RequireAuthentication = !builder.Environment.IsDevelopment();
});
var connectionString = builder.Configuration.GetConnectionString("AppulseDb");
builder.Services.AddAppulsePostgres(connectionString);
var app = builder.Build();
// Add middlewares (must be early in the pipeline)
app.UseAppulse();
app.Run();
3. View the Dashboard
Run your application and navigate to /appulse to view the realtime dashboard.
Advanced Configuration
Data Sanitization
builder.Services.AddAppulse(options =>
{
options.EnableSanitization = true;
options.MaskedHeaders.Add("X-API-Key");
options.MaskedBodyFields.Add("secretToken");
});
Data Retention
builder.Services.AddAppulse(options =>
{
options.EnableDataRetention = true;
options.RetentionDays = 30;
options.RetentionRunInterval = TimeSpan.FromDays(1);
});
RBAC for Dashboard
By default, the dashboard requires users to have the AppulseAdmin role if RequireAuthentication = true.
You can customize the required role:
builder.Services.AddAppulse(options =>
{
options.Dashboard.RequiredRole = "SuperAdmin";
});
Architecture
Please check out our design documents in docs-internal/ for Architecture Decision Records (ADR).
| 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 was computed. 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. |
-
net8.0
- Appulse.Core (>= 1.0.7)
- Dapper (>= 2.1.79)
- dbup-postgresql (>= 7.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Npgsql (>= 10.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Appulse.Storage:
| Package | Downloads |
|---|---|
|
Appulse.Dashboard
Production-grade structured logging middleware for ASP.NET Core 8+ |
|
|
Appulse.Server
Production-grade structured logging middleware for ASP.NET Core 8+ |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.15 | 77 | 9/23/2026 |
| 1.0.14 | 131 | 9/2/2026 |
| 1.0.13 | 132 | 8/30/2026 |
| 1.0.12 | 131 | 8/27/2026 |
| 1.0.11 | 134 | 8/20/2026 |
| 1.0.10 | 138 | 8/20/2026 |
| 1.0.9 | 137 | 8/20/2026 |
| 1.0.8 | 136 | 8/20/2026 |
| 1.0.7 | 129 | 8/19/2026 |
| 1.0.6 | 135 | 8/19/2026 |
| 1.0.5 | 135 | 8/19/2026 |
| 1.0.4 | 126 | 8/18/2026 |
| 1.0.3 | 136 | 8/18/2026 |
| 1.0.2 | 132 | 8/18/2026 |
| 1.0.1 | 134 | 8/15/2026 |
| 1.0.0 | 129 | 8/14/2026 |
| 0.1.0-alpha | 135 | 8/14/2026 |