IFunctionsWorkerApplicationBuilder Interface

Definition

Represents a builder for a Functions Worker Application.

public interface IFunctionsWorkerApplicationBuilder
type IFunctionsWorkerApplicationBuilder = interface
Public Interface IFunctionsWorkerApplicationBuilder

Properties

Services

The collection of services for the current IFunctionsWorkerApplicationBuilder.

Methods

Use(Func<FunctionExecutionDelegate,FunctionExecutionDelegate>)

Registers a custom middleware in the worker's invocation pipeline.

Extension Methods

UseDefaultWorkerMiddleware(IFunctionsWorkerApplicationBuilder)

Configures the IFunctionsWorkerApplicationBuilder to use the default set of middleware used by the worker, in the following order:

  1. Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware
  2. Microsoft.Azure.Functions.Worker.Pipeline.FunctionExecutionMiddleware
UseFunctionExecutionMiddleware(IFunctionsWorkerApplicationBuilder)

Configures the IFunctionsWorkerApplicationBuilder to use the default Microsoft.Azure.Functions.Worker.Pipeline.FunctionExecutionMiddleware.

UseMiddleware(IFunctionsWorkerApplicationBuilder, Func<FunctionContext,Func<Task>,Task>)

Configures the IFunctionsWorkerApplicationBuilder to use the provided inline middleware delegate.

UseMiddleware<T>(IFunctionsWorkerApplicationBuilder)

Configures the IFunctionsWorkerApplicationBuilder to use the provided middleware type.

UseOutputBindingsMiddleware(IFunctionsWorkerApplicationBuilder)

Configures the IFunctionsWorkerApplicationBuilder to use the default Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware.

Applies to