Hexalith.Commons.Configurations 1.0.0

There is a newer version of this package available.
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
                    
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.
<PackageReference Include="Hexalith.Commons.Configurations" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hexalith.Commons.Configurations" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Hexalith.Commons.Configurations" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hexalith.Commons.Configurations --version 1.0.0
                    
#r "nuget: Hexalith.Commons.Configurations, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Hexalith.Commons.Configurations&version=1.0.0
                    
Install Hexalith.Commons.Configurations as a Cake Addin
#tool nuget:?package=Hexalith.Commons.Configurations&version=1.0.0
                    
Install Hexalith.Commons.Configurations as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Hexalith.Commons.Configurations:

Package Downloads
Hexalith.DaprIdentityStore.Abstractions

Hexalith is a set of libraries to build a micro-service architecture.

Hexalith.Security.Application

Hexalith is a set of libraries to build an application with micro-service architecture.

Hexalith.KeyValueStorages.Abstractions

Hexalith KeyValueStorages utilities and helpers

Hexalith.IdentityStores.Abstractions

Hexalith is a set of libraries to build an application with micro-service architecture.

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.0.1 229 6/13/2025
2.0.0 222 6/13/2025
1.66.5 721 4/11/2025
1.66.4 185 4/10/2025
1.66.3 293 4/9/2025
1.66.2 163 4/8/2025
1.66.1 131 4/8/2025
1.66.0 132 4/7/2025
1.65.1 132 4/6/2025
1.65.0 135 4/6/2025
1.64.0 351 4/2/2025
1.0.0 132 4/2/2025