Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Last active April 1, 2018 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/c7c32871f7bd170fd9355626063f8bbe to your computer and use it in GitHub Desktop.
Save justinyoo/c7c32871f7bd170fd9355626063f8bbe to your computer and use it in GitHub Desktop.
Dependency Injections on Azure Functions V2
public class CoreAppModule : Module
{
public override void Load(IServiceCollection services)
{
services.AddSingleton<HttpClient>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment