BridgingIT.DevKit.Presentation.Web.Auditing
10.0.136
dotnet add package BridgingIT.DevKit.Presentation.Web.Auditing --version 10.0.136
NuGet\Install-Package BridgingIT.DevKit.Presentation.Web.Auditing -Version 10.0.136
<PackageReference Include="BridgingIT.DevKit.Presentation.Web.Auditing" Version="10.0.136" />
<PackageVersion Include="BridgingIT.DevKit.Presentation.Web.Auditing" Version="10.0.136" />
<PackageReference Include="BridgingIT.DevKit.Presentation.Web.Auditing" />
paket add BridgingIT.DevKit.Presentation.Web.Auditing --version 10.0.136
#r "nuget: BridgingIT.DevKit.Presentation.Web.Auditing, 10.0.136"
#:package BridgingIT.DevKit.Presentation.Web.Auditing@10.0.136
#addin nuget:?package=BridgingIT.DevKit.Presentation.Web.Auditing&version=10.0.136
#tool nuget:?package=BridgingIT.DevKit.Presentation.Web.Auditing&version=10.0.136
Presentation.Web.Auditing
ASP.NET Core integration for the Auditing application services. HTTP capture, public read routes, dashboard discovery and standalone resource history compose independently.
Inside an existing authenticated host:
services.AddAuditing()
.WithHttpRequests()
.WithEndpoints(); // Optional public API.
app.UseRouting();
app.UseAuthentication();
app.UseAuditing();
app.UseExceptionHandler();
app.UseAuthorization();
app.MapAuditingEndpoints();
Configure the host's normal exception handler/problem-details services and access rules. WithEndpoints() defaults to requiring authorization. Trusted WithReadScope constraints provide row isolation when selected; client filters do not provide authorization.
With AddDashboard(...), the Auditing page/card/navigation is discovered automatically and uses global dashboard access and prefix settings. It works without public audit endpoints. Native attachment forms stream directly through the browser and poll only bounded companion metadata. The client must verify file bytes/counts/digest before advancing progress.
ResourceHistoryModel and its Razor slice can render through a host-owned route with neither Dashboard nor public audit endpoints. AuditReviewFilter.FromRequest supplies bounded UTC/archive/page controls; the host supplies the mandatory typed resource and access rules.
Read/search/export/metadata/diagnostics operations suppress their own capture. Scoped metadata does not expose global activity counts or publication positions to restricted callers.
services.AddAuditing().AddConsoleCommands() explicitly registers the read-only auditing group with list, show, related, history, stats, and diagnostics. It uses the host's console access rules and the audit query service's trusted read scope, exposure, and integrity policies. Public endpoints and the dashboard are optional. Use auditing show <audit-id> --json for permitted details or auditing history Customer C-42 for a typed resource trail.
See the feature guide.
| 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
- BridgingIT.DevKit.Application.Auditing (>= 10.0.136)
- BridgingIT.DevKit.Common.Extensions.Web (>= 10.0.136)
- BridgingIT.DevKit.Presentation.Web (>= 10.0.136)
- CsvHelper (>= 33.1.0)
- Ensure.That (>= 10.1.0)
- FluentValidation (>= 12.2.0)
- Humanizer.Core (>= 3.0.10)
- Mapster (>= 10.0.14)
- Mapster.DependencyInjection (>= 10.0.14)
- MediatR.Contracts (= 2.0.1)
- MessagePack (>= 3.1.12)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.15)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 10.0.15)
- Microsoft.AspNetCore.OpenApi (>= 10.0.15)
- Microsoft.EntityFrameworkCore (>= 10.0.15)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.15)
- Microsoft.Extensions.Resilience (>= 10.11.1)
- Microsoft.IdentityModel.Protocols.OpenIdConnect (>= 8.23.0)
- Microsoft.OpenApi (>= 2.13.1)
- NewId (>= 4.0.1)
- Newtonsoft.Json (>= 13.0.4)
- NSwag.AspNetCore (>= 14.8.0)
- RazorSlices (>= 0.12.2)
- Scrutor (>= 4.2.2 && < 5.0.0)
- Serilog (>= 4.4.0)
- Serilog.Extensions.Hosting (>= 10.0.0)
- Spectre.Console (>= 0.57.2)
- System.IdentityModel.Tokens.Jwt (>= 8.23.0)
- System.Linq.Dynamic.Core (>= 1.7.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.