David Fowler
5748898fc4
Make the RequestServicesContainerMiddleware thinner ( #1360 ) ( #1362 )
...
- Today the request services middleware is responsible for making sure there are request scoped services.
This PR tries introduces some breaking changes that are hopefully acceptable in order to gain some performance.
- Here are the assumptions this PR makes:
- Since this middleware is first in the pipeline, the only thing that can
set a default service provider would be the server itself. Since we have no servers that do that
I removed that code that tries to noop if there's an existing service provider.
- This PR no longer restores the previous service provider feature since it gets replaced every request
anyways. Kestrel also clears out the feature on each request so it shouldn't be a problem (in theory).
Once again, since this middleware is first, it is the last thing that runs before the server re-gains
control on the way out so there's no need to restore anything.
- We use the RegisterForDispose method to dispose of the IServiceProvider instead of doing it inline.
2018-03-21 08:58:03 -07:00
Pranav K
780ca4ab56
Update KoreBuild channel
2018-03-16 12:29:37 -07:00
Pranav K
1ebe9f1036
Branching for 2.1.0-preview2
2018-03-16 11:14:32 -07:00
Mike Harder
a041b368bb
Add missing TestAssets projects to Hosting.sln ( #1352 )
...
* Reaction to #1333
2018-03-14 18:31:10 -07:00
ASP.NET CI
983d0e530a
Update dependencies.props
...
[auto-updated: dependencies]
2018-03-08 12:59:45 -08:00
Chris Ross (ASP.NET)
b6dc00229d
Convert TestHost ResponseStream to use Pipes.
2018-03-07 15:22:20 -08:00
Nate McMaster
f0949b7ebb
Don't double-append the build number for IntegrationTesting
2018-03-07 15:14:08 -08:00
Pranav K
864ad113cd
Prepend FeatureBranchVersionPrefix if FeatureBranchVersionSuffix is specified
2018-03-06 10:03:45 -08:00
Pranav K
6f7c69f27f
Use dotnet-core feed in repos
2018-03-06 10:03:45 -08:00
Chris Ross (ASP.NET)
fbe2c6fa10
React to HttpClient default protocol breaking change
2018-03-02 15:48:15 -08:00
Nate McMaster
1f5379e38d
Merge branch 'release/2.1' into dev
2018-03-02 14:11:38 -08:00
Javier Calvarro Nelson
4c84dab879
[ Fixes #1295 ] Provide a better exception message when BuildWebHost does not match ( #1333 )
2018-03-01 12:06:58 -08:00
ASP.NET CI
23b4ecd8d3
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-26 11:01:17 -08:00
Pranav K
c54e0962c0
Use FeatureBranchVersionSuffix when generating VersionSuffix
2018-02-21 18:26:56 -08:00
ASP.NET CI
12b9631435
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-18 12:17:23 -08:00
Ryan Brandenburg
14aed686ce
BuildNumber on Experimental packages
2018-02-16 14:18:13 -08:00
Ryan Brandenburg
66714b5fc0
Use ExperimentalPackageVersion
2018-02-15 12:08:50 -08:00
ASP.NET CI
99c742221f
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-11 12:23:37 -08:00
ASP.NET CI
515bc2e66d
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-09 11:42:22 -08:00
Steve Gordon
8765d55f9f
Fixing small typo in a comment ( #1328 )
2018-02-06 07:57:28 -08:00
ASP.NET CI
0880111f9b
Update dependencies.props
...
[auto-updated: dependencies]
2018-02-03 02:45:18 +00:00
BrennanConroy
60cbedf5ee
Don't throw in Nginx deployer dispose ( #1327 )
2018-02-02 13:44:48 -08:00
David Fowler
6b095cf533
Allow overriding the hosting service provider ( #1325 )
...
- Use the IServiceProviderFactory<IServiceCollection>
- Assert creation and disposal service providers
- Updated the tests to verify that service providers are created and disposed
- Called CreateBuilder even in the default case in case the service collection is modified as part of it.
2018-01-31 16:03:40 -08:00
David Fowler
f8d61a4c52
Dispose the host if Initialize fails ( #1324 )
2018-01-31 16:00:55 -08:00
Nate McMaster
86989413f6
Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip]
...
Scripted changes:
- updated travis and appveyor.yml files to only build dev, ci, and release branches
- updated dependencies.props
- updated korebuild-lock.txt
- updated korebuild.json to release/2.1 channel
2018-01-31 15:01:11 -08:00
David Fowler
cb55973c27
Dispose the host if Initialize fails ( #1318 )
2018-01-29 02:56:19 -08:00
Pranav K
ad2fd9e4f5
Updating version to preview2
2018-01-24 15:00:27 -08:00
Pranav K
dcca9c0150
Merge branch 'release/2.1' into dev
2018-01-23 15:49:12 -08:00
Pranav K
a2cef1cebb
Branching for 2.1.0-preview1
2018-01-23 15:31:04 -08:00
ASP.NET CI
9f4c7c172f
Update dependencies.props
...
[auto-updated: dependencies]
2018-01-06 14:42:41 -08:00
ASP.NET CI
e2386a7885
Update dependencies.props
...
[auto-updated: dependencies]
2018-01-04 01:10:55 +00:00
ASP.NET CI
af5e702223
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-31 21:04:21 +00:00
Javier Calvarro Nelson
a7a96a5c35
[ Fixes #1301 ] Remove Microsoft.AspNetCore.Certificates.Configuration.Sources
2017-12-30 12:26:26 -08:00
Ryan Brandenburg
87db08e030
Add missing baselines
2017-12-28 11:46:56 -08:00
Ryan Brandenburg
37512d8d6a
Remove unneeded Skip conditions
2017-12-22 09:30:37 -08:00
ASP.NET CI
d2cdf4bac0
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-18 17:02:54 -08:00
ASP.NET CI
18bf9990cf
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-13 20:48:25 +00:00
ASP.NET CI
42cd02da5d
Update dependencies.props
...
[auto-updated: dependencies]
2017-12-10 12:47:00 -08:00
Justin Kotalik
9f1e6607dd
Changes OS bitness check to Environment rather than System.Runtime.InteropServices.RuntimeInformation ( #1286 )
2017-12-05 15:17:15 -08:00
Ryan Brandenburg
cf46dfcc5e
Update bootstrappers
2017-12-04 12:31:02 -08:00
Pranav K
38832b75fd
Specify runtime versions to install
2017-11-29 14:09:26 -08:00
Pranav K
076e5fe6af
Fixup name of SystemServiceProcessServiceControllerPackageVersion
2017-11-22 14:52:27 -08:00
Pranav K
3f76a5d214
Replace aspnetcore-ci-dev feed with aspnetcore-dev
2017-11-21 15:47:47 -08:00
Nate McMaster
36404036a9
Use MSBuild to set NuGet feeds instead of NuGet.config
2017-11-20 15:54:32 -08:00
John Luo
aff78a04af
Update property name to match naming scheme
2017-11-20 15:51:17 -08:00
Henk Mollema
e03c6a7908
Cross-compile Windows Services hosting package
2017-11-20 15:40:50 -08:00
Pranav K
97e7f123f7
Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1
2017-11-17 13:00:25 -08:00
Justin Kotalik
d436a56620
Disable flaky shutdown test ( #1274 )
2017-11-15 13:09:54 -08:00
Ryan Brandenburg
49537878d3
Account for other TFMs
2017-11-15 11:08:51 -08:00
Justin Kotalik
0b8b099e82
Adds contentRoot to ANCM path ( #1272 )
2017-11-15 10:32:00 -08:00