QueryGuard.Core 0.1.0-preview.1

Prefix Reserved
This is a prerelease version of QueryGuard.Core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package QueryGuard.Core --version 0.1.0-preview.1
                    
NuGet\Install-Package QueryGuard.Core -Version 0.1.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QueryGuard.Core" Version="0.1.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QueryGuard.Core" Version="0.1.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="QueryGuard.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QueryGuard.Core --version 0.1.0-preview.1
                    
#r "nuget: QueryGuard.Core, 0.1.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package QueryGuard.Core@0.1.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QueryGuard.Core&version=0.1.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=QueryGuard.Core&version=0.1.0-preview.1&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 178 8/21/2026
0.1.0-preview.6 100 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 75 8/20/2026
0.1.0-preview.2 76 8/20/2026
0.1.0-preview.1 76 8/20/2026