Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way of using Middleware without Isolated functions v4.0.1 #2825

Closed
scott-david-walker opened this issue Jan 19, 2022 · 6 comments
Closed
Labels

Comments

@scott-david-walker
Copy link

Hi,
We've just done an upgrade from our Azure Functions V3 (.NET core 3.1) to V4 and we're unable to insert middleware. All the documentation says that this is possible but only when using Isolated functions. Is there a method to do this for functions not using the isolated process?

We found the Functions Filters but these are marked as obsolete.

Any advice on this is appreciated

@ghost ghost assigned soninaren Jan 19, 2022
@v-bbalaiagar v-bbalaiagar self-assigned this Jan 28, 2022
@v-bbalaiagar
Copy link

Hi @scott-david-walker , Thank you for your feedback! We will check for the possibilities internally and update you with the findings.

@v-bbalaiagar
Copy link

Tagging @mathewc / @fabiocav , for more inputs

@mathewc
Copy link
Member

mathewc commented Mar 4, 2022

Correct - middleware registration is only possible in the isolated model, details here. The Function Filters feature you reference is marked obsolete because we don't plan on carrying that model forward - see here, in favor of a more standard middleware approach.

@rafek1241
Copy link

Correct - middleware registration is only possible in the isolated model, details here. The Function Filters feature you reference is marked obsolete because we don't plan on carrying that model forward - see here, in favor of a more standard middleware approach.

Do you plan to make the standard middleware approach available in in-process hosting model?

@mathewc
Copy link
Member

mathewc commented Apr 15, 2022

No we don't plan on extending the in-proc model with middleware capabilities.

@MisinformedDNA
Copy link

@mathewc The "more standard middleware approach" has been open since 2017. Can you update that thread with any progress and roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants