AttrMiddleware is a C# library that enables the application of middleware to specific routes or controller methods through attribute-based configuration. It also supports Minimal APIs, allowing for more flexible and concise route management.
You can easily install AttrMiddleware via NuGet. Run the following command in your Package Manager Console:
dotnet add package Verity.AttrMiddleware