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

Hosting renaming WebApplication to WebHost #141

Open
JunTaoLuo opened this issue Jan 19, 2016 · 0 comments
Open

Hosting renaming WebApplication to WebHost #141

JunTaoLuo opened this issue Jan 19, 2016 · 0 comments

Comments

@JunTaoLuo
Copy link

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 into WebHostBuilderExtensions and WebHostExtensions to more accurately describe which class the extension methods are for.
  • WebApplicationExtensions => WebHostWindowsServiceExtensions
  • 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.

Please use aspnet/Hosting#567 for discussion.

@JunTaoLuo JunTaoLuo added this to the 1.0.0-rc2 milestone Jan 19, 2016
@aspnet aspnet locked and limited conversation to collaborators Jan 19, 2016
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

1 participant