This skill provides comprehensive architectural guidance for developing and orchestrating ASP.NET Core middleware. It helps developers avoid common pitfalls in request pipeline ordering, implement custom middleware using both convention-based and factory patterns (IMiddleware), and handle advanced scenarios like request buffering, response manipulation, and global exception handling. Whether you are building security gates, logging utilities, or performance monitors, this skill ensures your HTTP pipeline is efficient, secure, and maintainable according to modern .NET best practices.
主な機能
01Optimal pipeline ordering to prevent security bypasses and logic errors
020 GitHub stars
03Global exception handling strategies using IExceptionHandler and status code pages
04Implementation patterns for convention-based and factory-based (IMiddleware) classes
05Request and response stream manipulation including buffering techniques
06Short-circuiting logic for early request validation and feature flagging