Commit Graph

53 Commits

Author SHA1 Message Date
Eric 9b1cbedffc WebSocketClient.ConnectAsync throws when the provided CancellationToken is cancelled. 2017-08-24 15:14:59 -07:00
Javier Calvarro Nelson 964b671288 [Fixes #1012] Make it possible to override services when using UseStartup.
* Add IStartupConfigureServicesFilter to wrap ConfigureServices.
* Add IStartupConfigureContainerFilter<TContainerBuilder> to wrap
  ConfigureContainer.
* Make StartupLoader build a thunk for configure services that
  resolves all instances of IStartupConfigureServicesFilter and
  IStartupConfigureContainerFilter<TContainerBuilder> and wraps
  invocations to ConfigureServices and ConfigureContainer respectively.
* Refactor building the ConfigureServices callback into a private
  builder class due to the increased complexity in the process.
2017-08-23 14:32:51 -07:00
John Luo 62cd07d0a6 Target NETStandard2.0 and add WindowsServices back 2017-05-19 14:17:02 -07:00
Nate McMaster 5cf3d9ab11 Upgrade test framework versions and fix test issues 2017-05-15 14:44:17 -07:00
John Luo 9b80f2a635 Migration 2017-05-05 17:12:36 -07:00
John Luo d2816d14ab Make WebHost internal
To avoid conflict with WebHost defined in Microsoft.AspNetCore in MetaPackages
2017-04-24 14:46:35 -07:00
Pranav K 31a2bdffce Remove net451 as a cross-compile target 2017-03-24 11:45:47 -07:00
Kiran Challa 7124247b50 Converted test projects and samples to run on netcoreapp2.0 2017-03-21 13:55:12 -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
Nate McMaster 45874704a9 Unify dependency version to one file and remove workarounds 2017-03-15 11:01:09 -07:00
David Fowler 374d84c4ad Because VS keeps adding it 2017-03-10 22:56:52 -08:00
Chris R 60c45c382b #896 Have TestHost populate features before calling IHttpContextFactory.Create 2017-03-01 10:10:04 -08:00
Doug Bunting 118216b20a Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 09:01:18 -08:00
Nate McMaster f513f8ceac Remove usage of conditional multi-targeting
This causes Visual Studio to crash.
2017-02-01 12:23:16 -08:00
Nate McMaster 2a50762008 Upgrade to VS 2017 2017-02-01 10:35:51 -08:00
Ryan Brandenburg 51b3e82701 OnStarting throws when Response.HasStarted 2017-01-26 10:21:29 -08:00
Pranav K 7ea92f08fc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
Pranav K 21f7c89838 Updating versions to 1.2.0-* 2016-11-09 14:17:46 -08:00
Pranav K d0e8c4dd4c Updating to netcoreapp1.1 2016-10-13 11:17:42 -07:00
Pranav K edc36547a7 Revert "Updating to netcoreapp1.1"
This reverts commit 72114ca4fa.
2016-10-12 16:08:39 -07:00
Pranav K 72114ca4fa Updating to netcoreapp1.1 2016-10-12 13:45:24 -07:00
Pranav K 37b1fc039d Updating partner package versions 2016-09-29 10:52:23 -07:00
Mikael Mengistu acc40bd449 Revert "Fixed naming abiguity" 2016-09-27 16:52:49 -07:00
Mikael Mengistu 2bdbcee7ba Fixed naming abiguity 2016-09-27 10:24:04 -07:00
Kiran Challa b6da89f54c [Fixes #852] TestHost: OnStarting and OnCompleted callbacks of response are not being awaited 2016-09-15 16:35:27 -07:00
Doug Bunting 9a03b504ef One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 11:59:39 -07:00
Pranav K 9a1b3c7296 Updating to RTM builds of xunit 2016-06-30 14:32:36 -07:00
Pranav K ef0de2b6e7 Updating to dev versions 2016-06-16 10:17:56 -07:00
N. Taylor Mullen c96b57963e Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:29:00 -07:00
Pranav K 7b5d7f7883 Merge branch 'release' into dev 2016-05-02 14:56:12 -07:00
Pranav K 7fdc9271f4 Fix build warnings 2016-05-02 12:39:09 -07:00
jacalvar 126a73a475 Merge branch 'release' into dev 2016-04-27 09:34:46 -07:00
jacalvar e36c80bc7b [Fixes #721] Test server should fire onResponseCompleted after the actual response has completed 2016-04-27 09:31:02 -07:00
Pranav K bf5ee72106 Merge branch 'release' into dev 2016-04-19 14:54:02 -07:00
Pranav K 0a8f1327b5 Use latest build of dotnet-test-xunit 2016-04-19 14:54:01 -07:00
David Fowler 8f5f8d28d0 This change introduces a new service `IStartup` that can be registered in the hosting container to override any startup logic. `UseStartup` overloads have been changed to detect `IStartup` and directly put it in the container, or to wrapping it with a `ConventionBasedStartup` implementation to preserve the existing behavior.
- Remove IStartupLoader and add `IStartup` instead that matches the signature hosting cares about
- Moved `UseStartup` to extension methods
- Move existing logic into `ConventionBasedStartup` class
2016-04-18 21:33:03 -07:00
Pavel Krymets e3f4f23b5a Bring Microsoft.NETCore.Platforms dependency back 2016-04-18 16:58:28 -07:00
Pavel Krymets 622d6b006f Migrate tests, tools and samples to portable 2016-04-14 15:18:02 -07:00
BrennanConroy 8c69989a5f React to logging changes 2016-04-01 12:02:09 -07:00
Doug Bunting 6e87b51638 React to HttpAbstractions namespace changes
- aspnet/HttpAbstractions#549 and aspnet/HttpAbstractions#592
- clean up `using`s
2016-03-30 16:02:42 -07:00
David Fowler 6c1247b30c Fix build
- Hoist packages using netstandard.library
- Upgrade process since it's not in the standard library
2016-03-25 00:46:39 -07:00
John Luo 312192b447 WebHostBuilder extensions rename and documentation. #636 #648 2016-03-22 16:27:28 -07:00
Doug Bunting bb3809d3dc React to HttpAbstractions change: No features in `.Internal` namespace
- see issue aspnet/HttpAbstractions#561 and pull aspnet/HttpAbstractions#589
2016-03-21 09:06:37 -07:00
John Luo ac7741fe81 Configure IStartupFilters in FIFO order #653 2016-03-17 15:51:32 -07:00
Doug Bunting 5e11093127 Remove project name from output path
- aspnet/Coherence-Signed#187
- remove `<RootNamespace>` settings but maintain other unique aspects e.g. `<DnxInvisibleContent ... />`
- in a few cases, standardize on VS version `14.0` and not something more specific
2016-03-02 18:49:26 -08:00
N. Taylor Mullen 57371e5c9c Transition to netstandard.
- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
2016-03-01 13:32:58 -08:00
John Luo f5480d5c2b Updating test TFMs for custom test discovery 2016-02-18 15:03:18 -08:00
Kiran Challa cf6d7f9a56 Enabled tests to run in dotnet xunit runner 2016-02-11 17:19:13 -08:00
John Luo f743d75e59 Add missing framework assemblies to test projects 2016-02-10 16:00:04 -08:00
John Luo 8e94d40688 Updating to new CLI 2016-02-01 19:11:00 -08:00