concept iapplicationbuilder in category asp.net

This is an excerpt from Manning's book ASP.NET Core in Action, Second Edition.
The
IApplicationBuilderthat’s passed to theConfiguremethod is used to define the order in which middleware executes. The order of the calls in this method is important, as the order in which they’re added to the builder is the order they’ll execute in the final pipeline. Middleware can only use objects created by previous middleware in the pipeline—it can’t access objects created by later middleware.
As with all ASP.NET Core applications, you define the middleware pipeline in the
Configuremethod ofStartupby adding middleware to anIApplicationBuilderobject. To create your first middleware pipeline, consisting of a single middleware component, you need just a single method call.