Fluxera.StronglyTypedId
8.3.5
Prefix Reserved
See the version list below for details.
dotnet add package Fluxera.StronglyTypedId --version 8.3.5
NuGet\Install-Package Fluxera.StronglyTypedId -Version 8.3.5
<PackageReference Include="Fluxera.StronglyTypedId" Version="8.3.5" />
paket add Fluxera.StronglyTypedId --version 8.3.5
#r "nuget: Fluxera.StronglyTypedId, 8.3.5"
// Install Fluxera.StronglyTypedId as a Cake Addin #addin nuget:?package=Fluxera.StronglyTypedId&version=8.3.5 // Install Fluxera.StronglyTypedId as a Cake Tool #tool nuget:?package=Fluxera.StronglyTypedId&version=8.3.5
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 | Versions 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-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. |
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.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 |
---|---|---|
8.3.6 | 1,318 | 7/9/2024 |
8.3.5 | 309 | 6/26/2024 |
8.3.4 | 1,724 | 6/15/2024 |
8.3.3 | 136 | 6/12/2024 |
8.3.2 | 187 | 6/12/2024 |
8.3.1 | 275 | 6/12/2024 |
8.2.1 | 187 | 6/12/2024 |
8.2.0 | 201 | 6/8/2024 |
8.1.1 | 900 | 6/2/2024 |
8.1.0 | 871 | 5/26/2024 |
8.0.9 | 231 | 5/24/2024 |
8.0.8 | 187 | 5/24/2024 |
8.0.7 | 8,540 | 4/18/2024 |
8.0.6 | 1,304 | 4/13/2024 |
8.0.5 | 373 | 4/13/2024 |
8.0.4 | 1,057 | 3/19/2024 |
8.0.3 | 2,889 | 2/22/2024 |
8.0.2 | 6,882 | 1/4/2024 |
8.0.1 | 1,525 | 11/23/2023 |
8.0.0 | 1,502 | 11/15/2023 |
7.1.7 | 4,430 | 7/23/2023 |
7.1.6 | 543 | 7/20/2023 |
7.1.5 | 1,373 | 6/21/2023 |
7.1.4 | 5,510 | 4/13/2023 |
7.1.3 | 2,049 | 3/16/2023 |
7.1.2 | 2,288 | 2/24/2023 |
7.1.1 | 2,290 | 1/22/2023 |
7.1.0 | 1,502 | 1/18/2023 |
7.0.6 | 3,941 | 12/22/2022 |
7.0.5 | 2,395 | 12/13/2022 |
7.0.4 | 1,370 | 12/13/2022 |
7.0.3 | 3,047 | 12/9/2022 |
7.0.2 | 1,387 | 11/15/2022 |
7.0.1 | 1,893 | 11/12/2022 |
7.0.0 | 1,406 | 11/9/2022 |
6.1.6 | 8,970 | 10/12/2022 |
6.1.5 | 25,305 | 9/15/2022 |
6.1.4 | 5,984 | 7/30/2022 |
6.1.3 | 6,023 | 6/30/2022 |
6.1.2 | 6,101 | 6/15/2022 |
6.1.1 | 7,149 | 6/7/2022 |
6.1.0 | 1,666 | 6/7/2022 |
6.0.5 | 3,019 | 6/3/2022 |
6.0.4 | 4,063 | 6/1/2022 |
6.0.3 | 4,023 | 5/31/2022 |
6.0.1 | 4,404 | 5/30/2022 |
6.0.0 | 5,465 | 5/29/2022 |