Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Add DI extension method namespace to Program.cs in templates #494

Merged
merged 2 commits into from
Apr 5, 2018

Conversation

danroth27
Copy link
Member

Adding a using for Microsoft.Extensions.DependencyInjection so that you can use common DI extension methods like AddSingleton.

@danroth27
Copy link
Member Author

Also rename configure parameter to services like it is in ASP.NET Core.

Copy link
Member

@SteveSandersonMS SteveSandersonMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@danroth27 danroth27 merged commit 2e41f05 into dev Apr 5, 2018
@SteveSandersonMS SteveSandersonMS added this to the 0.2.0 milestone Apr 16, 2018
@danroth27 danroth27 deleted the danroth27/templates-di-namespace branch July 24, 2018 05:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants