QueryGuard.Core
0.1.0
Prefix Reserved
dotnet add package QueryGuard.Core --version 0.1.0
NuGet\Install-Package QueryGuard.Core -Version 0.1.0
<PackageReference Include="QueryGuard.Core" Version="0.1.0" />
<PackageVersion Include="QueryGuard.Core" Version="0.1.0" />
<PackageReference Include="QueryGuard.Core" />
paket add QueryGuard.Core --version 0.1.0
#r "nuget: QueryGuard.Core, 0.1.0"
#:package QueryGuard.Core@0.1.0
#addin nuget:?package=QueryGuard.Core&version=0.1.0
#tool nuget:?package=QueryGuard.Core&version=0.1.0
QueryGuard.Core
Core contracts for QueryGuard.NET: the session model, captured command records, SQL fingerprints, query budgets, policies, and findings.
You normally do not install this package directly. Install the integration you need and
QueryGuard.Core comes with it:
| Package | Use it for |
|---|---|
QueryGuard.EntityFrameworkCore |
Capturing EF Core relational commands |
QueryGuard.AspNetCore |
Request-scoped sessions and per-endpoint policies |
QueryGuard.Testing |
Explicit scopes and budget assertions in integration tests |
QueryGuard.Reporting |
Console/logger, JSON, and JUnit XML reports |
Privacy defaults
QueryGuard does not capture parameter values or connection strings, does not collect stack traces unless explicitly enabled, and bounds retained samples per fingerprint. Redaction is applied centrally before any reporter writes output.
Preview
Public APIs and the report schema may change before 1.0.0. See the
changelog.
| 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.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
-
net8.0
NuGet packages (4)
Showing the top 4 NuGet packages that depend on QueryGuard.Core:
| Package | Downloads |
|---|---|
|
QueryGuard.EntityFrameworkCore
Captures Entity Framework Core relational commands through the official DbCommandInterceptor API so QueryGuard.NET can group repeated SQL and evaluate query budgets. Observes only: the generated SQL, the command result, and the original exception are never modified. |
|
|
QueryGuard.Testing
Open an explicit QueryGuard scope in an integration test and assert that a query budget held. Takes no dependency on any test framework, so it works with xUnit, NUnit, MSTest, or TUnit unchanged. |
|
|
QueryGuard.AspNetCore
Opens a QueryGuard session around each ASP.NET Core request and evaluates per-endpoint query policies. Observes only: the response, its headers, and the original exception are never modified. |
|
|
QueryGuard.Reporting
Render QueryGuard.NET results as console text, versioned JSON, or JUnit XML, so a query budget failure shows up in CI the same way a failing test does. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 170 | 8/21/2026 |
| 0.1.0-preview.6 | 99 | 8/21/2026 |
| 0.1.0-preview.5 | 98 | 8/21/2026 |
| 0.1.0-preview.4 | 83 | 8/20/2026 |
| 0.1.0-preview.3 | 74 | 8/20/2026 |
| 0.1.0-preview.2 | 73 | 8/20/2026 |
| 0.1.0-preview.1 | 73 | 8/20/2026 |