Commit Graph

184 Commits

Author SHA1 Message Date
Mikael Mengistu 96764d27eb
Returning rejected promises in HttpConnection (#8315) 2019-03-11 16:33:09 -07:00
Andrew Stanton-Nurse 8759aa2fc0
SignalR additional xml docs (#7980)
Reviewed our xml docs as both ramping back up after leave and docathon. Things look pretty good, added a few things to some public methods.
2019-03-11 09:29:41 -07:00
Mikael Mengistu c0c2bb3049
Skip flaky transport test (#8295) 2019-03-07 18:26:38 -08:00
Mikael Mengistu b1f828e161
Client to Sever Streaming Java Edition (#8222) 2019-03-07 09:34:28 -08:00
Ryan Brandenburg 7573597577 Merge branch 'merge/release/2.2-to-master' of github.com:dotnet-maestro-bot/AspNetCore into merge/release/2.2-to-master 2019-03-06 11:36:41 -08:00
Mikael Mengistu 9b4f8d79fd
Fix Java Client transport select (#8143) 2019-03-05 11:31:56 -08:00
David Fowler d1ee93b94b
Allow disabling automatic MVC reference (#8167) 2019-03-05 09:19:28 -08:00
Andrew Stanton-Nurse 98a49e332f
skip flaky SignalR test: ErrorDuringPollWillCloseConnection (#8171)
see #8138 for discussion on test priority and re-enabling
2019-03-05 08:30:40 -08:00
BrennanConroy c8c12cda9b
Fix test discovery (#8201) 2019-03-04 23:11:16 -08:00
BrennanConroy 508256d028
Always load NodeHttpClient to fix SSR (#8047) 2019-03-04 09:16:52 -08:00
David Fowler 9cb1185a5c
Add option to restrict the maximum hub message size (#8135)
- This change moves the limit checking from the transport layer to the protocol parsing layer. One nice side effect is that it gives us better control over error handling.
2019-03-03 15:18:32 -08:00
BrennanConroy 67d339ee3b
C++ client: string_t to string (#8063) 2019-03-02 22:11:18 -08:00
Ben Adams ddce32a791 Use C#8 (#8128) 2019-03-02 19:48:43 -08:00
Ryan Brandenburg 4a5720beba Updated PR with my changes 2019-03-01 15:25:58 -08:00
Andrew Stanton-Nurse 22e706cdc3 pr feedback 2019-03-01 13:55:45 -08:00
Andrew Stanton-Nurse 8c2c458891 some little xml doc changes 2019-03-01 13:55:45 -08:00
BrennanConroy 337370263a
Remove private assets (#8080) 2019-03-01 11:17:29 -08:00
BrennanConroy d0c415a4dc
Skip flaky websocket test (#8085) 2019-03-01 11:14:25 -08:00
Justin Kotalik 3509323ad1
Remove extra await/state machine in FlushAsync (#7646) 2019-02-28 22:42:42 -08:00
Mikael Mengistu 745941058c
Detect Classic SignalR Server in Java Client (#7817) 2019-02-28 18:12:53 -08:00
Nate McMaster e7b00a5508
Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs (#7832)
* Deprecate the Microsoft.AspNetCore.App metapackage in favor of targeting and runtime packs
* Stop producing Microsoft.AspNetCore.App, and runtime.$(rid).Microsoft.AspNetCore.App
* Generate the shared framework without using 'NuGet' restore
* Stop producing intermediate packages for shared-framework only assemblies
* Put the platform manifest into the targeting pack (data/Microsoft.AspNetCore.App.PlatformManifest.txt)
* Create well-known, shared intermediate directories that installers can use to bundle content
2019-02-28 10:14:18 -08:00
BrennanConroy 47220cf13e
Fix StreamInvocationsBlockOtherInvocationsUntilTheyStartStreaming (#8015) 2019-02-28 09:23:33 -08:00
Sébastien Ros fd83f4dbb9
Using <FrameworkReference> in benchmark apps (#7957) 2019-02-27 10:27:01 -08:00
Mikael Mengistu 0d570a2d42
Add small doc comment for TransportType Enum(#7994) 2019-02-27 09:17:08 -08:00
Stephen Halter 46fe595606
Support IAsyncEnumerable returns in SignalR hubs (#6791) 2019-02-25 15:08:11 -08:00
Mikael Mengistu 3d17ac3d4c
Handle onReceive logic in background thread (#7809) 2019-02-25 14:24:07 -08:00
Nate McMaster f2658821b5
React to System.Runtime.CompilerServices.Unsafe moving into Microsoft.NETCore.App
React to dotnet/corefx#35526
2019-02-24 15:37:03 -08:00
BrennanConroy f8368097a9
Remove web::uri usage from public API (#7834) 2019-02-23 13:35:37 -08:00
Stephen Halter 90e893ed07
React to #7751 (#7842) 2019-02-22 16:24:01 -08:00
Nate McMaster f0ef784783 Run yarn import to convert package-lock.json to yarn.lock 2019-02-22 13:30:19 -08:00
Nate McMaster 5be7d30231 Replace npm commands with yarn 2019-02-22 13:30:19 -08:00
Pavel Krymets 9355c7c1a5
Add reference assemblies support (#7764) 2019-02-21 14:33:35 -08:00
Ryan Brandenburg 019a1be305 Make the linter happy 2019-02-20 17:02:56 -08:00
Ryan Brandenburg 918f3d3c40 Fix merge doubling 2019-02-20 16:35:52 -08:00
Ryan Brandenburg b2ee8e6b66 Merge branch 'merge/release/2.2-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/2.2-to-master 2019-02-20 16:21:24 -08:00
Mikael Mengistu f33cc20dbf
Add support for Async On Delegates (#7700) 2019-02-20 15:44:54 -08:00
BrennanConroy e455c2c22b
Add negotiation response support (#7675) 2019-02-20 12:38:43 -08:00
Nate McMaster 9a2db43848
Follow-up to VS2019 conversion (#7753)
* Set VS version in file to 16.0.0.0
* Fix for restore failure on Microsoft.AspNetCore.App.Runtime.csproj
2019-02-20 11:02:38 -08:00
Nate McMaster 85ae18c723
Make Visual Studio 2019 a prerequisite to building this repo (#7005)
Changes:

* Make Visual Studio 2019 a prerequisite for building this repo
* Update .sln files
* Update Windows SDK to 17134
* Update developer docs
* Disable ANCM tests
* Update to .NET Core SDK 3.0 Preview 2
* Use Microsoft.NET.Sdk.Razor as a package consistently accross the repo
* React to changes in metadata from Microsoft.NETCore.App
* React to changes in .NET Core SDK
* Attempt to workaround CodeCheck.ps1 failure which doesn't repro locally or on different agents. Possibly due to differences in the version of the PowerShell task?
* Remove dead YML file
* Rename usages of win7-{x64,x86} to win-{x64,x86}
* Update KoreBuild to 3.0.0-build-20190219.1
2019-02-20 09:53:53 -08:00
Chris Ross 4e44025a52
Replace IHostingEnvironment with IWebHostEnvironment (#7725) 2019-02-19 21:11:52 -08:00
BrennanConroy f37d30833d
Ignore unexpected stream items and completions from client (#7511) 2019-02-19 15:25:50 -08:00
Mikael Mengistu d1fac57734
Ensure SignalR client messages are processed in order (#7697) 2019-02-19 11:48:22 -08:00
TimTim dffe9abf6b Fix connection ID (#7681) 2019-02-18 17:13:53 -08:00
Mikael Mengistu af43b80b1a Make server timeout configurable (#7340) 2019-02-17 07:57:36 -08:00
Stephen Halter 8ae4c4dbd6 Add SignalR web worker sample and test (#7378) 2019-02-17 07:52:18 -08:00
David Fowler 799b91a324
Change the namespace of the extension methods (#7651)
- The other routing extension methods use Microsoft.AspNetCore.Builder
2019-02-16 00:36:59 -08:00
Mikael Mengistu c806c5a61a
Wait for stop to complete in SignalR test to prevent flakiness. (#7634) 2019-02-15 18:42:04 -08:00
David Fowler 5ef51822de
Added endpoint routing support (#7608)
- Basic endpoint routing support to for SignalR hubs, ConnectionHandler and IConnectionBuilder endpoints
- Updated all functional tests and samples to use it
- Added all attributes as metadata from Hubs and ConnectionHandlers
- Added a test to verify client is rejected if auth is ineffective
2019-02-15 12:32:01 -08:00
BrennanConroy 9fda946f0f
[Backport] Add CancelInvocation support to MsgPack in TS client (#7404) 2019-02-14 13:49:49 -08:00
Joseph Musser 50587d7d6d Fix “must comprised of” (#7519)
* Fix missing word

* Replace ‘comprise’ with simpler wording
2019-02-14 09:27:55 -08:00
BrennanConroy bca85b92fc
More C++ Client cleanup (#7551) 2019-02-14 08:31:15 -08:00
BrennanConroy 9de42d516e
Copy Kestrel perf changes (#7480) 2019-02-13 16:31:37 -08:00
Nate McMaster 338de4710a
Automatically set 'PrivateAssets=All' for .Sources references (#7539)
When a `<Reference>` is named `*.Sources`, set PrivateAssets=All (exclude from generated nuspec) and IncludeAssets=ContentFiles (only consume content files, not .dll's)
2019-02-13 14:31:15 -08:00
Mikael Mengistu 3d3ad96206
SignalR Java Client LongPolling Transport (#6856) 2019-02-13 10:27:07 -08:00
Nate McMaster 3fd8a97af2
Add targets to generate the list of shared framework assemblies from project property (#7510)
Changes:
* Add support for a property, `IsAspNetCoreApp`, in the .csproj file of assemblies which are part of the shared framework. 
* Remove unused dependencies
* Remove reference which have become part of 'netcoreapp3.0'
2019-02-12 23:00:19 -08:00
BrennanConroy 1c6651a1ae
Fixup handshake logic and layering (#7470) 2019-02-12 17:06:56 -08:00
BrennanConroy 01c5add273
Add CancelInvocation support to MsgPack in TS client (#7224) 2019-02-08 14:31:19 -08:00
James Newton-King 0dc06b37cb
Small fixes to SignalR service extension methods (#7375) 2019-02-08 19:15:53 +13:00
David Fowler b7d3b3aa13
Handle IAsyncDisposable scoped objects (#7343)
- We make a scope today around hub invocations, with IAsyncDisposable now implemented in the DI container, we need to support IServiceScope being IAsyncDisposable and IDisposable
2019-02-07 19:49:41 -08:00
Maxim Dukhanov 095c1c1759 Add webworker support to SignalR JS client (#7058)
* Added Platform utils to detect platform type
* Added additional build for WebWorker
* Changed env param from webworker to platform to make ability to specify platform to the build script
* Updated the readme file with SignalR WebWorker instructions
2019-02-07 18:51:24 -08:00
BrennanConroy 68579d1c11
C++ client: Skip flaky tests (#7358) 2019-02-07 13:54:13 -08:00
Pavel Krymets 5cd72c1fb2
Remove ANCMV1 from everywhere (#7334) 2019-02-07 09:06:27 -08:00
BrennanConroy 25389acd1a Use the 'correct' windows platform version (#7338) 2019-02-07 08:20:08 -08:00
BrennanConroy 744a32a750
SignalR C++ tests passing and part of build (#7160) 2019-02-06 17:23:23 -08:00
Mikael Mengistu 52842091f7
Reduce number of SauceLabs browsers (#7152) 2019-02-04 21:16:14 -08:00
Sébastien Ros 61bc18fee3
Exclude benchmark apps from builds (#7171) 2019-02-01 17:57:47 -08:00
BrennanConroy 1a61a58c51
Remove reconnect from C++ Client (#7094) 2019-01-31 23:21:38 -08:00
Mikael Mengistu aca9bffd23
Java Client Small Clean up Items(#6969) 2019-01-31 22:45:28 -08:00
BrennanConroy dbf82dc8c4
Use System.Text.Json for Negotiate and Handshake (#6977) 2019-01-31 11:38:09 -08:00
BrennanConroy 02f8d89725
Fix missing submodule (#4329) 2019-01-29 10:37:26 -08:00
BrennanConroy 436d4452aa
Refactor hub invocation cleanup (#6655) 2019-01-28 11:46:37 -08:00
Nate McMaster ac04019e42
Remove obsolete build infrastructure (#6995)
Changes:

* Remove obsolete targets which are unnecessary now that this repo no longer builds git submodules in a separate build process
* Remove the need for static analysis of 'ArtifactInfo' items
* Simplify how the code signing task is configured
* Remove unused repo tasks
* Remove duplicate lists of external dependencies and packages to be produced
* Remove obsolete build definition
* Remove obsolete build script parameters
* Add VisualStudioSetupOutputPath
2019-01-28 09:57:59 -08:00
Christian Liebel 07926f0677 Update repo links for SignalR TS client in package.json after move (#4425) 2019-01-25 13:53:30 -08:00
BrennanConroy 093ade9ed6 Fix SignalR tests 2019-01-24 10:08:32 -08:00
Mikael Mengistu 921c6c16d6
Fixing SignalR Daily Tests (#6630) 2019-01-18 13:40:52 -08:00
Nate McMaster 922512a9fb
Convert the artifacts folder layout to match Arcade (#6850)
Changes:
* IsProductPackage => IsShippingPackage
* artifacts/$config/packages => artifacts/packages/$config
* packages/product => packages/Shipping
* packages/internal => packages/NonShipping
* Renamed MSBuild properties used for output folders
* Update build tools to use 2 spaces in global.json
2019-01-18 13:38:24 -08:00
Pavel Krymets f08f2af8bc Merge commit '852d890' into pakrym/merge22 2019-01-16 11:56:50 -08:00
John Luo 1bd5845b4c
Merge pull request #6735 from aspnet/johluo/merge22
Johluo/merge22
2019-01-16 11:43:35 -08:00
John Luo 17b6ce8bd6 Merge branch 'release/2.2' 2019-01-15 18:49:54 -08:00
BrennanConroy 17616a5dba
Use bounded channel for streaming (#6625) 2019-01-15 16:51:31 -08:00
BrennanConroy 3dcb382741
Fix Java package version (#6724) 2019-01-15 15:44:03 -08:00
Mikael Mengistu 852d890cd6
Check HubConnection state before running invoke logic (#4400) 2019-01-15 11:15:21 -08:00
Mikael Mengistu 86a0becd59
Mark Java client as Product Package (#6697) 2019-01-14 21:24:52 -08:00
BrennanConroy a9b737b793
Fix broken definitions file (#6343) 2019-01-14 18:46:07 -08:00
John Luo 90a9fa7aac Merge branch 'release/2.1' into release/2.2 2019-01-14 12:57:34 -08:00
BrennanConroy 6d28c44408
Fix SignalR perf app path (#6650) 2019-01-13 17:11:25 -08:00
James Newton-King c7f05c614a
Remove Microsoft.AspNetCore.Testing dependency from SignalR spec tests (#6629) 2019-01-12 16:01:07 +13:00
BrennanConroy ee6ba671fa
Fixup SignalR sln (#6622) 2019-01-11 16:05:31 -08:00
Nate McMaster 676cbee9d0
Merge branch 'release/2.2' 2019-01-11 14:52:01 -08:00
Nate McMaster 5810af5ce7
Fix code-signing metadata for the SignalR java client (#6607) 2019-01-11 11:27:04 -08:00
Nate McMaster 3cd5054eb5
Merge branch 'release/2.2' 2019-01-11 07:20:00 -08:00
BrennanConroy 364018238a
Refactor streaming from client to server (#4559) 2019-01-10 21:52:28 -08:00
Nate McMaster 4c8db32b1c
Don't restore npmproj files in parallel (#6560)
NPM does not handle this well, so only run one NPM command at a time
2019-01-10 08:21:26 -08:00
Nate McMaster 22f3166fa6
Merge branch 'release/2.1' into release/2.2 2019-01-10 01:22:10 -08:00
Nate McMaster 0f65d44482
Merge branch 'release/2.2' 2019-01-09 18:09:25 -08:00
Nate McMaster a3f9b74bb9
Merge branch 'release/2.1' into release/2.2 2019-01-09 14:52:53 -08:00
Nate McMaster d3838620d6
Convert SignalR projects to build with ProjectReference (#6457)
Part of #4246 

Changes:
* Update source code layout to follow the new conventions for this repo
* Update project files to use `<Reference>`
* Update targets to build NPM packages
* Update BuildTools to support custom 'restore' and 'test' targets
2019-01-09 13:12:35 -08:00
Nate McMaster 5d16f97965
Remove netcoreapp2.0 test TFMs (#6461)
.NET Core 2.0 reached EOL last year. This removes multi-targeting our test projects and test assets to only use .NET Core 2.1 and .NET Framework 4.6.1.
2019-01-08 11:20:09 -08:00
James Newton-King 489735d390
Use test timeout logic from Microsoft.AspNetCore.Testing (#6433) 2019-01-07 13:39:59 +13:00
Nate McMaster c3beb1f9b1
build.cmd/sh changes (#5958)
Update the build scripts to support building subfolders or subgroups of projects

* Add build scripts for ci
* Remove obsolete scripts
* Add flags like --test and --pack to control running just test or packaging
* Add flags like --managed and --native to control building sub-types of projects
* Remove KoreBuild bootstrapper flags
* Update to extensions 3.0.0-preview.18619.1 (needed to get a fix for aspnet/Extensions#815 to make this change work on MSBuild.exe)
2018-12-20 16:52:15 -08:00