Bizuit.Backend.Core
1.1.0
dotnet add package Bizuit.Backend.Core --version 1.1.0
NuGet\Install-Package Bizuit.Backend.Core -Version 1.1.0
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="Bizuit.Backend.Core" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bizuit.Backend.Core" Version="1.1.0" />
<PackageReference Include="Bizuit.Backend.Core" />
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 Bizuit.Backend.Core --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bizuit.Backend.Core, 1.1.0"
#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 Bizuit.Backend.Core@1.1.0
#: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=Bizuit.Backend.Core&version=1.1.0
#tool nuget:?package=Bizuit.Backend.Core&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bizuit.Backend.Core
Core components for Bizuit Backend Plugin System.
Installation
dotnet add package Bizuit.Backend.Core
What's Included
SafeQueryBuilder - SQL Injection Prevention
SQL injection is IMPOSSIBLE with SafeQueryBuilder. All values are automatically parameterized.
public class ProductsRepository : SafeRepository<Product>
{
protected override string TableName => "Products";
public async Task<IEnumerable<Product>> SearchAsync(string? name, decimal? minPrice)
{
var query = Query();
if (!string.IsNullOrEmpty(name))
query.WhereLike("Name", name); // Parameterized
if (minPrice.HasValue)
query.WhereGreaterThan("Price", minPrice.Value);
return await ExecuteAsync(query);
}
}
Authentication Extensions
// Require authentication
endpoints.MapPost("items", Create).RequireAuthorization();
// Require specific role
endpoints.MapDelete("items/{id}", Delete).RequireAuthorization("admin");
BizuitUserContext
private static async Task<IResult> Create(
CreateRequest request,
MyService service,
BizuitUserContext user) // Injected automatically
{
var username = user.Username;
var tenantId = user.TenantId;
var roles = user.Roles;
}
Transaction Control
// Opt-out of automatic transaction
endpoints.MapPost("audit-logs", Create).NoTransaction();
Dependencies
- Bizuit.Backend.Abstractions
- Dapper
- Microsoft.Data.SqlClient
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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.
-
net10.0
- Bizuit.Backend.Abstractions (>= 1.1.0)
- Dapper (>= 2.1.66)
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.IdentityModel.Tokens (>= 8.16.0)
- System.IdentityModel.Tokens.Jwt (>= 8.16.0)
-
net9.0
- Bizuit.Backend.Abstractions (>= 1.1.0)
- Dapper (>= 2.1.66)
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.IdentityModel.Tokens (>= 8.16.0)
- System.IdentityModel.Tokens.Jwt (>= 8.16.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 |
|---|---|---|
| 1.1.0 | 997 | 3/18/2026 |
| 1.0.12 | 1,231 | 1/14/2026 |
| 1.0.11 | 134 | 1/14/2026 |
| 1.0.10 | 1,536 | 12/29/2025 |
| 1.0.9 | 123 | 12/28/2025 |
| 1.0.8 | 123 | 12/28/2025 |
| 1.0.7 | 130 | 12/28/2025 |
| 1.0.6 | 212 | 12/23/2025 |
| 1.0.5 | 203 | 12/22/2025 |
| 1.0.4 | 226 | 12/19/2025 |
| 1.0.3 | 319 | 12/18/2025 |
| 1.0.2 | 306 | 12/18/2025 |
| 1.0.1 | 251 | 12/15/2025 |
| 1.0.0 | 241 | 12/15/2025 |
v1.1.0: Added net10.0 target framework support. Updated IdentityModel to 8.16.0. API surface unchanged.