Skip to content
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

Consume HostApplicationBuilder from WebApplicationBuilder #40459

Merged
merged 3 commits into from
Mar 19, 2022
Merged

Conversation

halter73
Copy link
Member

@halter73 halter73 commented Mar 1, 2022

Depends on dotnet/runtime#65109 being merged and a subsequent arcade dependency update from the runtime repo.

I hope to propose a better public API than ConfigureWebHostDefaults (#40761) to consume the default configuration from Microsoft.Extensions.Hosting in Microsoft.AspNetCore, but that will likely have a big surface area that will need API reviewed. I think this can be done as a follow up.

@ghost ghost added the area-runtime label Mar 1, 2022

Properties = properties;
foreach (var descriptor in _builder.Services)
Copy link
Member

Choose a reason for hiding this comment

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

I thought the goal was to remove the hacks...

Copy link
Member Author

Choose a reason for hiding this comment

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

I hope to propose a better public API than ConfigureWebHostDefaults to consume the default configuration from Microsoft.Extensions.Hosting in Microsoft.AspNetCore, but that will likely have a big surface area that will need API reviewed. I think this can be done as a follow up.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants