VOOZH about

URL: https://www.nuget.org/packages/Eternet.Mediator.EndpointModel/

⇱ NuGet Gallery | Eternet.Mediator.EndpointModel 1.0.22




Eternet.Mediator.EndpointModel 1.0.22

Prefix Reserved
dotnet add package Eternet.Mediator.EndpointModel --version 1.0.22
 
 
NuGet\Install-Package Eternet.Mediator.EndpointModel -Version 1.0.22
 
 
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="Eternet.Mediator.EndpointModel" Version="1.0.22" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eternet.Mediator.EndpointModel" Version="1.0.22" />
 
Directory.Packages.props
<PackageReference Include="Eternet.Mediator.EndpointModel" />
 
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 Eternet.Mediator.EndpointModel --version 1.0.22
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Eternet.Mediator.EndpointModel, 1.0.22"
 
 
#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 Eternet.Mediator.EndpointModel@1.0.22
 
 
#: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=Eternet.Mediator.EndpointModel&version=1.0.22
 
Install as a Cake Addin
#tool nuget:?package=Eternet.Mediator.EndpointModel&version=1.0.22
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Eternet.Mediator.EndpointModel

Stable endpoint transport descriptors, manifest contracts, readers, and build support used to move endpoint semantics from mediator contracts into downstream consumers without re-interpreting the contracts locally.

Public surface

This package is the narrow shared contract between the generator stack and downstream projection consumers.

It exposes:

  • EndpointManifest as the root transport artifact
  • EndpointDescriptor and related request/response/route DTOs
  • EndpointOperationSemantic for additive public API intent (Query, Create, Update, Delete, Upsert)
  • AuthorizationEndpointAttribute and AuthenticationOnlyEndpointAttribute as neutral endpoint authorization metadata
  • GatewayProjectionDescriptor for gateway-specific route metadata
  • EndpointManifestJson for serialization
  • EndpointRouteNormalizer for stable route normalization
  • ContractAssemblyEndpointManifestReader to read the generated manifest carrier from a compiled contracts assembly
  • EndpointManifestArtifact helpers for the sidecar file name and path

Build integration

When a contracts project sets:

<EternetGenerateEndpointManifest>true</EternetGenerateEndpointManifest>

the buildTransitive targets in this package:

  1. read the manifest embedded in the compiled *.Contracts.dll when available,
  2. fall back to reflection-based manifest reconstruction only for compatibility,
  3. emit <AssemblyName>.eternet.endpoint-model.json,
  4. copy that sidecar next to the built assembly,
  5. and include it in the produced .nupkg so downstream consumers restore it automatically.

Role in manifest-driven projection

The supported manifest-driven projection model is:

  1. Eternet.Mediator.EndpointManifest.Generator extracts endpoint semantics once from Roslyn symbols.
  2. The dedicated manifest generator emits an embedded manifest carrier into the contracts assembly.
  3. Eternet.Mediator.EndpointModel materializes that carrier as a sidecar artifact during build and pack.
  4. A downstream projector consumes the sidecar first, then the embedded carrier, and only falls back to reflection for older assemblies.

That keeps request binding, HTTP verb, route template, and gateway projection metadata authoritative in the contracts repo instead of rediscovering them downstream.

API semantic metadata

EndpointDescriptor.OperationSemantic carries the additive API semantic inferred from the public request contract.

Inference precedence is:

  1. explicit HTTP and route attributes
  2. public IEndpointQuery/Create/Update/Delete/Upsert interfaces
  3. legacy-compatible IApiQuery/Create/Update/Delete/Upsert interfaces
  4. legacy base-type inference
  5. legacy operation-name fallback

This means a contracts repo can opt into richer semantics without rewriting explicit transport attributes that already ship in production.

For compatibility, OperationSemantic = Upsert still projects to CrudOperation = Update in the manifest. Downstream consumers that understand the richer field can read OperationSemantic; older consumers can continue using CrudOperation.

More detail

See for the end-to-end flow and repo responsibility split.

See for the current contract-first authoring defaults, MVC shim catalog, and review checklist.

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (23)

Showing the top 5 NuGet packages that depend on Eternet.Mediator.EndpointModel:

Package Downloads
Eternet.Billing.Contracts

Contracts for Eternet Billing API features.

Eternet.UserPreferences.Contracts

Package Description

Eternet.Mobile.Contracts

Shared API and integration contracts for Eternet Mobile workflows.

Eternet.Payments.Settlements.Contracts

Contracts for Eternet Payments Settlements API features.

Eternet.Employees.Contracts

Contracts for Eternet.Employees.Contracts API features.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.22 48 6/17/2026
1.0.21 96 6/14/2026
1.0.20 163 6/10/2026
1.0.19 196 6/4/2026
1.0.18 111 6/4/2026
1.0.17 690 5/20/2026
1.0.16 230 5/19/2026
1.0.15 395 5/8/2026
1.0.14 201 5/1/2026
1.0.13 99 5/1/2026
1.0.12 103 5/1/2026
1.0.11 102 5/1/2026
1.0.10 101 5/1/2026
1.0.9 102 4/30/2026
1.0.8 289 4/29/2026
1.0.7 115 4/29/2026
1.0.6 103 4/23/2026
1.0.5 176 4/10/2026
1.0.4 609 4/3/2026
1.0.3 107 4/2/2026
Loading failed