Skip to content

Block generic host Startup.ConfigureServices that return IServiceProvider #6997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

Tratcher
Copy link
Member

#5149 IServiceProvider ConfigureServices(IServiceCollection services) is one of the patterns not supported by the generic web host as it needs to compose on a single container. Adding an error for discoverability.

@muratg this is a low risk merge.

@Tratcher Tratcher added this to the 3.0.0-preview3 milestone Jan 24, 2019
@Tratcher Tratcher self-assigned this Jan 24, 2019
Copy link
Contributor

@muratg muratg left a comment

Choose a reason for hiding this comment

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

Approved, but let's verify with Nate (preview2 build status) before merging tomorrow.

@Tratcher Tratcher merged commit a16a6df into master Jan 25, 2019
@Tratcher Tratcher deleted the tratcher/nostart branch January 25, 2019 16:16
@amcasey amcasey added the area-hosting Includes Hosting label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-hosting Includes Hosting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants