Skip to content

Gryd.API

ASP.NET Core components for building APIs.

Installation

bash dotnet add package Gryd.API

Overview

ComponentDescription
BaseControllerController with Result helpers
MiddlewaresException handling and correlation ID
ExtensionsDI registration helpers

Quick Setup

csharp
var builder = WebApplication.CreateBuilder(args);

// Add Gryd.IO services builder.Services.AddGrydCore(typeof(Program).Assembly);

var app = builder.Build();

// Add Gryd.IO middleware app.UseGryd(app.Environment);

app.MapControllers(); app.Run();

Released under the MIT License.