It nudges you towards the REPR Design Pattern (Request-Endpoint-Response) for convenient & maintainable endpoint creation with virtually no boilerplate. Performance is on par with Minimal APIs. It's faster, uses less memory and does around 45k more requests per second than a MVC Controller in our benchmarks. Convenient business logic validation & error responses. Easy access to environment & configuration settings. Supports policy/permission/role/claim based security. In-process pub/sub event notifications (with auto discovery). Declarative security policy building (within each endpoint). Easy Server-Sent-Events for real-time data streaming. Supports any IOC container compatible with ASP.NET. Convenient integration testing (route-less & strongly-typed). Constructor & property injection of endpoint dependencies. Built-in uncaught exception handler. Easy model binding from route/query/json body/claims/forms/headers. Supports swagger/serilog/etc.

Features

  • Define endpoints in multiple class files (even in deeply nested folders)
  • Auto discovery & registration of endpoints
  • Attribute-free endpoint definitions (no attribute argument type restrictions)
  • Secure by default & supports most auth providers
  • Built-in support for JWT Bearer auth scheme
  • Supports policy/permission/role/claim based security

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ASP.NET Minimal APIs Made Easy

ASP.NET Minimal APIs Made Easy Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ASP.NET Minimal APIs Made Easy!

Additional Project Details

Programming Language

C#

Related Categories

C# Frameworks, C# API Clients

Registered

2022-09-14