BccCode.Privacy.Hosting
14.0.1
See the version list below for details.
dotnet add package BccCode.Privacy.Hosting --version 14.0.1
NuGet\Install-Package BccCode.Privacy.Hosting -Version 14.0.1
<PackageReference Include="BccCode.Privacy.Hosting" Version="14.0.1" />
<PackageVersion Include="BccCode.Privacy.Hosting" Version="14.0.1" />
<PackageReference Include="BccCode.Privacy.Hosting" />
paket add BccCode.Privacy.Hosting --version 14.0.1
#r "nuget: BccCode.Privacy.Hosting, 14.0.1"
#:package BccCode.Privacy.Hosting@14.0.1
#addin nuget:?package=BccCode.Privacy.Hosting&version=14.0.1
#tool nuget:?package=BccCode.Privacy.Hosting&version=14.0.1
BccCode.Privacy.Hosting
One AddPrivacy for BCC Privacy's server SDK: the EF Core adapter, the privacy context of each request, consent at
sign-in, the consent event endpoints, the privacy job, the Core group loader, the start-up checks, and the
privacy check and privacy publish commands. Wolverine and ChangeHistory are separate packages:
o.UseWolverine(), o.UseChangeHistory().
dotnet add package BccCode.Privacy.Hosting
builder.Services.AddDbContext<ATeamDbContext>(o => o.UseNpgsql(connectionString));
builder.Services.AddPrivacy<ATeamDbContext>(o => o.Declare(typeof(ApplicationData).Assembly));
var app = builder.Build();
if (await app.RunPrivacyCommandAsync(args)) return; // dotnet run -- privacy check | privacy publish
app.UseAuthentication();
app.UsePrivacy();
app.MapGet("/applications", [PrivacyProcess<ParticipationProcess>] (ATeamDbContext db) => db.Applications.ToListAsync());
Documentation: getting started and reference.
Licence: Apache 2.0. Source: bcc-code/bcc-privacy, libraries/dotnet.
| 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
- BccCode.Core.Api.Client (>= 1.0.27)
- BccCode.Linq (>= 2.0.1.43)
- BccCode.Platform.Apis (>= 2.0.1.40)
- BccCode.Platform.Config (>= 2.0.1.40)
- BccCode.Privacy (>= 14.0.1)
- BccCode.Privacy.Client (>= 1.0.39)
- BccCode.Privacy.EntityFrameworkCore (>= 14.0.1)
- BccCode.Privacy.Vocabulary (>= 1.0.39)
- BccCode.PubSub.Client (>= 1.0.55)
- Microsoft.AspNetCore.Authentication.OpenIdConnect (>= 10.0.15)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.15)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 10.0.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on BccCode.Privacy.Hosting:
| Package | Downloads |
|---|---|
|
BccCode.Privacy.Wolverine
BCC Privacy for Wolverine: the organisation, process and person carried on message envelopes, and handler middleware that sets each handler's privacy context from them and from the handler's [PrivacyProcess<T>]. |
|
|
BccCode.Privacy.ChangeHistory
Connects BCC Privacy for EF Core and BccCode.ChangeHistory on one model: events and links are read per organisation of the privacy context, history only while the current row is visible, and the privacy columns make no history version. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 14.6.8 | 44 | 11/26/2026 |
| 14.6.7 | 43 | 11/26/2026 |
| 14.6.6 | 44 | 11/26/2026 |
| 14.6.5 | 44 | 11/26/2026 |
| 14.6.4 | 43 | 11/26/2026 |
| 14.6.3 | 47 | 11/26/2026 |
| 14.6.2 | 44 | 11/26/2026 |
| 14.6.1 | 53 | 11/26/2026 |
| 14.6.0 | 38 | 11/26/2026 |
| 14.5.0 | 45 | 11/26/2026 |
| 14.4.0 | 45 | 11/26/2026 |
| 14.3.0 | 40 | 11/26/2026 |
| 14.2.0 | 42 | 11/26/2026 |
| 14.1.1 | 43 | 11/26/2026 |
| 14.1.0 | 42 | 11/26/2026 |
| 14.0.1 | 42 | 11/26/2026 |
| 14.0.0 | 43 | 11/26/2026 |
| 13.0.0 | 43 | 11/26/2026 |
| 12.0.1 | 40 | 11/26/2026 |
| 12.0.0 | 45 | 11/26/2026 |