ThisCloud.Framework.Contracts 1.0.94

dotnet add package ThisCloud.Framework.Contracts --version 1.0.94
                    
NuGet\Install-Package ThisCloud.Framework.Contracts -Version 1.0.94
                    
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="ThisCloud.Framework.Contracts" Version="1.0.94" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ThisCloud.Framework.Contracts" Version="1.0.94" />
                    
Directory.Packages.props
<PackageReference Include="ThisCloud.Framework.Contracts" />
                    
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 ThisCloud.Framework.Contracts --version 1.0.94
                    
#r "nuget: ThisCloud.Framework.Contracts, 1.0.94"
                    
#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 ThisCloud.Framework.Contracts@1.0.94
                    
#: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=ThisCloud.Framework.Contracts&version=1.0.94
                    
Install as a Cake Addin
#tool nuget:?package=ThisCloud.Framework.Contracts&version=1.0.94
                    
Install as a Cake Tool

ThisCloud.Framework.Contracts

Standardized HTTP contracts and models for ASP.NET Core Minimal APIs.

What is this?

ThisCloud.Framework.Contracts provides common HTTP response contracts, error models, and API standards to ensure consistency across all Minimal API endpoints in your application.

Installation

dotnet add package ThisCloud.Framework.Contracts

Quick Start

using ThisCloud.Framework.Contracts;

// Use standardized response models
var response = new ApiResponse<CustomerDto>
{
    Success = true,
    Data = new CustomerDto { Id = 1, Name = "Acme Corp" }
};

// Use standardized error contracts
var errorResponse = new ErrorResponse
{
    Error = "VALIDATION_FAILED",
    Message = "Invalid customer ID"
};

Features

  • Standardized contracts - Consistent response models across all APIs
  • Error models - Unified error handling with structured error responses
  • Correlation support - Built-in correlation ID contracts for distributed tracing
  • Minimal API optimized - Designed for .NET Minimal APIs
  • NuGet ready - Published and versioned for easy dependency management

Documentation

For full documentation, architecture, and usage examples:

License

ISC License - see LICENSE for details.

Support

This is an open-source project maintained on a best-effort basis. For issues or contributions, visit the GitHub repository.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ThisCloud.Framework.Contracts:

Package Downloads
ThisCloud.Framework.Web

Copilot-ready web framework for ASP.NET Core Minimal APIs with standardized contracts, middlewares (correlation, exception mapping), CORS, Swagger, and mandatory 90% coverage

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.94 126 2/21/2026
1.0.92 115 2/14/2026
1.0.91 125 2/14/2026
1.0.86 118 2/14/2026
1.0.45 117 2/12/2026