Hexalith.Commons.Configurations
1.0.0
See the version list below for details.
dotnet add package Hexalith.Commons.Configurations --version 1.0.0
NuGet\Install-Package Hexalith.Commons.Configurations -Version 1.0.0
<PackageReference Include="Hexalith.Commons.Configurations" Version="1.0.0" />
<PackageVersion Include="Hexalith.Commons.Configurations" Version="1.0.0" />
<PackageReference Include="Hexalith.Commons.Configurations" />
paket add Hexalith.Commons.Configurations --version 1.0.0
#r "nuget: Hexalith.Commons.Configurations, 1.0.0"
#:package Hexalith.Commons.Configurations@1.0.0
#addin nuget:?package=Hexalith.Commons.Configurations&version=1.0.0
#tool nuget:?package=Hexalith.Commons.Configurations&version=1.0.0
Hexalith.Commons.UniqueIds
A lightweight C# library for generating unique identifiers in various formats. Part of the Hexalith framework.
Features
- Date/Time-based IDs: Generate unique 17-character IDs based on the current UTC time
- GUID-based IDs: Generate unique 22-character Base64 URL-safe IDs
Installation
dotnet add package Hexalith.Commons.UniqueIds
Usage
using Hexalith.Commons.UniqueIds;
// Generate a unique ID based on current UTC date/time (format: yyyyMMddHHmmssfff)
string dateTimeId = UniqueIdHelper.GenerateDateTimeId();
// Example: "20240401152237385"
// Generate a unique 22-character ID based on a GUID
string uniqueId = UniqueIdHelper.GenerateUniqueStringId();
// Example: "gZOW2EgVrEq5SBJLegYcVA"
Details
GenerateDateTimeId()
Generates a unique 17-character ID based on UTC date/time with format "yyyyMMddHHmmssfff". This method ensures uniqueness even when called multiple times within the same millisecond by incrementing the time if necessary.
Caution : Only one ID can be generated per millisecond.
GenerateUniqueStringId()
Generates a unique 22-character ID string derived from a GUID encoded in Base64 URL-safe format. This produces shorter, URL-friendly unique identifiers compared to standard GUIDs.
Github Project
Hexalith.Commons - A comprehensive .NET utility library providing common functionality for Hexalith projects.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
-
net9.0
- FluentValidation.DependencyInjectionExtensions (>= 11.11.0)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.3)
- Microsoft.Extensions.Options (>= 9.0.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 9.0.3)
- Microsoft.Extensions.Options.DataAnnotations (>= 9.0.3)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Hexalith.Commons.Configurations:
Package | Downloads |
---|---|
Hexalith.Security.Application
Hexalith is a set of libraries to build an application with micro-service architecture. |
|
Hexalith.IdentityStores.Abstractions
Hexalith is a set of libraries to build an application with micro-service architecture. |
|
Hexalith.DaprIdentityStore.Abstractions
Hexalith is a set of libraries to build a micro-service architecture. |
|
Hexalith.KeyValueStorages.Abstractions
Hexalith KeyValueStorages utilities and helpers |
|
Hexalith.KeyValueStorages.Files
Hexalith KeyValueStorages utilities and helpers |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
2.1.7 | 273 | 9/20/2025 |
2.1.6 | 170 | 8/10/2025 |
2.1.5 | 226 | 8/5/2025 |
2.1.4 | 772 | 7/24/2025 |
2.1.3 | 877 | 7/9/2025 |
2.1.2 | 567 | 7/6/2025 |
2.1.1 | 390 | 7/6/2025 |
2.1.0 | 145 | 7/6/2025 |
2.0.6 | 142 | 7/6/2025 |
2.0.5 | 445 | 7/4/2025 |
2.0.4 | 147 | 7/4/2025 |
2.0.3 | 397 | 6/29/2025 |
2.0.2 | 1,376 | 6/24/2025 |
2.0.1 | 1,160 | 6/13/2025 |
2.0.0 | 267 | 6/13/2025 |
1.66.5 | 1,079 | 4/11/2025 |
1.66.4 | 198 | 4/10/2025 |
1.66.3 | 314 | 4/9/2025 |
1.66.2 | 180 | 4/8/2025 |
1.66.1 | 150 | 4/8/2025 |
1.66.0 | 147 | 4/7/2025 |
1.65.1 | 149 | 4/6/2025 |
1.65.0 | 156 | 4/6/2025 |
1.64.0 | 428 | 4/2/2025 |
1.0.0 | 162 | 4/2/2025 |