In ASP.NET Core, custom middlewares can be created using a delegate with the signature _______.

  • Func
  • Action
  • Func
  • MiddlewareDelegate
Custom middlewares in ASP.NET Core are created using a delegate with the signature Func. This delegate takes an HttpContext as input and returns a Task, allowing you to write custom logic to handle requests and responses in the pipeline.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *