Chris R
00b5cdc4a2
#212 Check for duplicate Configure or ConfigureServices methods.
2015-07-01 13:00:54 -07:00
Chris R
ad93dd74b6
React to Http namespace changes.
2015-05-07 13:26:53 -07:00
N. Taylor Mullen
65b21712ef
Update LICENSE.txt and license header on files.
2015-05-01 13:51:42 -07:00
Hao Kung
234bbf82f2
Hosting API Review changes
...
- Introduce WebHostBuilder
2015-04-23 23:51:29 -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
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
Eilon Lipton
eb2887e5ef
Merge pull request #153 from dtkujawski/dev
...
Ability to derive Startup from base class
2015-02-26 22:39:07 -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
dtkujawski
e95472e953
Switch from tabs to spaces
2015-02-12 23:45:26 -06:00
dtkujawski
fe3675a9e0
Ability to derive Startup from a base class and have "Configure" and "ConfigureServices" be invoked from the base class when present.
2015-02-12 17:40:14 -06:00
David Fowler
a5ab614937
Removed the null check for IApplicationBuilder
2014-12-06 10:41:11 -08:00
David Fowler
559f5491d4
Make services registered in ConfigureServices work in Configure
...
- Added a test
#114
2014-12-06 10:41:10 -08:00
Hao Kung
a9827a4310
GetDefaultServices -> AddHosting
...
Also stop adding options
2014-11-24 17:33:11 -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
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