Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Dependency Injections on Azure Functions V2
public class CoreAppModule : Module
public override void Load(IServiceCollection services)
var config = new ConfigurationBuilder()
var github = config.Get<GitHub>("github");
services.AddTransient<IGitHubRepositoriesFunction, CoreGitHubRepositoriesFunction>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment