Reliable unique ID generation for distributed applications.
This package provides highly tuned tools for ID generation and management.
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.
- For a 93-bit UUID replacement that is efficient as a primary key and has virtually no caveats, use the DistributedId.
- For a 64-bit UUID replacement that is extremely efficient as a primary key, use the Fluid.
- To expose IDs externally in a sensitive environment where zero metadata must be leaked, transform them with PublicIdentities.
- To assign a unique ID to each distinct application or instance thereof, use an ApplicationInstanceIdSource.
Install-Package Architect.Identities -Version 1.0.0-RC7
dotnet add package Architect.Identities --version 1.0.0-RC7
<PackageReference Include="Architect.Identities" Version="1.0.0-RC7" />
paket add Architect.Identities --version 1.0.0-RC7
- Architect.AmbientContexts (>= 1.0.0-RC4 && < 2.0.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 3.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Architect.Identities:
This package provides Azure-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")));
This package is not used by any popular GitHub repositories.