Commit Graph

16 Commits

Author SHA1 Message Date
Hao Kung 16a811479e Simplify HttpContextAccessor (now singleton) 2015-01-14 17:24:33 -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
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 684aaed9bd Cleanup headers 2014-10-09 14:04:36 -07:00
Chris Ross 200f894b5b Handle IBuilder rename to IApplicationBuilder. 2014-09-10 10:25:41 -07:00
Louis DeJardin 45933b149e IServerFactory is never a registered service
IServerManager is registered when needed

Or the caller may provide context.ServerFactory instance when an
override is needed
2014-06-17 15:10:13 -07:00
Stephen Halter abbd763f0f Use GetServiceOrDefault for optional dependency 2014-06-11 18:32:40 -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
Chris Ross 3b57674141 Update DI dependency. 2014-05-06 11:11:00 -07:00
anpete e645599aa6 Update file headers 2014-05-01 17:39:17 -07:00
Chris Ross 11762840cd Add an Initialize step to IServerFactory. 2014-03-20 21:14:18 -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
Louis DeJardin 0e813fbb79 Rough outline of hosting components 2014-02-09 23:25:56 -08:00