-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
Looks good. As part of this change we should add 2 extension methods to clean up the Program.Main a bit more: public static IWebHostBuilder UseDefaultConfiguration(this IWebHostBuilder builder)
{
return builder.UseDefaultConfiguration(args: null);
}
public static IWebHostBuilder UseDefaultConfiguration(this IWebHostBuilder builder, string[] args)
{
return builder.UseConfiguration(WebHostConfiguration.GetDefault(args));
} |
|
||
namespace Microsoft.AspNet.Hosting | ||
{ | ||
public interface IWebHostBuilder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add doc comments to the interface while you're at it?
Hosting.json -> WebHost.json wasn't a terrible suggestion. @davidfowl? |
Nah, I dont see a reason to change it. |
🆙📅 |
|
||
namespace Microsoft.AspNet.Hosting | ||
{ | ||
public static class WebHostBuilderExtensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidfowl, @Tratcher also wanted to change this to something like WebHostBuilderBasicExtensions
. I suggest *CoreExtensions if we really need to differentiate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basic? Core? Why? This is the original library, everyone else can pick a worse name 😄
|
da39401
to
aaf27a0
Compare
aaf27a0
to
cad9ea1
Compare
#567 Did I missed anything? @Tratcher @davidfowl If not, I'll make all the updates to other repos tomorrow directly to their dev.