Commit Graph

41 Commits

Author SHA1 Message Date
Ryan Nowak 9a12085ef9 Suppress [Obsolete] warnings for TelemetrySource 2015-10-08 11:17:14 -07:00
Pranav K 1ef8474be2 Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:40 -07:00
N. Taylor Mullen 520fc2b5fd Fixed stack overflow when setting RequestServices
- Added tests
2015-09-24 17:09:29 -07:00
Hao Kung 49520a2a73 Switch to IServiceProvidersFeature for RequestServices 2015-09-23 13:33:07 -07:00
Chris R 6758010e1a #353,#354 Add telemetry for begin/end request and unhandled exceptions. 2015-09-16 11:01:29 -07:00
Chris R 28268ee64b Fix IStartupFilter complier break in ApplicationServices test. 2015-08-28 09:57:11 -07:00
Hao Kung 55b28abeab Explicitly set ApplicationServices for HttpContext 2015-08-25 12:23:56 -07:00
David Fowler 52388e89f8 Removed builder arg parameter from IStartupFilter
- It broke the composition model by allowing you to
reach out to the original app builder. This breaks
the ability to properly wrap and have all configure
methods see the wrapper.
2015-08-16 19:16:49 -07:00
Victor Hurdugaci dfe427d3b3 React to DNX renames 2015-07-29 00:01:20 -07:00
Hao Kung ee8baab1ed Nuke RequestServicesContainer (inline instead) 2015-06-23 13:44:06 -07:00
Kirthi Krishnamraju 4289542996 React to aspnet/Configuration #194 2015-05-22 04:58:56 -07:00
Kirthi Krishnamraju b75a855b98 React to aspnet/Congifuration #195,#198 2015-05-20 14:54:33 -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 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