Intropy.Contracts
0.1.0
dotnet add package Intropy.Contracts --version 0.1.0
NuGet\Install-Package Intropy.Contracts -Version 0.1.0
<PackageReference Include="Intropy.Contracts" Version="0.1.0" />
<PackageVersion Include="Intropy.Contracts" Version="0.1.0" />
<PackageReference Include="Intropy.Contracts" />
paket add Intropy.Contracts --version 0.1.0
#r "nuget: Intropy.Contracts, 0.1.0"
#:package Intropy.Contracts@0.1.0
#addin nuget:?package=Intropy.Contracts&version=0.1.0
#tool nuget:?package=Intropy.Contracts&version=0.1.0
Intropy.Contracts
Contracts and interfaces for Intropy platform services. Use this package to depend on service contracts without taking a dependency on their implementations.
Services
| Namespace | Description |
|---|---|
Intropy.Contracts.BusinessIncidentService |
Trigger, resolve, and query business incidents |
Intropy.Contracts.IdempotencyService |
Check and commit message idempotency status |
Getting Started
dotnet add package Intropy.Contracts
Business Incident Service
using Intropy.Contracts.BusinessIncidentService;
public class MyHandler(IBusinessIncidentServiceClient incidents)
{
public async Task HandleFailure(Uri source, string subject, string id)
{
var data = new BusinessIncidentData { Description = "Payment processing failed" };
await incidents.Trigger(source, subject, id, data, batchId: null);
}
}
Idempotency Service
using Intropy.Contracts.IdempotencyService;
public class MyProcessor(IIdempotencyServiceClient idempotency)
{
public async Task Process(string component, string messageId, string hash, DateTime timestamp)
{
var info = await idempotency.GetInfoAsync(component, messageId);
var messageInfo = info ?? new MessageInfo(component, messageId, hash, timestamp);
var status = await idempotency.GetStatusAsync(messageInfo);
if (status.Action == Action.Ignore)
return;
// Process the message...
await idempotency.CommitAsync(messageInfo);
}
}
Requirements
- .NET 10.0+
Contributing
To build locally:
dotnet build
License
This project is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Intropy.Contracts:
| Package | Downloads |
|---|---|
|
Intropy.Framework.Core
Type-safe, observable pipeline framework for building system integrations in .NET. Core pipeline engine, step abstractions, and result types. |
|
|
Intropy.BusinessIncidentService.Client
.NET client for the Intropy Business Incident Service. Trigger, resolve, and query business incidents via Dapr service invocation. |
|
|
Intropy.IdempotencyService.Client
.NET client for the Intropy Idempotency Service. Provides distributed message deduplication and idempotency checking via Dapr service invocation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 417 | 4/23/2026 |