Commit Graph

9 Commits

Author SHA1 Message Date
Chris R 62f74d5be0 #947 Add IServer.StopAsyc, IWebHost.StopAsync, and make Start async 2017-04-12 21:56:19 -07:00
David Fowler c5e8120e39 Remove UseServer(string) overload
- Removed the overload that takes a string because it's broken

#731
2016-05-20 21:55:26 -07:00
John Luo 9479f0910a Merge branch 'release' into dev 2016-04-27 14:04:41 -07:00
John Luo e505ecbc21 #700 #727 Add environment variables by default and remove UseDefaultHostingConfiguration 2016-04-27 11:40:22 -07:00
David Fowler 8f5f8d28d0 This change introduces a new service `IStartup` that can be registered in the hosting container to override any startup logic. `UseStartup` overloads have been changed to detect `IStartup` and directly put it in the container, or to wrapping it with a `ConventionBasedStartup` implementation to preserve the existing behavior.
- Remove IStartupLoader and add `IStartup` instead that matches the signature hosting cares about
- Moved `UseStartup` to extension methods
- Move existing logic into `ConventionBasedStartup` class
2016-04-18 21:33:03 -07:00
N. Taylor Mullen e62ceb8528 Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:21:40 -08:00
John Luo cad9ea1df7 Rename WebApplication to WebHost 2016-01-17 15:31:29 -08:00
David Fowler e72924796e More hosting API changes
- Added IWebApplicationBuilder and moved it to Hosting.Abstractions as a
target for others to extend the web application builder.
- Made methods extension methods where possible
- Added UseUrls
2016-01-06 21:09:33 -08:00
David Fowler 1c70ff4d13 API changes to Hosting and TestServer #525 2015-12-17 14:52:42 -08:00