Skip to content

Instantly share code, notes, and snippets.

Created December 16, 2018 21:04
What would you like to do?
ConfigureServices 2
private void ConfigureServices(IServiceCollection serviceCollection)
// Register services with DI system
serviceCollection.AddTransient<IEnvironmentService, EnvironmentService>();
serviceCollection.AddTransient<IConfigurationService, ConfigurationService>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment