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

Using this SDK in asp net core api with dependency injection #345

Open
bragma opened this issue Apr 4, 2023 · 1 comment
Open

Using this SDK in asp net core api with dependency injection #345

bragma opened this issue Apr 4, 2023 · 1 comment

Comments

@bragma
Copy link

bragma commented Apr 4, 2023

Hi,
I need to use firebase admin SDK in an backend api. My project is using DI and it's not clear to me how to initialize the SDK to use methods from controllers - in particular, how to declare lifecycle when registering with services (session, scoped, singleton).
Is there a project example for this use case?
Thanks!

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

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

No branches or pull requests

2 participants