Architect.Identities 2.0.0-preview-20220428.1

.NET Core 3.1
This is a prerelease version of Architect.Identities.
NuGet\Install-Package Architect.Identities -Version 2.0.0-preview-20220428.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.
dotnet add package Architect.Identities --version 2.0.0-preview-20220428.1
<PackageReference Include="Architect.Identities" Version="2.0.0-preview-20220428.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Architect.Identities --version 2.0.0-preview-20220428.1
#r "nuget: Architect.Identities, 2.0.0-preview-20220428.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Architect.Identities as a Cake Addin
#addin nuget:?package=Architect.Identities&version=2.0.0-preview-20220428.1&prerelease

// Install Architect.Identities as a Cake Tool
#tool nuget:?package=Architect.Identities&version=2.0.0-preview-20220428.1&prerelease

Reliable unique ID generation and management for distributed applications.

Auto-increment IDs reveal sensitive information. UUIDs (also known as GUIDs) are inefficient as primary keys in a database. Having two different IDs is cumbersome and counterintuitive. We can do better.

- For a 93-bit UUID replacement that is efficient as a primary key, use the DistributedId.
- To expose IDs externally in a sensitive environment where zero metadata must be leaked, transform them with PublicIdentities.

https://github.com/TheArchitectDev/Architect.Identities

Release notes:

2.0.0:
- BREAKING: Removed Fluid. Configured ambient scopes are considered undesirable.
- BREAKING: Removed ApplicationInstanceId. Configured ambient scopes are considered undesirable.
- BREAKING: Removed ambient access to IPublicIdentityConverter. Configured ambient scopes are considered undesirable.
- BREAKING: IPublicIdentityConverter now throws on big-endian architectures, instead of risking silent portability issues between architectures.
- BREAKING: Now using AmbientContexts 2.0.0.
- Semi-breaking: DistributedIds are now always 28 digits, to avoid a change from 27 to 28 digits in the future. Migrating will cause a one-time skip to greater ID values.
- DistributedIds can now burst-generate ~128K IDs at once before the 128 IDs per millisecond throttling kicks in. This makes it less likely that throttling is encountered.
- IPublicIdentityConverter now comes with a TestPublicIdentityConverter implementation for unit tests.

1.0.2:
- Now using AmbientContexts 1.1.1, which fixes extremely rare bugs and improves performance.

1.0.1:
- Now using AmbientContexts 1.1.0, for a performance improvement.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Architect.Identities:

Package Downloads
Architect.Identities.Azure

Release notes: 1.0.2: - Now using AmbientContexts 1.1.1, which fixes extremely rare bugs and improves performance. 1.0.1: - Now using AmbientContexts 1.1.0, for a performance improvement. Description: Azure-based implementations for the Architect.Identities package. This package allows Azure blob storage to be used as the synchronization mechanism for assigning unique IDs to each application instance. services.AddIdGenerator(generator => generator.UseAzureBlobStorageContainer(new BlobContainerClient("ConnectionString", "ContainerName")));

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0-preview-20220428.1 301 4/28/2022
2.0.0-preview-20220426.1 60 4/26/2022
1.0.2 3,846 1/1/2022
1.0.1 2,243 9/12/2021
1.0.0 4,380 12/31/2020