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
Easily Host LLMs and Web Apps on Cloud Run Icon
Easily Host LLMs and Web Apps on Cloud Run

Run everything from popular models with on-demand NVIDIA L4 GPUs to web apps without infrastructure management.

Run frontend and backend services, batch jobs, host LLMs, and queue processing workloads without the need to manage infrastructure. Cloud Run gives you on-demand GPU access for hosting LLMs and running real-time AI—with 5-second cold starts and automatic scale-to-zero so you only pay for actual usage. New customers get $300 in free credit to start.
Try Cloud Run 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