Nate McMaster
a3dd609ae6
Merge branch 'release/2.2'
2018-07-26 17:07:54 -07:00
Nate McMaster
fed2eb1cdf
More robust username discovery on Linux in NginxDeployer ( #1508 )
...
VSTS does not have the LOGNAME env var set. This adds some fallbacks (USER and USERNAME) and `whoami` if they are not present.
2018-07-26 17:07:24 -07:00
Nate McMaster
be3691aee8
Merge branch 'release/2.2'
2018-07-26 09:33:54 -07:00
Hao Kung
c4e8dd3664
Rename WebHostBuilderFactory ( #1505 )
2018-07-25 16:44:20 -07:00
Justin Kotalik
864caa20b4
Merge branch 'merge/release/2.2-to-master'
2018-07-18 15:25:08 -07:00
Justin Kotalik
1186741977
Merge release/2.2 into master
2018-07-18 14:34:38 -07:00
Justin Kotalik
21d9ec64f0
Add copy constructor to deployment parameters ( #1497 )
2018-07-18 14:28:48 -07:00
Pavel Krymets
19839ed308
Revert "Merge pull request #1494 from aspnet/revert-1493-pakrym/useiis" ( #1496 )
...
This reverts commit 7a0a1ee50b , reversing
changes made to ec0b7ab2cd .
2018-07-17 21:05:59 -07:00
Pavel Krymets
65f8cfc55b
Revert "Remove IISExpress deployer ( #1493 )"
...
This reverts commit ec0b7ab2cd .
2018-07-17 12:07:42 -07:00
Pavel Krymets
ec0b7ab2cd
Remove IISExpress deployer ( #1493 )
2018-07-17 10:16:50 -07:00
Pavel Krymets
51c94337d7
/systray:false ( #1486 )
2018-07-10 11:29:39 -07:00
nulltoken
3e0b689ac2
Ensure ClientHandler properly honors Host header ( #1483 ) Fix #1481
2018-07-06 13:00:25 -07:00
Henk Mollema
cfab182399
Revert "Inherit web IHostingEnvironment and IApplicationEnvironment from the Generic Host one ( #1461 )" ( #1467 )
...
This reverts commit 8672b1b04a .
2018-06-18 10:47:17 -07:00
Henk Mollema
8672b1b04a
Inherit web IHostingEnvironment and IApplicationEnvironment from the Generic Host one ( #1461 )
2018-06-16 03:18:48 -07:00
Mike Harder
c5de0e1892
Pass timeout to WaitForExit() on "dotnet publish" ( #1453 )
...
* Addresses https://github.com/aspnet/Hosting/issues/1451
2018-06-11 15:09:58 -07:00
Chris Ross (ASP.NET)
8d55a447d4
Allow running some IIS Express variants without publishing #1431
2018-05-31 15:15:04 -07:00
Hao Kung
23e3ab6555
Add TestPortHelper class for tests ( #1438 )
...
* Add TestPortHelper class for tests
* Remove copy
* Update IISExpressDeployer
2018-05-30 13:55:46 -07:00
Rutger Storm
a3300a6a60
Add try..finally around RunAsync and WaitForTokenShutdownAsync #1194
...
The try..finally ensures that the ManualResetEventSlim which AttachCtrlcSigtermShutdown uses is set even when an exception occurs in these two methods.
2018-05-25 09:21:26 -07:00
Chris Ross (ASP.NET)
09d3b32fe5
Enable x86 testing #949
2018-05-23 09:35:26 -07:00
John Luo
eda6940350
Fix integration testing after logging change
2018-05-17 13:05:49 -07:00
Chris Ross (ASP.NET)
3b5b40884f
Refactor integration testing for test matrix generation.
2018-05-16 09:51:50 -07:00
Justin Kotalik
5227de9a31
Always check if ANCM is in the base output folder. ( #1420 )
2018-05-15 18:11:12 -07:00
Ryan Brandenburg
38f691c09e
Upgrade to netcoreapp22 ( #1410 )
2018-05-08 11:02:12 -07:00
Justin Kotalik
fb08967c9f
Make Deployers handle ANCM V1 and V2 ( #1407 ) ( #1409 )
2018-05-03 13:49:21 -07:00
Justin Kotalik
10a4b84061
Revert "Make Deployers handle ANCM V1 and V2 ( #1407 )"
...
This reverts commit 52802d1afa .
2018-05-02 14:58:53 -07:00
Justin Kotalik
52802d1afa
Make Deployers handle ANCM V1 and V2 ( #1407 )
2018-05-02 09:13:32 -07:00
Chris Ross (ASP.NET)
bfc12fd6ac
Merge branch 'release/2.1' into dev
2018-05-01 14:09:36 -07:00
Chris Ross (ASP.NET)
2c1376c95f
Add a AddHostedService extension #1402
2018-05-01 14:07:24 -07:00
Chris Ross (ASP.NET)
1717b97444
Run self-host tests with no-build. #1399
2018-05-01 12:22:36 -07:00
Justin Kotalik
c72df2865c
Check existence of ANCMV2 Path ( #1397 )
2018-05-01 10:05:07 -07:00
Chris Ross (ASP.NET)
9d82942a1a
Run self-host tests with no-build. #1399
2018-04-25 14:10:00 -07:00
Nate McMaster
122b07bb1c
Attempt to fix tests when building in ProdCon
2018-04-21 08:14:28 -07:00
Nate McMaster
0f131ac245
Disambiguate /p from -p on dotnet-run
2018-04-21 08:13:29 -07:00
Nate McMaster
ed7e6db79e
Attempt to fix more failing tests in prodcon builds
2018-04-21 08:01:30 -07:00
Chris Ross (ASP.NET)
d69798d2c1
Clean up pipes usage in TestHost
2018-04-20 10:39:50 -07:00
Nate McMaster
78904e70c7
Merge branch 'release/2.1' into dev
2018-04-19 12:31:47 -07:00
Nate McMaster
30928ba944
Disable implicit package version verification when --no-restore is used
...
Workaround an error when building in ProdCon where the RuntimeFrameworkVersion is overridden externally. Generally, the error is good, but when --no-restore is specified, we are okay ignoring this verification.
2018-04-19 12:24:10 -07:00
Javier Calvarro Nelson
f70e83a317
Merge branch 'release/2.1' into dev
2018-04-19 09:46:08 -07:00
Mike Harder
55feeeab15
Add DeploymentParameters.Scheme property ( #1388 )
...
- Allows tests to use HTTPS with dynamic port "0"
2018-04-18 15:18:59 -07:00
Mike Harder
970bc8a30d
Add TestUrlHelper class and GetAddress() extension method ( #1387 )
2018-04-18 14:04:16 -07:00
Mike Harder
0cc416f1f9
Change SelfHostDeployer to use dynamic ports by default ( #1383 )
...
* Should significantly reduce flaky test failures due to AddressInUse exceptions
* Addresses https://github.com/aspnet/Hosting/issues/1296
2018-04-17 14:01:33 -07:00
Javier Calvarro Nelson
e06b1fd690
[ Fixes #1242 ] Moves IStartupConfigureServicesFilter and IStartupConfigureContainerFilter interfaces to the internal namespace
2018-04-17 12:31:09 -07:00
David Fowler
a8c0970cde
Check for non-null RequestServices ( #1378 )
2018-04-13 09:45:38 -07:00
Justin Kotalik
5fd1f9e0e5
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-04-12 16:33:29 -07:00
Chris Ross (ASP.NET)
4e1ba2a6c7
Delay process exit in ConsoleLifetime #1329
2018-04-12 10:07:44 -07:00
Justin Kotalik
6e957e436a
Support inprocess hosting in IISExpressDeployer via switching the HostingModel property. ( #1368 )
2018-04-02 12:01:53 -07:00
Chris Ross (ASP.NET)
05d1a6eb0e
Refactor Generic Host lifetimes to work better with ServiceBase #1347
2018-03-23 12:02:44 -07:00
Ryan Brandenburg
1bac12716d
Updating baselines
2018-03-21 15:32:09 -07:00
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
Chris Ross (ASP.NET)
b6dc00229d
Convert TestHost ResponseStream to use Pipes.
2018-03-07 15:22:20 -08:00