Fluxera.StronglyTypedId 8.0.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0
dotnet add package Fluxera.StronglyTypedId --version 8.0.1
NuGet\Install-Package Fluxera.StronglyTypedId -Version 8.0.1
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="8.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Fluxera.StronglyTypedId --version 8.0.1
#r "nuget: Fluxera.StronglyTypedId, 8.0.1"
#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=8.0.1

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

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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android 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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

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

Package Downloads
Fluxera.Entity The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

An aggregate root and entity objects library.

Fluxera.StronglyTypedId.SystemTextJson The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

Fluxera.Extensions.Hosting.Modules.Domain.Shared The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A module that enables the domain.

Fluxera.StronglyTypedId.LiteDB The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

Fluxera.StronglyTypedId.EntityFrameworkCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.1 270 11/23/2023
8.0.0 95 11/15/2023
7.1.7 1,736 7/23/2023
7.1.6 249 7/20/2023
7.1.5 738 6/21/2023
7.1.4 2,968 4/13/2023
7.1.3 1,121 3/16/2023
7.1.2 1,394 2/24/2023
7.1.1 1,381 1/22/2023
7.1.0 898 1/18/2023
7.0.6 2,363 12/22/2022
7.0.5 1,493 12/13/2022
7.0.4 840 12/13/2022
7.0.3 1,815 12/9/2022
7.0.2 862 11/15/2022
7.0.1 1,575 11/12/2022
7.0.0 1,230 11/9/2022
6.1.6 5,937 10/12/2022
6.1.5 22,349 9/15/2022
6.1.4 5,260 7/30/2022
6.1.3 5,295 6/30/2022
6.1.2 5,396 6/15/2022
6.1.1 6,248 6/7/2022
6.1.0 1,522 6/7/2022
6.0.5 2,668 6/3/2022
6.0.4 3,501 6/1/2022
6.0.3 3,493 5/31/2022
6.0.1 3,961 5/30/2022
6.0.0 4,835 5/29/2022