You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WebApplicationBuilderExtensions has been split up into WebHostBuilderExtensions and WebHostExtensions to more accurately describe which class the extension methods are for.
Added extensions .UseDefaultConfiguration(string[] args) on IWebHostBuilder. This call is equivalent to the old usage builder.UseConfiguration(WebApplicationConfiguration.GetDefault(args)). An overload that does not take the string[] args argument is also provided.
All classes prefixed with WebApplication have been renamed to WebHost. This includes:
IWebApplicationBuilder
=>IWebHostBuilder
WebApplicationBuilder
=>WebHostBuilder
IWebApplication
=>IWebHost
WebApplication
=>WebHost
WebApplicationOptions
=>WebHostOptions
WebApplicationDefaults
=>WebHostDefaults
WebApplicationService
=>WebHostService
WebApplicationConfiguration
=>WebHostConfiguration
Changes other than the direct renames include:
WebApplicationBuilderExtensions
has been split up intoWebHostBuilderExtensions
andWebHostExtensions
to more accurately describe which class the extension methods are for.WebApplicationExtensions
=>WebHostWindowsServiceExtensions
.UseDefaultConfiguration(string[] args)
onIWebHostBuilder
. This call is equivalent to the old usagebuilder.UseConfiguration(WebApplicationConfiguration.GetDefault(args))
. An overload that does not take thestring[] args
argument is also provided.Please use aspnet/Hosting#567 for discussion.
The text was updated successfully, but these errors were encountered: