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.​Connections.​IConnectionBuilder

Assembly: Microsoft.AspNetCore.Connections.Abstractions

Defines an interface that provides the mechanisms to configure a connection pipeline.

Properties

ApplicationServices
Gets the <see cref="T:System.IServiceProvider" /> that provides access to the application's service container.

Methods

Use​(System.​Func<​ConnectionDelegate, ConnectionDelegate> middleware)
Adds a middleware delegate to the application's connection pipeline.
Returns The <see cref="T:Microsoft.AspNetCore.Connections.IConnectionBuilder" /> .
middleware The middleware delegate.
Build​()
Builds the delegate used by this application to process connections.
Returns The connection handling delegate.