David Fowler
8c58f7ac1a
Print started
2015-05-12 18:32:53 -07:00
Kai Ruhnau
95b1997c14
Simplify Hosting's shutdown handling.
...
Don't require a TTY on Unix.
2015-05-12 00:10:24 +02:00
N. Taylor Mullen
65b21712ef
Update LICENSE.txt and license header on files.
2015-05-01 13:51:42 -07:00
Hao Kung
5093c06b2a
Fix program main to actually use config
2015-04-24 00:10:36 -07:00
Hao Kung
234bbf82f2
Hosting API Review changes
...
- Introduce WebHostBuilder
2015-04-23 23:51:29 -07:00
Hao Kung
fd9f845dc9
Don't blast null values into UseStartup/Server
2015-03-30 20:46:23 -07:00
Hao Kung
77e2dc263f
Hosting rework #2
...
- Merge HostingContext and HostingEngine
- Cleanup usage via builder pattern
2015-03-30 18:05:51 -07:00
Hao Kung
19b75b688a
Rework hosting
...
- IStartupFilter support
- Rework HostingEngine
- AutoRequestScope by default via (IStartupFilter)
- RIP RequestContainer
2015-03-19 10:57:34 -07:00
Brennan
02ed770353
Logging API changes
2015-03-04 20:04:49 -08:00
Hao Kung
7adf11b7bc
React to DI changes
2015-03-04 18:25:49 -08:00
Eilon Lipton
16c8d51d0b
Fixes #76 - improve error messages in Hosting
...
Removed the TODOs from messages, and generally made them more readable.
2015-03-01 22:55:27 -08:00
Praburaj
435215b542
PR comments
2015-02-26 10:38:39 -08:00
Praburaj
00864c1af4
Hosting API review feedback # 1
...
Addresses:
https://github.com/aspnet/Hosting/issues/164
https://github.com/aspnet/Hosting/issues/163
https://github.com/aspnet/Hosting/issues/155
https://github.com/aspnet/Hosting/issues/156
https://github.com/aspnet/Hosting/issues/154
2015-02-25 16:05:22 -08:00
Kai Ruhnau
6cd5744383
Catch exceptions while disposing
2014-12-28 00:05:33 +01:00
Glenn Condron
bd5c07d66a
Move default hosting environment code
2014-11-21 17:04:04 -08:00
Hao Kung
2f02fc6091
Fix SelfHost to default to config environment
...
Fixes MusicStore
2014-11-21 15:01:52 -08:00
Hao Kung
ac6f1223df
Hosting changes reacting to fallback being removed
...
- HostingServices.Create() is the supported way to create a service
collection with kre services imported
- IHostingEnvironment is now a normal service
- IConfigureHostingEnvironment is how you configure it
2014-11-20 17:23:31 -08:00
Chris Ross
b44ffdb745
#111 - Remove DataProtectionOptions from the service collection.
2014-11-18 13:02:58 -08:00
Stephen Halter
cd90a337ee
Change GetService calls to GetRequiredService
...
GetRequiredService throws for missing services like GetService used to.
2014-10-16 16:20:52 -07:00
Hao Kung
6466d1061e
Use/EnsureRequestServices changes
...
- Split UseServices overloads into UseRequestServices and UseServices
- Add RequestServicesContainer class which contains the old
ContainerMiddleware logic and exposes a new
EnsureRequestServices(HttpContext) method which can be called to
populate RequestServices
- ConfigureServices now scans for Configure{Env}Services instead of
ConfigureServices{Env}
- Add OptionsServices as part of default HostingServices
2014-10-14 19:01:01 -07:00
Levi B
ebe4948a3e
Add a discriminator so that DataProtection doesn't use the same subkey across apps by default.
2014-10-10 15:06:31 -07:00
Hao Kung
684aaed9bd
Cleanup headers
2014-10-09 14:04:36 -07:00
Chris Ross
8a66871139
#71 - Create IHostingEnvironment.
2014-09-11 16:28:01 -07:00
Chris Ross
25db412332
Clean up IApplicaitonLifetime service injection.
2014-05-30 16:30:51 -07:00
Chris Ross
43ae61f7bc
#23 - Implement graceful shutdown.
2014-05-30 15:49:14 -07:00
Louis DeJardin
55271e8719
Supporting Startup method dependency injection
...
also changes method name from Configuration to Configure
also supports enviroment name command line and
2014-05-08 20:38:36 -07:00
David Fowler
03cffeb451
React to renames
2014-05-08 03:49:01 -07:00
Chris Ross
3b57674141
Update DI dependency.
2014-05-06 11:11:00 -07:00
Wei Wang
d8ff084dc1
Update dependency namespace
2014-05-05 19:55:23 -07:00
anpete
e645599aa6
Update file headers
2014-05-01 17:39:17 -07:00
Chris Ross
9a4678d40f
Change config order.
2014-03-20 21:14:22 -07:00
Chris Ross
11762840cd
Add an Initialize step to IServerFactory.
2014-03-20 21:14:18 -07:00
Stephen Halter
aa0b52df4e
ServiceCollection.FallbackServices no longer exists
...
- Pass the fallback service provider to BuildServiceProvider instead
2014-03-18 15:04:49 -07:00
David Fowler
d7bbcb9644
Fixed service provider building
2014-03-15 14:41:41 -07:00
David Fowler
c3e0279aac
Updated to use service collection
2014-03-14 14:22:20 -07:00
Chris Ross
6a5cb913c8
Review cleanup. Cleaner Startup auto-detect. Fix tests.
2014-03-13 14:25:30 -07:00
Chris Ross
ee4bb6de87
Review feedback. Style cleanup. Updated build template files.
2014-03-13 09:33:29 -07:00
Chris Ross
a3eb280275
Implement Program.Main and ServerManager. Add Startup search.
2014-03-12 15:07:37 -07:00