Commit Graph

833 Commits

Author SHA1 Message Date
Kiran Challa 0822dd74ac Updated NuGetPackageVerifier.json to add exclusion for Microsoft.AspNetCore.Server.IntegrationTesting 2017-04-13 14:51:10 -07:00
Kiran Challa f1a59d030e Supply runtime identifier on publishing standalone apps 2017-04-13 14:19:18 -07:00
Chris R a8c61b5abc Add ConfigureAwait to prevent xunit hangs 2017-04-13 07:46:51 -07:00
Chris R 62f74d5be0 #947 Add IServer.StopAsyc, IWebHost.StopAsync, and make Start async 2017-04-12 21:56:19 -07:00
Mike Harder 5f9fa5c009 Temporarily remove `dotnet run` argument separator
- Workaround for "dotnet run no longer passes additional arguments to application" (https://github.com/dotnet/sdk/issues/1118)
2017-04-12 14:22:18 -07:00
BrennanConroy ad1d0cc67d Pass configuration section to LoggerFactory 2017-04-06 15:27:19 -07:00
Andrew Stanton-Nurse 1ae1ff01a3 Add test logging helpers to Hosting (#1005) 2017-04-06 15:19:26 -07:00
Andrew Stanton-Nurse ad79cdd123 fix hangs due to uncleared TCS in IntegrationTesting (#1008) 2017-04-06 11:15:45 -07:00
Cesar Blum Silveira 39164eeb40 Simplify WebHostBuilderTests.CanUseCustomLoggerFactory.
- Keep all the code in the test itself, instead of in an
  extension method. Makes it easier to understand what's
  happening without having to look up the extension
  method's definition.
2017-04-05 11:23:54 -07:00
glennc 0ab882b6d3 Allow configuration and logging to be configured on WebHostBuilder, setting up for the removal of AddProvider from ILoggerFactory. 2017-04-04 14:43:13 -07:00
Pranav K 4b8de0b0f1 Updating versions to 2.0.0-preview1 2017-04-03 21:41:09 -07:00
Pranav K 6a5f7dec10 Investigate System.Reflection.TypeExtensions added to unbreak tests
Fixes #987
2017-04-03 11:55:18 -07:00
Andrew Stanton-Nurse 11de3fd384 Fix issue with remote deployer wait 2017-04-03 08:48:58 -07:00
Andrew Stanton-Nurse 915e984f32 increase timeout for remote deployer (#1001)
Turns out it takes a while to deploy to nano server
2017-03-31 14:34:14 -07:00
Andrew Stanton-Nurse b4b671556a fix nginx deployer (#998)
* fix nginx deployer

* pr feedback
2017-03-30 15:31:07 -07:00
Andrew Stanton-Nurse 7774ed50fa additional checks and logging for iisx shutdown (#997) 2017-03-30 11:48:24 -07:00
John Luo 4cdc970055 Server addresses configuration enhancements
Add PreferHostingUrls to IServerAdressesFeature

Add extension to IWebHostBuilder to set this flag
2017-03-30 10:16:47 -07:00
Andrew Stanton-Nurse f15c99c980 more logging and more resiliant port selection (#996) 2017-03-30 09:46:50 -07:00
Pavel Krymets 7890fdbf94 Add Activity tracking to HostingApplication (#964) 2017-03-29 15:36:48 -07:00
Pranav K db7095bc90 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:33 -07:00
Nate McMaster 1c1681c26f
Revert "Log status of port before starting server with SelfHostDeployer (#993)"
This reverts commit f79904404e.
2017-03-29 09:22:11 -07:00
David Fowler c1487bf93d Fix some style nits 2017-03-28 11:53:35 -07:00
Vance Morrison 8165609f4e Logging optimization.2 14 (#944)
* Trivial change to avoid an allocation when logging is off (normal case).
2017-03-28 11:43:58 -07:00
Nate McMaster f79904404e Log status of port before starting server with SelfHostDeployer (#993) 2017-03-28 10:48:46 -07:00
John Luo 10cdfd9fa2 Remove redundant SkipIfCurrentRuntimeIsCoreClrAttribute 2017-03-25 21:31:49 -07:00
Pranav K 2df3639535 Add System.Reflection.TypeExtensions to workaround test failures 2017-03-24 11:45:47 -07:00
Pranav K 31a2bdffce Remove net451 as a cross-compile target 2017-03-24 11:45:47 -07:00
David Fowler d5cbdb8ac6 Update WebHost.cs (#986) 2017-03-23 21:52:55 -07:00
David Fowler 32bed162a8 Always log the hosting startup assemblies (#982) 2017-03-22 20:57:01 -07:00
David Fowler ddb1bfeb20 Add support for executing IHostingStartup in specified assemblies (#961)
* Add support for executing IHostingStartup in specified assemblies
- Assemblies that are specified in the "hostingStartupAssemblies" configuration (; delimited)
  setting can specify assemblies that use an assembly level attribute (HostingStartupAttribute)
  to specify a type that implements IHostingStartup. This allows hosting environments to
  extend the IWebHostBuilder with platform specific behavior before the application runs.
- Added tests
- Log errors that occur during load and execution of the IHostingStartup
when capture startup errors is off. This happens on start of the application.
- Added debug logging on startup to print out the hosted startup assemblies hosting
processed

#951
2017-03-22 20:23:04 -07:00
Doug Bunting 387e2d8ad1 Disable API Check in projects with untracked breaking changes 2017-03-22 08:33:46 -07:00
John Luo 2f89b1d40b Update tfm in shutdown test 2017-03-21 17:08:44 -07:00
Jass Bagga 3f1faf9ae6 Disable test
See #974
2017-03-21 16:42:06 -07:00
Kiran Challa 7124247b50 Converted test projects and samples to run on netcoreapp2.0 2017-03-21 13:55:12 -07:00
Nate McMaster 9e9dc727ca
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 12:10:58 -07:00
Matt Mazzola 120fec741d Add new constructor to TestSever which allows providing preconfigured FeatureCollection to use before Build / Start is invoked. (#967) 2017-03-21 10:21:01 -07:00
Kiran Challa 95de690acd Log error when selfhostdeployer is unable to start the process 2017-03-17 15:03:11 -07:00
Nate McMaster 45874704a9 Unify dependency version to one file and remove workarounds 2017-03-15 11:01:09 -07:00
John Luo 9021999c32 Fix deployer for Win7 and Win2008 2017-03-14 15:17:14 -07:00
Nate McMaster 9228d18677
Update appveyor and travis settings 2017-03-14 13:40:21 -07:00
David Fowler 374d84c4ad Because VS keeps adding it 2017-03-10 22:56:52 -08:00
David Fowler 8604482ad3 Update .travis.yml (#958) 2017-03-09 11:19:13 -08:00
Kiran Challa 0846e13b06 RemoteWindowsDeployer: Changing current working directory to the app output folder 2017-03-08 21:58:48 -08:00
John Luo c8003c0305 Remove addition of default address to IServerAddressesFeature when none is specified 2017-03-02 15:12:52 -08:00
Nate McMaster 8ea2edee77 Update AppVeyor and Travis settings 2017-03-01 18:25:52 -08:00
Nate McMaster 6049ab80c2 Change korebuild branch and fix argument forwarding in bootstrapper 2017-03-01 18:14:14 -08:00
Chris R 60c45c382b #896 Have TestHost populate features before calling IHttpContextFactory.Create 2017-03-01 10:10:04 -08:00
Cesar Blum Silveira af953b4883 Bump Microsoft.AspNetCore.Server.IntegrationTesting to net452. 2017-02-22 13:46:47 -08:00
Ben Adams d5ec0859e5 Disabled logging fast-path (#937) 2017-02-17 08:43:25 -08:00
Nate McMaster 02b639d021
React to aspnet/Korebuild#160 2017-02-16 09:49:50 -08:00