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

Multiple Azure functions ? #16

Open
Sbou opened this issue Jun 3, 2019 · 0 comments
Open

Multiple Azure functions ? #16

Sbou opened this issue Jun 3, 2019 · 0 comments

Comments

@Sbou
Copy link

Sbou commented Jun 3, 2019

hello,

I have 4 azure functions in the same project, so they share the same host.
I wanted to use dependency injection to manage services but I realize that when you specify singleton then the instance is shared between all Azure functions.

Is there a level of isolation that would allow to have a singleton by Azure function without being forced to use the "scoped" level that is by invocation?

Thank you,

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

No branches or pull requests

1 participant