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
f7c78b8fbc
Make it easier to add hosting services
...
Fixes https://github.com/aspnet/Hosting/issues/145
2015-03-05 12:23:14 -08:00
Hao Kung
7adf11b7bc
React to DI changes
2015-03-04 18:25:49 -08:00
Praburaj
d6535eeba0
Rename IHttpContextAccessor.Value to IHttpContextAccessor.HttpContext
...
Fixes: https://github.com/aspnet/Hosting/issues/160
2015-03-02 10:38:37 -08:00
Praburaj
6bf5eabd9f
Hosting API review # 2
...
1. Moving HostingUtilities and PipelineInstance into internal namespaces.
2. Renaming some properties in IHostingEnvironment
3. Renaming IHttpContextAccessor HttpContext into Value.
Addresses:
https://github.com/aspnet/Hosting/issues/159
https://github.com/aspnet/Hosting/issues/157
https://github.com/aspnet/Hosting/issues/161
2015-02-27 11:30:38 -08:00
Hao Kung
d687ec2c26
Revert HostingServices.Create changes
...
Need to understand MVC failures
2015-02-19 17:57:27 -08:00
Hao Kung
2ee12735b3
Make it easier to add hosting services
...
Fixes https://github.com/aspnet/Hosting/pull/146
2015-02-19 13:22:58 -08:00
Hao Kung
16a811479e
Simplify HttpContextAccessor (now singleton)
2015-01-14 17:24:33 -08:00
Brennan
4ad0f41eea
Update tests to use official xunit
2014-12-15 15:17:07 -08:00
Chris Ross
03e4739a3f
Re-merge IWebRoot & IHostingEnv.
2014-12-04 17:23:21 -08:00
Chris Ross
b883968eef
#86 - Implement IWebRootFileSystemProvider
2014-12-04 14:44:16 -08:00
Victor Hurdugaci
d85580649f
Update the expected exception from DI
2014-12-03 13:52:46 -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
Chris Ross
8a66871139
#71 - Create IHostingEnvironment.
2014-09-11 16:28:01 -07:00
Chris Ross
200f894b5b
Handle IBuilder rename to IApplicationBuilder.
2014-09-10 10:25:41 -07:00
Chris Ross
ed38d28db4
#65 - Port more TestHost funcationality.
2014-07-31 11:37:27 -07:00
Chris Ross
6afcadd66a
Add using statement for extension methods.
2014-07-08 09:59:13 -07:00
Stephen Halter
25bbfa7165
Fix test now that ServiceProvider throws a generic exception
...
aspnet/DependencyInjection#87
2014-06-11 12:14:37 -07:00
Louis DeJardin
7edc2dfbe9
Fixing unit tests
2014-05-08 22:36:56 -07:00
David Fowler
03cffeb451
React to renames
2014-05-08 03:49:01 -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
Javier Calvarro Nelson
8ca4a331e2
Created an in memory host for testing purposes and added the appropriate
...
APIs to allow sending requests through the pipeline easily.
2014-04-09 12:58:58 -07:00