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

No separate ModuleClient instance per Background Service #91

Open
fgheysels opened this issue Jan 30, 2023 · 0 comments
Open

No separate ModuleClient instance per Background Service #91

fgheysels opened this issue Jan 30, 2023 · 0 comments

Comments

@fgheysels
Copy link

The new IoT Edge module template generates code for using background-services. However, a new ModuleClient instance is instantiated per BackgroundService, which is imo not a best practice.
Ideally, you should have one ModuleClient instance per iotedge module.
See also my remark here.

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