Commit Graph

422 Commits

Author SHA1 Message Date
Praburaj 718d923c7d Adding IApplicationLifetime to the manifest
Since IApplicationLifetime is not added to the manifest, while calling HostingServices.Create() before invoking ConfigureServices() we end up creating a new instance of IApplicationLifetime. So the Cancellationtoken that hosting triggers on appshutdown is different from what the app is exposed.
2015-03-04 15:48:31 -08:00
Praburaj f2d345855b Adding a test for mutable feature collection 2015-03-03 14:07:10 -08:00
Praburaj fde3b0d2af OwinFeature collection throws NotSupported exception as the featurecollection is immutable
Addresses: https://github.com/aspnet/HttpAbstractions/issues/207
2015-03-03 12:02:42 -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
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
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
Eilon Lipton eb2887e5ef Merge pull request #153 from dtkujawski/dev
Ability to derive Startup from base class
2015-02-26 22:39:07 -08:00
Praburaj 435215b542 PR comments 2015-02-26 10:38:39 -08:00
Praburaj a2eec4f863 Changing the IHttpContextFactory.CreateHttpContext take in a IFeatureCollection
Addresses: https://github.com/aspnet/Hosting/issues/162
2015-02-25 17:48:46 -08:00
Praburaj 00864c1af4 Hosting API review feedback # 1
Addresses:
https://github.com/aspnet/Hosting/issues/164
https://github.com/aspnet/Hosting/issues/163
https://github.com/aspnet/Hosting/issues/155
https://github.com/aspnet/Hosting/issues/156
https://github.com/aspnet/Hosting/issues/154
2015-02-25 16:05:22 -08:00
Hao Kung d687ec2c26 Revert HostingServices.Create changes
Need to understand MVC failures
2015-02-19 17:57:27 -08:00
Hao Kung b510370c9b Add ILogger to manifest 2015-02-19 16:58:04 -08:00
Hao Kung 21d5ae540e Fix for MVC functional failures 2015-02-19 15:17:18 -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
Wei Wang 34acb16e20 Add project.lock.json to .gitignore 2015-02-16 13:29:03 -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
David Kujawski b94634b4fa Merge pull request #1 from aspnet/dev
Update with recent changes from aspnet/Hosting
2015-02-13 11:36:30 -06:00
dtkujawski e95472e953 Switch from tabs to spaces 2015-02-12 23:45:26 -06:00
Pranav K 66b98e2ff3 Reacting to IServiceManifest namespace rename 2015-02-12 16:05:09 -08:00
Brice Lambson a48f76da7c Update IServiceProvider references 2015-02-12 15:48:49 -08: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
Pranav K 5038c369db Using IServiceManifest from Microsoft.Framework.Runtime.Interfaces 2015-02-12 14:44:38 -08:00
David Fowler 6208698a5c Added Microsoft.AspNet.Hosting.Interfaces package 2015-02-09 22:10:29 -08:00
damianedwards eba2808109 Register ILogger<T> -> Logger<T> in default services 2015-02-03 10:36:35 -08:00
Wei Wang 7f133daa74 Merge remote-tracking branch 'origin/release' into dev 2015-01-29 16:25:25 -08:00
Pranav K ba58c767e8 Fixing NuGet.config 2015-01-28 22:34:18 -08:00
Wei Wang 89484cdffb Change SKIP_DOTNET_INSTALL to SKIP_KRE_INSTALL 2015-01-28 18:10:20 -08:00
Wei Wang 2535e30b12 Update build.cmd and build.sh to use kvm 2015-01-28 18:10:06 -08:00
Wei Wang 5fec478747 Merge branch 'release' of github.com:aspnet/Hosting into release 2015-01-28 18:09:34 -08:00
Suhas Joshi a638c0ed4a Merge branch 'release' into dev 2015-01-21 15:49:25 -08:00
Suhas Joshi f733c18075 Updating to release NuGet.config 2015-01-21 15:49:23 -08:00
Aligned dd8dee2979 Change ASP.NET vNext to ASP.Net 5 in the Readme.md 2015-01-21 13:18:51 -06:00
Wei Wang e9c79612aa Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL 2015-01-20 18:17:58 -08:00
Suhas Joshi 2c6411e95d Updating NuGet.config 2015-01-20 17:22:57 -08:00
Chris Ross 36c2a44b91 Handle IFileSystem rename. 2015-01-20 08:37:10 -08:00
Pranav K a93537e3be Updating build.cmd and build.sh to use dotnetsdk 2015-01-20 01:36:04 -08:00
Pranav K cb17819552 Updating build.cmd and build.sh to use dotnetsdk 2015-01-20 01:31:43 -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
Hao Kung f786fb7bd0 Add HttpContextAccessor 2015-01-12 10:22:15 -08:00
David Fowler d9237b3a08 Merge pull request #136 from Tragetaschen/shutdown-dispose-exception
Catch exceptions while disposing
2015-01-04 08:52:14 -08:00
Kai Ruhnau 6cd5744383 Catch exceptions while disposing 2014-12-28 00:05:33 +01:00
David Fowler 217f9ca3d3 Merge pull request #125 from aidancasey/dev
NDC London bug fix! , changing environment variable name
2014-12-22 18:08:07 -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
Suhas Joshi f958bbf774 Updating to dev NuGet.config 2014-12-08 15:24:40 -08:00
Suhas Joshi 9c28fc93c3 Updating to release NuGet.config 2014-12-08 15:14:17 -08:00
David Fowler a5ab614937 Removed the null check for IApplicationBuilder 2014-12-06 10:41:11 -08:00
David Fowler 559f5491d4 Make services registered in ConfigureServices work in Configure
- Added a test

#114
2014-12-06 10:41:10 -08:00