BccCode.Privacy 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BccCode.Privacy --version 0.2.0
                    
NuGet\Install-Package BccCode.Privacy -Version 0.2.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="BccCode.Privacy" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BccCode.Privacy" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="BccCode.Privacy" />
                    
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 BccCode.Privacy --version 0.2.0
                    
#r "nuget: BccCode.Privacy, 0.2.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 BccCode.Privacy@0.2.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=BccCode.Privacy&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=BccCode.Privacy&version=0.2.0
                    
Install as a Cake Tool

BccCode.Privacy

The framework-neutral core of BCC Privacy. It holds what every adapter shares and references no framework: no EF Core, ASP.NET Core or Wolverine.

Type What it is
PrivacyRules, ProcessRule, GroupRule An application's processes (what, for one purpose) and groups (who), declared in code
ItemKey, ProcessKey Typed keys for data items and processes; a misspelt key fails to compile
PrivacyScope Who is asking: the organisation and process of a request or message
Basis, GroupMember Why an organisation may use data for a process, for one person or a group
BasisChanged The event raised when a basis starts or ends at its moment
PrivacyDocument What an application does with personal data, read from its rules and storage
IPrivacyContext What adapters read from the application: scope, rules, clock, storage mapping

Most applications reference an adapter instead, which brings this package: BccCode.Privacy.EntityFrameworkCore. Adapters for ASP.NET Core and Wolverine, and a hosting package, are planned.

Version 0.x: the API will change. Licence: Apache 2.0. Source and design: bcc-code/bcc-privacy, libraries/dotnet and docs/architecture-proposal.

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

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on BccCode.Privacy:

Package Downloads
BccCode.Privacy.EntityFrameworkCore

Purpose-bound access to personal data in EF Core and PostgreSQL: a basis per organisation and process, a query filter, sharing between organisations by data item, and generated read views.

BccCode.Privacy.AspNetCore

BCC Privacy for ASP.NET Core: the privacy scope per request from the signed-in organisation and the endpoint's declared process, refusal of endpoints that read personal data without a process, and per-endpoint masking of data items in JSON responses.

BccCode.Privacy.Wolverine

BCC Privacy for Wolverine: the privacy scope carried on message envelopes, handler middleware that runs each handler under its sender's organisation and process, and publishing of BasisChanged events and basis moments through Wolverine.

BccCode.Privacy.Hosting

One AddPrivacy() for BCC Privacy: the EF Core, ASP.NET Core and Wolverine packages wired together, defaults per environment, the privacy document at /.well-known/bcc-privacy, and the application's processes and data items pushed to the Privacy API at deploy.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.5.2 0 11/16/2026
0.5.1 10 11/16/2026
0.5.0 10 11/16/2026
0.4.4 54 11/15/2026
0.4.3 50 11/15/2026
0.4.2 44 11/15/2026
0.4.1 46 11/15/2026
0.4.0 53 11/15/2026
0.3.1 46 11/15/2026
0.3.0 51 11/15/2026
0.2.0 52 11/15/2026