ApplicationBuilder Class

Namespace
Microsoft.AspNetCore.Builder.Internal
Assemblies
  • Microsoft.AspNetCore.Http

Syntax

public class ApplicationBuilder : IApplicationBuilder
class Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder

Constructors

ApplicationBuilder(System.IServiceProvider)
public ApplicationBuilder(IServiceProvider serviceProvider)
ApplicationBuilder(System.IServiceProvider, System.Object)
public ApplicationBuilder(IServiceProvider serviceProvider, object server)

Properties

Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.ApplicationServices
Return type:System.IServiceProvider
public IServiceProvider ApplicationServices { get; set; }
Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Properties
Return type:System.Collections.Generic.IDictionary<System.String>
public IDictionary<string, object> Properties { get; }
Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.ServerFeatures
Return type:Microsoft.AspNetCore.Http.Features.IFeatureCollection
public IFeatureCollection ServerFeatures { get; }

Methods

Build()
Return type:Microsoft.AspNetCore.Http.RequestDelegate
public RequestDelegate Build()
New()
Return type:Microsoft.AspNetCore.Builder.IApplicationBuilder
public IApplicationBuilder New()
Use(System.Func<Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Http.RequestDelegate>)
Return type:Microsoft.AspNetCore.Builder.IApplicationBuilder
public IApplicationBuilder Use(Func<RequestDelegate, RequestDelegate> middleware)