Junior ASP.NET Core

What is RequestDelegate?

RequestDelegate is a delegate representing the next middleware in the

pipeline:

public delegate Task RequestDelegate(HttpContext context);

In custom middleware, it allows passing control to the next component.

More from ASP.NET Core Tutorial

All questions for this course