IApplicationBuilder IApplicationBuilder Interface

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

Syntax

Declaration

public interface IApplicationBuilderPublic Interface IApplicationBuilder

Properties summary

Gets or sets the System.IServiceProvider that provides access to the application's service container.
Gets a key/value collection that can be used to share data between middleware.
Gets the set of HTTP features the application's server provides.

Methods summary

Builds the delegate used by this application to process HTTP requests.
Creates a new IApplicationBuilder that shares the Properties of this IApplicationBuilder.
Adds a middleware delegate to the application's request pipeline.

Properties

  • ApplicationServices
    ApplicationServices
    Gets or sets the System.IServiceProvider that provides access to the application's service container.
    IServiceProvider ApplicationServices { get; set; }Property ApplicationServices As IServiceProvider

    Property Value

    • System.IServiceProvider
      System.IServiceProvider
  • Properties
    Properties
    Gets a key/value collection that can be used to share data between middleware.
    IDictionary<string, object> Properties { get; }ReadOnly Property Properties As IDictionary(Of String, Object)

    Property Value

    • System.Collections.Generic.IDictionary<TKey, TValue><System.String, System.Object>
      System.Collections.Generic.IDictionary<TKey, TValue>(Of System.String, System.Object)
  • ServerFeatures
    ServerFeatures
    Gets the set of HTTP features the application's server provides.
    IFeatureCollection ServerFeatures { get; }ReadOnly Property ServerFeatures As IFeatureCollection

    Property Value

Methods

Details

Assembly

Microsoft.AspNetCore.Http.Abstractions.dll