Fluxera.StronglyTypedId 9.0.2

Prefix Reserved
dotnet add package Fluxera.StronglyTypedId --version 9.0.2                
NuGet\Install-Package Fluxera.StronglyTypedId -Version 9.0.2                
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="Fluxera.StronglyTypedId" Version="9.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fluxera.StronglyTypedId --version 9.0.2                
#r "nuget: Fluxera.StronglyTypedId, 9.0.2"                
#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.
// Install Fluxera.StronglyTypedId as a Cake Addin
#addin nuget:?package=Fluxera.StronglyTypedId&version=9.0.2

// Install Fluxera.StronglyTypedId as a Cake Tool
#tool nuget:?package=Fluxera.StronglyTypedId&version=9.0.2                

Build Status

Fluxera.StronglyTypedId

A library that provides strongly-typed Ids without code generation.

Usage

To implement a strongly-typed ID just inherit from the StronglyTypedId<,> base class. The base class implements all aspects of the ID, like quality and comparablility.

public sealed class PersonId : StronglyTypedId<PersonId, string>
{
	/// <inheritdoc />
	public PersonId(string value) : base(value)
	{
	}
}

Serializer Support

This library provides serializer support for the following libaries:

  • EF Core
  • JSON.NET
  • LiteDB
  • MongoDB
  • System.Text.Json

To use the serializer support just use the UseStronglyTypedId extension method to configure the corresponding serializer.

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

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Fluxera.StronglyTypedId:

Package Downloads
Fluxera.Repository

A generic repository implementation.

Fluxera.StronglyTypedId.SystemTextJson

A libary that provides serializer support for System.Text.Json for strongly-typed IDs.

Fluxera.Extensions.Hosting.Modules.Domain.Shared

A module that enables the domain.

Fluxera.StronglyTypedId.EntityFrameworkCore

A libary that provides serializer support for EF Core for strongly-typed IDs.

Fluxera.StronglyTypedId.LiteDB

A libary that provides serializer support for LiteDB for strongly-typed IDs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.2 468 2/5/2025
9.0.1 962 11/16/2024
9.0.0 208 11/14/2024
8.3.7 1,211 11/1/2024
8.3.6 1,416 7/9/2024
8.3.5 323 6/26/2024
8.3.4 2,172 6/15/2024
8.3.3 147 6/12/2024
8.3.2 203 6/12/2024
8.3.1 289 6/12/2024
8.2.1 206 6/12/2024
8.2.0 216 6/8/2024
8.1.1 913 6/2/2024
8.1.0 882 5/26/2024
8.0.9 293 5/24/2024
8.0.8 199 5/24/2024
8.0.7 8,638 4/18/2024
8.0.6 1,314 4/13/2024
8.0.5 383 4/13/2024
8.0.4 1,086 3/19/2024
8.0.3 2,901 2/22/2024
8.0.2 6,890 1/4/2024
8.0.1 1,539 11/23/2023
8.0.0 1,514 11/15/2023
7.1.7 4,847 7/23/2023
7.1.6 551 7/20/2023
7.1.5 1,381 6/21/2023
7.1.4 5,550 4/13/2023
7.1.3 2,066 3/16/2023
7.1.2 2,302 2/24/2023
7.1.1 2,304 1/22/2023
7.1.0 1,515 1/18/2023
7.0.6 3,962 12/22/2022
7.0.5 2,408 12/13/2022
7.0.4 1,392 12/13/2022
7.0.3 3,067 12/9/2022
7.0.2 1,408 11/15/2022
7.0.1 1,909 11/12/2022
7.0.0 1,421 11/9/2022
6.1.6 10,051 10/12/2022
6.1.5 25,321 9/15/2022
6.1.4 5,999 7/30/2022
6.1.3 6,038 6/30/2022
6.1.2 6,117 6/15/2022
6.1.1 7,173 6/7/2022
6.1.0 1,681 6/7/2022
6.0.5 3,034 6/3/2022
6.0.4 4,084 6/1/2022
6.0.3 4,038 5/31/2022
6.0.1 4,420 5/30/2022
6.0.0 5,481 5/29/2022