JorgeCostaMacia.GuidFactory
6.0.4
Prefix Reserved
dotnet add package JorgeCostaMacia.GuidFactory --version 6.0.4
NuGet\Install-Package JorgeCostaMacia.GuidFactory -Version 6.0.4
<PackageReference Include="JorgeCostaMacia.GuidFactory" Version="6.0.4" />
<PackageVersion Include="JorgeCostaMacia.GuidFactory" Version="6.0.4" />
<PackageReference Include="JorgeCostaMacia.GuidFactory" />
paket add JorgeCostaMacia.GuidFactory --version 6.0.4
#r "nuget: JorgeCostaMacia.GuidFactory, 6.0.4"
#:package JorgeCostaMacia.GuidFactory@6.0.4
#addin nuget:?package=JorgeCostaMacia.GuidFactory&version=6.0.4
#tool nuget:?package=JorgeCostaMacia.GuidFactory&version=6.0.4
JorgeCostaMacia.GuidFactory
Factory for creating time-ordered GUIDs (UUIDv7), with automatic fallback to Guid.NewGuid() (v4) on older runtimes. Zero dependencies.
Install
dotnet add package JorgeCostaMacia.GuidFactory
Usage
using JorgeCostaMacia.GuidFactory.Domain;
Guid id = GuidFactory.Create();
On .NET 9+ it returns a time-ordered UUIDv7 (Guid.CreateVersion7()) — better database index locality and natural sortability. On earlier runtimes it falls back to a standard UUIDv4 (Guid.NewGuid()).
Requirements
One of the following SDKs: .NET 8 / 9 / 10 (.NET 10 recommended).
About
JorgeCostaMacia.GuidFactory is part of shared-net — a set of foundational, self-contained .NET packages, each scoped to a single concern and reusable across your bounded contexts.
- Repository: github.com/JorgeCostaMacia/shared-net
- Issues & requests: open an issue
- Contributing: CONTRIBUTING.md
- Security: report a vulnerability
Author: Jorge Costa Maciá
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (10)
Showing the top 5 NuGet packages that depend on JorgeCostaMacia.GuidFactory:
| Package | Downloads |
|---|---|
|
JorgeCostaMacia.Exception
Domain exception hierarchy (Domain / Error / Exist / NotFound / Validation) with traceable metadata: id, type, error code, HTTP code and timestamp |
|
|
JorgeCostaMacia.Bus.Kafka
Kafka transport for JorgeCostaMacia.Bus — the concrete command/event bus over Confluent.Kafka: message base records, contexts, handler/subscriber bases and the producer/consumer. Reference this one package to use the bus on Kafka. |
|
|
JorgeCostaMacia.Http
HTTP request/response base contracts — traceable abstract records (id, correlation id, UTC timestamp) for messages crossing the HTTP layer |
|
|
JorgeCostaMacia.Bus.RabbitMQ
RabbitMQ transport for JorgeCostaMacia.Bus — the concrete command/event bus over the official RabbitMQ.Client (v7, async): message base records, contexts, handler/subscriber bases and the producer/consumer. Reference this one package to use the bus on RabbitMQ. |
|
|
JorgeCostaMacia.Http.Exception.Serilog
Serilog exception handler that logs every unhandled exception (enriched with domain aggregate metadata and the authenticated user) without producing the response |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.4 | 211 | 7/22/2026 |
| 6.0.3 | 206 | 7/22/2026 |
| 6.0.2 | 633 | 7/19/2026 |
| 6.0.1 | 380 | 7/15/2026 |
| 6.0.0 | 376 | 7/13/2026 |
| 5.0.0 | 193 | 7/12/2026 |
| 4.3.0 | 189 | 7/12/2026 |
| 4.2.0 | 275 | 7/11/2026 |
| 4.1.0 | 195 | 7/10/2026 |
| 4.0.0 | 247 | 7/9/2026 |
| 3.0.1 | 159 | 7/8/2026 |
| 2.0.8 | 396 | 7/1/2026 |
| 2.0.7 | 287 | 6/30/2026 |
| 2.0.6 | 131 | 6/30/2026 |
| 2.0.5 | 142 | 6/30/2026 |
| 2.0.4 | 153 | 6/30/2026 |
| 2.0.3 | 128 | 6/29/2026 |
| 2.0.2 | 106 | 6/29/2026 |
| 2.0.1 | 104 | 6/29/2026 |
| 2.0.0 | 133 | 6/29/2026 |