Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Expose WebHostOptions as a first class way to configure the IWebHostBuilder #1042

Closed
davidfowl opened this issue Apr 25, 2017 · 5 comments
Closed

Comments

@davidfowl
Copy link
Member

Today we have special extension methods that configure settings on the IWebHostBuilder with various options, PreferHostingUrls, CaptureStartupErrors etc. Instead, we should expose WebHostOptions and a method ConfigureOptions(Action<WebHostOptions>) that lets you programmatically set configuration. This win over an configuration based logic.

@josephwoodward
Copy link

This would be awesome 👍 Can think of a lot of great use cases for such an extension.

@muratg
Copy link

muratg commented Jun 26, 2017

@davidfowl If we want this in 2.0.0, it needs to be designed this week.

@muratg muratg added this to the 2.1.0 milestone Aug 8, 2017
@muratg
Copy link

muratg commented Aug 8, 2017

@davidfowl will do the investigation

@muratg
Copy link

muratg commented Nov 7, 2017

cc @glennc

@davidfowl davidfowl removed their assignment Feb 7, 2018
@davidfowl davidfowl removed this from the 2.1.0 milestone Feb 7, 2018
@davidfowl
Copy link
Member Author

This is low value so I'm going to close this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants