Hexalith.Commons.Configurations
1.64.0
See the version list below for details.
dotnet add package Hexalith.Commons.Configurations --version 1.64.0
NuGet\Install-Package Hexalith.Commons.Configurations -Version 1.64.0
<PackageReference Include="Hexalith.Commons.Configurations" Version="1.64.0" />
<PackageVersion Include="Hexalith.Commons.Configurations" Version="1.64.0" />
<PackageReference Include="Hexalith.Commons.Configurations" />
paket add Hexalith.Commons.Configurations --version 1.64.0
#r "nuget: Hexalith.Commons.Configurations, 1.64.0"
#:package Hexalith.Commons.Configurations@1.64.0
#addin nuget:?package=Hexalith.Commons.Configurations&version=1.64.0
#tool nuget:?package=Hexalith.Commons.Configurations&version=1.64.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.6 | 115 | 8/10/2025 |
2.1.5 | 223 | 8/5/2025 |
2.1.4 | 592 | 7/24/2025 |
2.1.3 | 389 | 7/9/2025 |
2.1.2 | 480 | 7/6/2025 |
2.1.1 | 331 | 7/6/2025 |
2.1.0 | 143 | 7/6/2025 |
2.0.6 | 141 | 7/6/2025 |
2.0.5 | 388 | 7/4/2025 |
2.0.4 | 143 | 7/4/2025 |
2.0.3 | 319 | 6/29/2025 |
2.0.2 | 1,066 | 6/24/2025 |
2.0.1 | 967 | 6/13/2025 |
2.0.0 | 263 | 6/13/2025 |
1.66.5 | 867 | 4/11/2025 |
1.66.4 | 197 | 4/10/2025 |
1.66.3 | 310 | 4/9/2025 |
1.66.2 | 179 | 4/8/2025 |
1.66.1 | 149 | 4/8/2025 |
1.66.0 | 146 | 4/7/2025 |
1.65.1 | 148 | 4/6/2025 |
1.65.0 | 153 | 4/6/2025 |
1.64.0 | 377 | 4/2/2025 |
1.0.0 | 161 | 4/2/2025 |