Commit Graph

55 Commits

Author SHA1 Message Date
Chris Ross (ASP.NET) b6dc00229d Convert TestHost ResponseStream to use Pipes. 2018-03-07 15:22:20 -08:00
Chris Ross (ASP.NET) 05fd382b93 #1256 Check HasStarted for StatusCode and ReasonPhrase 2017-11-09 13:04:51 -08:00
Chris Ross (ASP.NET) 64596d538b TestServer: Copy the feature collection to mitigate multi-threading 2017-11-09 13:04:51 -08:00
Chris Ross (ASP.NET) 1e556e0b46 #1253 TestServer: mark response headers IsReadOnly on start 2017-11-09 13:04:37 -08:00
Chris Ross (ASP.NET) 82ccf4f06e #816 Allow directly constructing an HttpContext for TestServer 2017-11-01 11:07:12 -07:00
Javier Calvarro Nelson fc613303ed Add an overload that takes the application base path explicitly 2017-10-31 11:02:48 -07:00
Javier Calvarro Nelson cda9ec6fe4 Remove the implicit hosting dependency on WebHostBuilderFactory shared sources 2017-10-11 15:16:03 -07:00
Javier Calvarro Nelson 6687f4eefc Update API check baselines to 2.0 2017-09-22 17:52:20 -07:00
Javier Calvarro Nelson c24c717eee Add extension methods in our test host package to streamline setup of apps.
* Create a sources package to encode the convention followed in our templates to create a WebHost.
* Add an extension method to setup the content root relative to the solution folder.
* Add a factory method to create a WebHostBuilder based on the pattern followed in our template.
2017-09-15 15:08:35 -07:00
Nate McMaster 9a4a43cc6a Use Directory.Build.props/targets 2017-08-29 09:52:04 -07:00
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
Hisham Bin Ateya cf23aedb55 Use EnvironmentName instead of magic string (#1065) 2017-05-10 15:20:40 -07:00
John Luo 9b80f2a635 Migration 2017-05-05 17:12:36 -07:00
Smit Patel a7221ca766 Update API Check related files
React to aspnet/BuildTools#238
2017-04-25 08:18:37 -07:00
Chris R 62f74d5be0 #947 Add IServer.StopAsyc, IWebHost.StopAsync, and make Start async 2017-04-12 21:56:19 -07:00
Pranav K 31a2bdffce Remove net451 as a cross-compile target 2017-03-24 11:45:47 -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
Chris R 60c45c382b #896 Have TestHost populate features before calling IHttpContextFactory.Create 2017-03-01 10:10:04 -08:00
Nate McMaster 75a0b9889a Downgrade to stable packages 2017-02-15 12:28:55 -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
Andrew Stanton-Nurse 2aff751547 fix reference issues in net46 by removing framework assembly refs
part of Coherence-Signed/#395
2017-01-05 15:47:23 -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
jacalvar 911da31476 Created public API baselines 2016-11-04 15:17:13 -07:00
Pranav K 37b1fc039d Updating partner package versions 2016-09-29 10:52:23 -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 ef0de2b6e7 Updating to dev versions 2016-06-16 10:17:56 -07:00
jacalvar 525b9251df Remove unnecesary imports 2016-06-08 14:58:21 -07:00
Pranav K cb27e74fc9 Target netstandard1.3 2016-06-06 12:57:14 -07:00
Pranav K d02f67785f Use Microsoft.Extensions.StackTrace.Sources 2016-06-03 16:44:57 -07:00
Pranav K a3b2a7b62b Fix package verifier warnings 2016-06-02 10:55:03 -07:00
Cesar Blum Silveira a2ee01272a React to HttpAbstractions@8212694. 2016-05-31 17:05:39 -07:00
John Luo 4fccbeebdc Update metadata 2016-05-27 15:26:29 -07:00
John Luo 8a9963ece2 React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-26 18:33:37 -07:00
Pranav K ad7de3619a Revert "React to updated CoreCLR packages"
This reverts commit 657d35819d.
2016-05-18 09:43:34 -07:00
John Luo 657d35819d React to updated CoreCLR packages
https://github.com/aspnet/Coherence/issues/97
2016-05-17 15:13:47 -07:00
Pranav K 7fdc9271f4 Fix build warnings 2016-05-02 12:39:09 -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 a1267311fe Removing imports from src projects 2016-04-08 06:48:53 -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
BrennanConroy 8451d1afcb Fix rare deadlock in TestHost 2016-03-30 10:24:50 -07:00
John Luo 312192b447 WebHostBuilder extensions rename and documentation. #636 #648 2016-03-22 16:27:28 -07:00
Ajay Bhargav Baaskaran 6b933b5e8a Removed duplicate attribute 2016-03-03 18:10:20 -08:00
Ajay Bhargav Baaskaran fc51cb1f30 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:36 -08: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