Bizuit.Backend.Abstractions
1.2.0
dotnet add package Bizuit.Backend.Abstractions --version 1.2.0
NuGet\Install-Package Bizuit.Backend.Abstractions -Version 1.2.0
<PackageReference Include="Bizuit.Backend.Abstractions" Version="1.2.0" />
<PackageVersion Include="Bizuit.Backend.Abstractions" Version="1.2.0" />
<PackageReference Include="Bizuit.Backend.Abstractions" />
paket add Bizuit.Backend.Abstractions --version 1.2.0
#r "nuget: Bizuit.Backend.Abstractions, 1.2.0"
#:package Bizuit.Backend.Abstractions@1.2.0
#addin nuget:?package=Bizuit.Backend.Abstractions&version=1.2.0
#tool nuget:?package=Bizuit.Backend.Abstractions&version=1.2.0
Bizuit.Backend.Abstractions
Abstractions and interfaces for Bizuit Backend Plugin System.
Installation
dotnet add package Bizuit.Backend.Abstractions
What's Included
- IBackendPlugin - Interface for plugin entry point
- IPluginEndpointBuilder - Interface for registering HTTP endpoints
- PluginInfo - Plugin metadata (name, version, description)
- SafeRepository<T> - Base class for SQL-injection-proof repositories
- NoTransactionAttribute - Opt-out of automatic transactions
Usage
using Bizuit.Backend.Abstractions;
public class MyPlugin : IBackendPlugin
{
public PluginInfo Info => new()
{
Name = "myplugin",
Version = "1.0.0",
DisplayName = "My Plugin"
};
public void ConfigureServices(IServiceCollection services, IConfiguration config)
{
services.AddScoped<MyRepository>();
}
public void ConfigureEndpoints(IPluginEndpointBuilder endpoints)
{
endpoints.MapGet("items", GetItems);
}
}
Related Packages
- Bizuit.Backend.Core - Core components including SafeQueryBuilder
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. |
-
net10.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Bizuit.Backend.Abstractions:
| Package | Downloads |
|---|---|
|
Bizuit.Backend.Core
Core components for Bizuit Backend Plugin System. Includes SafeQueryBuilder (SQL injection prevention with JOIN support), AutoTransactionMiddleware, BizuitUserContext with role support (Roles, RoleSettings properties and helper methods), and authentication extensions. |
GitHub repositories
This package is not used by any popular GitHub repositories.
v1.2.0: Relay hub contract for hot-reloadable SignalR plugins — IPluginHubRelay, PluginRelayHubOptions, IPluginHubConnectionContext, and IPluginEndpointBuilder.MapRelayHub (default interface method; legacy MapHub<THub> / IHostHubContextResolver unchanged). XML documentation now included.