Skip to main content
Version: 0.8.0

Sharkable

AOT-compatible Minimal API framework for .NET

NuGet Version NuGet Downloads

Sharkable is a lightweight, AOT-friendly framework that extends ASP.NET Core Minimal APIs with convention-based routing, built-in middleware, and zero-reflection endpoint discovery.

Features​

  • Convention-based routing — ISharkEndpoint → auto-routed at /api/{group}/{route}
  • AOT-ready — works with PublishAot=true, no runtime reflection for endpoint discovery
  • Rich middleware — audit trail, idempotency, multi-tenant, request validation, rate limiting, output caching
  • OpenAPI integration — class-level metadata attributes, API versioning, Scalar UI
  • Unified error handling — UnifiedResult<T> + global exception handler
  • Structured logging — redacting formatter for sensitive data
  • AutoCrud — optional SqlSugar-based CRUD (AOT via rd.xml)

About the author​

Created by CharleyPeng — .NET backend developer focused on clean architecture, AOT compatibility, and developer experience.