Created
June 17, 2016 21:59
-
-
Save JoshuaCode/51844021a6f9cbdce91976c13f9a9efc to your computer and use it in GitHub Desktop.
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 IServiceProvider ConfigureServices(IServiceCollection services) | |
{ | |
// Add framework services. | |
services.AddMvc(); | |
var container = new Container().WithDependencyInjectionAdapter(services); | |
var serviceProvider = container.Resolve<IServiceProvider>(); | |
return serviceProvider; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment