Technologies:

  • C#
  • .NET 6
  • ASP.NET Core
  • Swagger

Whether an API response is large or small, compression can improve performance. With the release of ASP.NET Core compression is quickly added to a solution. The intention behind this prototype is to configure the middleware. Then compare out of the box compression algorithms.

See the code configuration of compression screenshot