Skip to content

Middleware registration without gRPC #808

@bbieniek

Description

@bbieniek

Hi,

Is there any other way to register middleware than by using ConfigureFunctionsWorkerDefaults?
Currently, when we want to add middleware, the function also adds support for gRPC.
In our case, we do not really want and need gRPC support.

I would propose to add an extension method that would allow for:

ConfigureFunctionsWorker(builder => {
builder.UseMiddleware<T>();
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions