![]() |
VOOZH | about |
dotnet add package MeshWeaver.Mesh.Contract --version 2.5.0
NuGet\Install-Package MeshWeaver.Mesh.Contract -Version 2.5.0
<PackageReference Include="MeshWeaver.Mesh.Contract" Version="2.5.0" />
<PackageVersion Include="MeshWeaver.Mesh.Contract" Version="2.5.0" />Directory.Packages.props
<PackageReference Include="MeshWeaver.Mesh.Contract" />Project file
paket add MeshWeaver.Mesh.Contract --version 2.5.0
#r "nuget: MeshWeaver.Mesh.Contract, 2.5.0"
#:package MeshWeaver.Mesh.Contract@2.5.0
#addin nuget:?package=MeshWeaver.Mesh.Contract&version=2.5.0Install as a Cake Addin
#tool nuget:?package=MeshWeaver.Mesh.Contract&version=2.5.0Install as a Cake Tool
MeshWeaver.Mesh.Contract defines the foundational interfaces and types for operating a distributed data mesh. This library provides the contract definitions for data storage, streaming, and mesh topology management, enabling seamless integration of diverse data sources and processing nodes.
// Base address type for mesh nodes
public record Address(string Type, string Id);
// Application and UI addresses
public record ApplicationAddress(string Id) : Address("app", Id);
// Computation addresses
public record KernelAddress(string Id = null) : Address("kernel", Id ?? Guid.NewGuid().AsString());
// Content addresses
public record PortalAddress(string Id = null) : Address("portal", Id ?? Guid.NewGuid().AsString());
Each address type serves a specific purpose in the mesh:
ApplicationAddress: Identifies application instancesSignalRAddress: Addresses real-time communication endpointsKernelAddress: Points to computation kernelsPortalAddress: References portal instancesNote that many address types support automatic ID generation using GUIDs when no explicit ID is provided.
The addressing system is extensible, allowing creation of purpose-specific addresses for different data domains. For example:
// Time series data domain
public record PricingAddress(string Id) : Address("pricing", Id);
// Document storage domain
public record TransactionalDataAddress(string Id) : Address("transactionaldata", Id);
When creating domain-specific addresses:
Refer to the for more information about the overall mesh architecture.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Showing the top 5 NuGet packages that depend on MeshWeaver.Mesh.Contract:
| Package | Downloads |
|---|---|
|
MeshWeaver.Kernel
Package Description |
|
|
MeshWeaver.Markdown
Package Description |
|
|
MeshWeaver.Hosting
Package Description |
|
|
MeshWeaver.Blazor
Package Description |
|
|
MeshWeaver.Hosting.Monolith
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-preview1 | 242 | 4/16/2026 |
| 2.5.0 | 468 | 11/3/2025 |
| 2.4.0 | 435 | 10/2/2025 |
| 2.3.0 | 443 | 8/4/2025 |
| 2.2.0 | 721 | 7/21/2025 |
| 2.1.0 | 368 | 4/6/2025 |
| 2.0.3 | 702 | 3/24/2025 |
| 2.0.2 | 671 | 3/24/2025 |
| 2.0.1 | 321 | 3/21/2025 |
| 2.0.0 | 355 | 3/20/2025 |
| 2.0.0-preview3 | 290 | 2/28/2025 |
| 2.0.0-Preview2 | 298 | 2/10/2025 |
| 2.0.0-preview1 | 319 | 1/6/2025 |
| 1.0.1 | 230 | 10/8/2024 |
| 1.0.0 | 232 | 10/8/2024 |