COINNP.Entities 1.0.0

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

// Install COINNP.Entities as a Cake Tool
#tool nuget:?package=COINNP.Entities&version=1.0.0                

COIN Number Portability Entities

This library, available on NuGet, provides the COIN Number Porting (NP) messages as records. These messages are a close representation of the messages defined by Vereniging-COIN.Sdk.NP. This library provides functionality to make life easier in an 'idiomatic C#' way, whereas COIN's library may have a few design choices that do not always align with best practices or latest standards. This library aims to solve that, without breaking COIN's API or asking COIN to change / break their API and/or NP library.

Among others, this library:

  • Uses records (immutable) for models (i.e. NP messages and the related objects)
  • Uses correct types (like TimeSpan for Ttl, DateTimeOffset for datetime values, bools for boolean values, decimals for monetary values, actual enums for enum values like these etc.)
  • Hides Content, Seq and Repeats etc. and makes enumerable items on an object "first-class citizens" implemented as IEnumerables, for example:
    public record RangeActivation(
        string DossierId,
        string CurrentNetworkOperator,
        string OptaNr,
        DateTimeOffset PlannedDateTime,
        IEnumerable<RangeActivationItem> Items
    ) : Message(209, DossierId) { }
    
    public record RangeActivationItem(
        NumberSerie NumberSerie,
        string? PoP
    );
    
    Which simplifies use.
  • Is nullable aware
  • Provides NP messages that are actually serializable to/from JSON without additional work; It-just-works� because they're plain POCO's (with the exception of Message which contains type discriminators because of it's polymorphic nature).

This library is used by COINNP.Client.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on COINNP.Entities:

Package Downloads
COINNP.Client

Provides a 'wrapper' for vereniging COIN's Number Portability Library that hides a few 'oddities' of working with the NP messages and message consumer / listener. This library aims to provide a more 'idiomatic C#' API which uses modern C# concepts like immutable records, nullable aware and proper types like DateTimeOffset or bool where COIN's implementation mostly only provides strings.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 1,580 2/21/2024