Azure / Azure/Azure-Functions

[Visual Studio] How do perform dependency injection?

Open
#299 47 comments 60 reactions 1 assignee Assigned to @fabiocav View on GitHub
feature
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Hi,

What's the recommended way to do DI in the new Azure Functions model?

I've seen mentions of the Service Locator pattern.

Any recommended samples/packages/code we should follow?

Is [this](http://stackoverflow.com/questions/30328775/dependency-injection-using-azure-webjobs-sdk) the correct way? (not sure if still relevant)

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.