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
4efa6a428b
Support IServiceProvider ConfigureServices()
2014-10-16 11:44: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
Hao Kung
684aaed9bd
Cleanup headers
2014-10-09 14:04:36 -07:00
Hao Kung
53eea70c06
Startup: Call ConfigureServices if exists
2014-10-08 12:05:44 -07:00
Chris Ross
200f894b5b
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 10:25:41 -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
Wei Wang
7c7efeda57
Fix ordering of usings and dependencies after namespace renaming
2014-05-06 14:59:55 -07:00
Chris Ross
3b57674141
Update DI dependency.
2014-05-06 11:11:00 -07:00
David Fowler
a4816ab782
React to renames
2014-05-06 00:02:26 -07:00
Chris Ross
3141543f04
Fix HttpAbstractions dependency renames.
2014-05-05 16:26:26 -07:00
anpete
e645599aa6
Update file headers
2014-05-01 17:39:17 -07:00
GrabYourPitchforks
4077c03a7b
Hosting: Throw if startup method isn't void-returning.
2014-04-24 12:54:50 -07:00
GrabYourPitchforks
ea1f93aa91
Fix bad call to Assembly.GetType in Hosting.
...
CR: chrross
2014-03-18 11:49:41 -07:00
Chris Ross
2b7272fe07
Review feedback.
2014-03-14 10:17:46 -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
David Fowler
7aeecf6bce
Look for Startup and AssemblyName.Startup
2014-02-14 00:20:08 -08:00
Louis DeJardin
14679a78ee
Implementing code review feedback
2014-02-10 18:18:10 -08:00
Louis DeJardin
0e813fbb79
Rough outline of hosting components
2014-02-09 23:25:56 -08:00