Commit Graph

57 Commits

Author SHA1 Message Date
John Luo cad9ea1df7 Rename WebApplication to WebHost 2016-01-17 15:31:29 -08:00
John Luo c747ce630d TestServer should not capture startup errors by default 2016-01-13 14:23:16 -08:00
John Luo f7be1fb80e Fixing logger nullref when context created with no feature #532 2016-01-13 11:47:10 -08:00
John Luo 48451bdabc Making application available from TestServer #519 2016-01-11 16:39:48 -08:00
David Fowler 1c70ff4d13 API changes to Hosting and TestServer #525 2015-12-17 14:52:42 -08:00
John Luo 455d865948 Fixing deadlock hang in test when running in single threaded environment 2015-12-14 10:14:32 -08:00
John Luo bae9771a81 Diabling async TestHost.Tests on Mono #507 2015-12-03 11:12:26 -08:00
John Luo 8c256a0d87 New IServer design with IHttpApplication added #395 2015-12-01 12:08:40 -08:00
Pavel Krymets 6a719ab95d Remove webroot fallback to approot 2015-11-20 13:37:08 -08:00
John Luo 73fd257844 Reacting to ApplicationServices removal from HttpContext 2015-11-19 17:03:31 -08:00
Pavel Krymets 7c8b37bcc7 Do not add IHttpContextAccessor to DI by default 2015-11-18 15:03:03 -08:00
Pranav K 8341c6a944 Reacting to DependencyInjection changes 2015-11-13 11:04:43 -08:00
Cesar Blum Silveira 77f29142aa Disable tests that randomly hang on Linux (#442). 2015-10-20 14:12:05 -07:00
Chris R 10822b3b4f #411 Move webroot from project.json to config. 2015-10-22 06:10:33 -07:00
Pavel Krymets 3774b6055f React to xnd dependency injection refactorings 2015-10-21 09:31:22 -07:00
John Luo 828e8d755e reacting to telemetry rename 2015-10-19 17:21:15 -07:00
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