Commit Graph

65 Commits

Author SHA1 Message Date
Doug Bunting e3b34d8c43 Merge remote-tracking branch 'origin/release' into dev 2015-04-03 11:56:29 -07:00
Doug Bunting 8be4a1a0af Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:26 -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
N. Taylor Mullen a10acfd4cd Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 17:17:33 -07:00
N. Taylor Mullen e3e0f1a1c3 Update .kproj => .xproj. 2015-03-11 14:07:29 -07:00
N. Taylor Mullen 48c6facf29 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:54:37 -07:00
N. Taylor Mullen 19df67f33e Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:50:29 -07:00
Praburaj eeda8e3d73 Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 17:03:03 -08: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
Stephen Halter bf9d22bb89 Handle HttpFeature rename 2015-01-18 20:50:01 -08:00
Chris Ross 9746a67990 Handle PipelineCore rename. 2015-01-15 12:45:07 -08:00
Hao Kung 16a811479e Simplify HttpContextAccessor (now singleton) 2015-01-14 17:24:33 -08:00
Chris Ross 4333003df0 Generalize BasePath logic. 2014-12-18 15:30:43 -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
Victor Hurdugaci bf0c8c95b0 Add schema version to kproj files 2014-11-25 10:47:58 -08:00
Glenn Condron bd5c07d66a Move default hosting environment code 2014-11-21 17:04:04 -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
Chris Ross b7bb7f8fcf Fix issue with empty path. 2014-11-14 09:43:33 -08:00
Chris Ross bf5d14f477 #78 - Enable TestServer to populate the PathBase. 2014-11-13 16:23:03 -08:00
Victor Hurdugaci d25ffec655 Update KProj to latest version 2014-11-12 15:06:43 -08:00
Chris Ross 65f595ca02 Add new HeadersSent API. 2014-11-06 12:01:14 -08:00
Pranav K c9fbaccde1 Cleaning up project.json
Updating Newtonsoft.Json version to 6.0.6
2014-10-24 00:45:27 -07: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 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
David Fowler 07ccfe880b Fixup references 2014-10-05 04:59:24 -07:00
Chris Ross 8a66871139 #71 - Create IHostingEnvironment. 2014-09-11 16:28:01 -07:00
Wei Wang 64455620a0 React to renaming TargetFramework to RuntimeFramework 2014-09-10 12:31:50 -07:00
Chris Ross 200f894b5b Handle IBuilder rename to IApplicationBuilder. 2014-09-10 10:25:41 -07:00
David Fowler a9ec7cfb62 Changing net45 to aspnet50 2014-09-04 01:22:48 -07:00
Pranav K 904eeb76f9 Removing TestClient from TestServer 2014-09-01 11:56:11 -07:00
David Fowler 630abe6a5d Updated to use the new target framework in project.json 2014-08-28 23:29:57 -07:00
Louis DeJardin 70972fb7a1 Rebase cleanup 2014-08-15 16:08:47 -07:00
Louis DeJardin c720364d0e Registering standard LoggerFactory : ILoggerFactory implementation 2014-08-15 16:03:35 -07:00
David Fowler 58468e9509 Removed source files from the project 2014-08-15 08:13:03 -07:00
Chris Ross ed38d28db4 #65 - Port more TestHost funcationality. 2014-07-31 11:37:27 -07:00
David Fowler b6243326c3 Renamed configurations to frameworks in project.json 2014-07-13 21:50:14 -07:00
David Fowler 5208421ad5 Fixed dependencies to get the right version of IApplicationEnvironment 2014-07-10 10:16:24 -07:00
David Fowler fbd2c4a08e Added Configuration to TestApplicationEnvironment 2014-07-10 10:00:14 -07:00
Chris Ross 6afcadd66a Add using statement for extension methods. 2014-07-08 09:59:13 -07:00
Brice Lambson 64850167a1 Bump version to 1.0.0-* 2014-06-19 16:32: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