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
Levi B
c859c3dad5
Skip failing test due to DataProtection changes.
2014-10-10 12:27:14 -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
Louis DeJardin
7edc2dfbe9
Fixing unit tests
2014-05-08 22:36:56 -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
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
Louis DeJardin
f59d29b5eb
Renaming DefaultServices to GetDefaultServices
2014-02-10 17:57:44 -08:00
Louis DeJardin
0e813fbb79
Rough outline of hosting components
2014-02-09 23:25:56 -08:00