Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Builder.​IApplicationBuilder

Assembly: Microsoft.AspNetCore.Http.Abstractions

Defines a class that provides the mechanisms to configure an application's request pipeline.

Properties

ApplicationServices
Gets or sets the <see cref="T:System.IServiceProvider" /> that provides access to the application's service container.
Gets the set of HTTP features the application's server provides.
Remarks An empty collection is returned if a server wasn't specified for the application builder.
Properties
Gets a key/value collection that can be used to share data between middleware.

Methods

Use​(System.​Func<​Http.​RequestDelegate, Http.​RequestDelegate> middleware)
Adds a middleware delegate to the application's request pipeline.
Returns The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> .
middleware The middleware delegate.
New​()
Creates a new <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> that shares the <see cref="P:Microsoft.AspNetCore.Builder.IApplicationBuilder.Properties" /> of this <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> .
Returns The new <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> .
Build​()
Builds the delegate used by this application to process HTTP requests.
Returns The request handling delegate.