ReferenceGenerator 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ReferenceGenerator --version 1.0.0
                    
NuGet\Install-Package ReferenceGenerator -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="ReferenceGenerator" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ReferenceGenerator" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ReferenceGenerator" />
                    
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 ReferenceGenerator --version 1.0.0
                    
#r "nuget: ReferenceGenerator, 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.
#:package ReferenceGenerator@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ReferenceGenerator&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ReferenceGenerator&version=1.0.0
                    
Install as a Cake Tool

ReferenceGenerator

A lightweight, flexible C# library for generating unique reference numbers in various formats. Perfect for creating order numbers, transaction IDs, document references, and more.

Features

  • Generate numeric references with configurable length and formatting

    • Supports custom lengths from 1 to 100 digits
    • Optional formatting patterns for improved readability
  • Generate alphabetic references using uppercase letters only

    • Produces sequences using A-Z characters
    • Configurable length to meet various use cases
  • Generate alphanumeric references combining letters and numbers

    • Combines uppercase letters and numbers for maximum uniqueness
    • Ideal for human-readable unique identifiers
  • Generate standard GUIDs for unique identification

    • Creates standard UUID/GUID format
    • Ensures globally unique identifiers
  • Generate cryptographically secure references for enhanced security

    • Uses cryptographically secure random number generation
    • Suitable for security-critical applications
  • Add custom prefixes to any reference type for organizational purposes

    • Supports any string prefix
    • Maintains consistent formatting with the main reference
Product 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 was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 52 1/23/2026
1.0.0 201 2/14/2025