Commit Graph

18 Commits

Author SHA1 Message Date
Rutger Storm a3300a6a60 Add try..finally around RunAsync and WaitForTokenShutdownAsync #1194
The try..finally ensures that the ManualResetEventSlim which AttachCtrlcSigtermShutdown uses is set even when an exception occurs in these two methods.
2018-05-25 09:21:26 -07:00
John Luo a63932a492 Add option to suppress writing startup messages 2017-10-02 14:08:54 -07:00
Chris Ross 253be73b6f Misc generic host pr feedback (#1222) 2017-09-21 15:09:52 -07:00
John Luo 15008b0b7f Add WaitForShutdown to WebHostExtensions 2017-07-01 23:13:52 -07:00
David Fowler b0a70aeef7 Add synchronous Start back to IWebHost (#1125)
* Add synchronous Start back to IWebHost
- Fixed extension methods to have a default(CancellationToken)
- Removed extension methods for Start, StartAsync and StopAsync
2017-07-01 15:00:54 -07:00
John Luo 62cd07d0a6 Target NETStandard2.0 and add WindowsServices back 2017-05-19 14:17:02 -07:00
John Luo 9b80f2a635 Migration 2017-05-05 17:12:36 -07:00
Chris R 62f74d5be0 #947 Add IServer.StopAsyc, IWebHost.StopAsync, and make Start async 2017-04-12 21:56:19 -07:00
Pranav K 31a2bdffce Remove net451 as a cross-compile target 2017-03-24 11:45:47 -07:00
Pavel Krymets 2bddba8f90 Handle SIGTERMs for graceful shutdown (#876) 2016-11-02 09:29:44 -07:00
Mohammad Rahhal 7b513de5c3 Output "Application is shutting down" message 2016-06-17 10:53:30 -07:00
Chris R 26e6036187 #698 Remove IServerFactory 2016-04-15 16:01:17 -07:00
John Luo 312192b447 WebHostBuilder extensions rename and documentation. #636 #648 2016-03-22 16:27:28 -07:00
Christian Weiss 312db4b424 Consistency fixes for XML docs 2016-03-20 11:38:46 +01:00
John Luo 5ac589317f Additional fiels in HostingEnvironment and Renames
- Added ApplicationName, ContentRootPath and ContentRootFileProvider
- Removed Configuration
- Removed MapPath
2016-03-14 16:21:56 -07:00
David Fowler 94593de0c1 Print the application base path out
- This helps to show how the host is configured
2016-01-29 16:04:57 -08: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
N. Taylor Mullen c24e0297b2 Rename AspNet 5 folders and files.
See https://github.com/aspnet/Announcements/issues/144 for more information.
2016-01-22 12:21:33 -08:00