Pavel Krymets
ea0abd8293
Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions
2015-10-22 18:10:41 -07:00
John Luo
0394987271
Adding more specific error for private configure
2015-10-22 12:35:25 -07:00
Pranav K
1ef8474be2
Renaming Microsoft.Framework.* -> Microsoft.Extensions.*
2015-10-03 15:44:40 -07:00
moozzyk
3d5f70fd01
Updating RuntimeEnvironment after IRuntimeEnvironment changes
2015-09-29 13:52:13 -07:00
Chris R
a9e7948d72
#77 Catch startup exceptions and show them in the browser.
2015-09-24 21:41:08 -07:00
David Fowler
9b061ececb
Dispose the service provider on app shutdown
...
- Added a unit test
#322
2015-09-16 14:52:54 -07:00
Hao Kung
55b28abeab
Explicitly set ApplicationServices for HttpContext
2015-08-25 12:23:56 -07:00
Chris R
00b5cdc4a2
#212 Check for duplicate Configure or ConfigureServices methods.
2015-07-01 13:00:54 -07:00
Hao Kung
5b851c49a3
Throw when ConfigureServices has wrong signature
2015-05-15 13:46:58 -07:00
N. Taylor Mullen
65b21712ef
Update LICENSE.txt and license header on files.
2015-05-01 13:51:42 -07:00
David Fowler
2b07b1a5fa
Added test that injects IHostingEnvironment
...
#221
2015-04-01 21:59:14 -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
dtkujawski
5a5975e348
Removed Ctor, Cleaned up namespace and removed extra vertical spacing as per comments.
2015-02-13 11:47:42 -06: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
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
Pranav K
aebfecdf87
Reacting to DI changes
2014-11-24 10:10:51 -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
Hao Kung
7f1024aac0
Unify ConfigureServices to take IServiceCollection with Options
2014-11-04 12:32:24 -08: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
7edc2dfbe9
Fixing unit tests
2014-05-08 22:36:56 -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
Chris Ross
ee4bb6de87
Review feedback. Style cleanup. Updated build template files.
2014-03-13 09:33:29 -07:00
Louis DeJardin
0e813fbb79
Rough outline of hosting components
2014-02-09 23:25:56 -08:00