MiddlewareWorkerApplicationBuilderExtensions.UseDefaultWorkerMiddleware Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the IFunctionsWorkerApplicationBuilder to use the default set of middleware used by the worker, in the following order:
- Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware
- Microsoft.Azure.Functions.Worker.Pipeline.FunctionExecutionMiddleware
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseDefaultWorkerMiddleware (this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder);
static member UseDefaultWorkerMiddleware : Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder -> Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder
<Extension()>
Public Function UseDefaultWorkerMiddleware (builder As IFunctionsWorkerApplicationBuilder) As IFunctionsWorkerApplicationBuilder
Parameters
The IFunctionsWorkerApplicationBuilder to configure.
Returns
The same instance of the IFunctionsWorkerApplicationBuilder for chaining.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET