Last active
April 1, 2018 14:42
-
-
Save justinyoo/c7c32871f7bd170fd9355626063f8bbe to your computer and use it in GitHub Desktop.
Dependency Injections on Azure Functions V2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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