{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/567","labels_url":"https://api.github.com/repos/aspnet/Hosting/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Hosting/issues/567/comments","events_url":"https://api.github.com/repos/aspnet/Hosting/issues/567/events","html_url":"https://github.com/aspnet/Hosting/issues/567","id":126418773,"number":567,"title":"Consider changing WebApplication* to WebHost*","user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-01-13T13:34:18Z","updated_at":"2016-01-14T10:10:58Z","closed_at":null,"body":"We have `IWebApplicationBuilder`, `WebApplicationBuilder`, `IWebApplication`, and `IApplicationBuilder`.\r\n\r\n`IApplicationBuilder` looks related to `IWebApplicationBuilder` but they are not. \r\n\r\nToday:\r\n\r\n\r\n```C#\r\nvar app = new WebApplicationBuilder()\r\n                        .UseServer(\"Microsoft.AspNet.Server.Kestrel\")\r\n                        .UseUrls(\"http://localhost:5001\")\r\n                        .UseStartup<Startup>()\r\n                        .Build();\r\n\r\napp.Run();\r\n```\r\n\r\nPotentially changed to:\r\n\r\n```C#\r\nvar host = new WebHostBuilder()\r\n                        .UseServer(\"Microsoft.AspNet.Server.Kestrel\")\r\n                        .UseUrls(\"http://localhost:5001\")\r\n                        .UseStartup<Startup>()\r\n                        .Build();\r\n\r\nhost.Run();\r\n```\r\n\r\n`IWebHostBuilder` builds the `IWebHost`\r\n\r\n/cc @lodejard @Tratcher @JunTaoLuo @DamianEdwards  Thoughts? I'm not 100% on the naming though and I also don't think this matters that much but think about it a little :smile: \r\n\r\nThis *is* the hosting repository and we are *hosting* ASP.NET so it sorta makes sense."},"comment":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/comments/171594575","html_url":"https://github.com/aspnet/Hosting/issues/567#issuecomment-171594575","issue_url":"https://api.github.com/repos/aspnet/Hosting/issues/567","id":171594575,"user":{"login":"davidfowl","id":95136,"avatar_url":"https://avatars.githubusercontent.com/u/95136?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfowl","html_url":"https://github.com/davidfowl","followers_url":"https://api.github.com/users/davidfowl/followers","following_url":"https://api.github.com/users/davidfowl/following{/other_user}","gists_url":"https://api.github.com/users/davidfowl/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfowl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfowl/subscriptions","organizations_url":"https://api.github.com/users/davidfowl/orgs","repos_url":"https://api.github.com/users/davidfowl/repos","events_url":"https://api.github.com/users/davidfowl/events{/privacy}","received_events_url":"https://api.github.com/users/davidfowl/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T10:10:58Z","updated_at":"2016-01-14T10:10:58Z","body":"But we're going to call it `WebHostConfiguration` so it matches the other names. We're splitting hairs and naming is hard but that's what we're calling it."}}