Commit Graph

322 Commits

Author SHA1 Message Date
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
Nate McMaster 335c9be7b4
Update the artifacts directory organization and simplify publishing targets (#5701)
This simplifies the way that we publish files to our network drop share.

Changes:
* Instead of explicitly listing every file that needs to publish, use directories to classify packages and artifacts into different categories.
* Add documentation for the expected layout of artifacts/
* Remove the need for static analysis to determine which packages go to which project
* Add the MSBuild property "IsProductPackage" to .csproj files which ship as a package to NuGet.org.
2018-12-18 11:40:13 -08:00
James Newton-King 443b1449ff
Update Newtonsoft.Json to 12.0.1 and Newtonsoft.Json.Bson to 1.0.2 (#5122) 2018-12-18 08:55:37 +13:00
BrennanConroy d368da3df1 Fix IE11 split (#5056) 2018-12-17 10:47:01 -08:00
Nate McMaster 02780bac26
Merge branch 'release/2.2' 2018-12-14 16:03:16 -08:00
Nate McMaster feb641ddda
Merge branch 'release/2.1' into release/2.2 2018-12-14 09:44:15 -08:00
Nate McMaster 13ae0057fb
Replace .Sources package references with local code (#4801)
Replaces package references the following packages with local code:

Microsoft.AspNetCore.Certificates.Generation.Sources
Microsoft.Extensions.CopyOnWriteDictionary.Sources 
Microsoft.Extensions.ClosedGenericMatcher.Sources
Microsoft.Extensions.ObjectMethodExecutor.Sources
Microsoft.Extensions.PropertyActivator.Sources
Microsoft.Extensions.PropertyHelper.Sources
Microsoft.Extensions.RazorViews.Sources
Microsoft.Extensions.SecurityHelper.Sources
Microsoft.Extensions.StackTrace.Sources
Microsoft.Extensions.WebEncoders.Sources
2018-12-14 08:36:36 -08:00
BrennanConroy 74dbb4ff4f
Register callback before start (#4581) 2018-12-13 21:30:48 -08:00
BrennanConroy 4950495dc4
Fix IE 11 handshake split (#4575) 2018-12-13 21:30:17 -08:00
Mikael Mengistu ff385f71c5
Check connectionState in stop so we don't null ref (#4557) 2018-12-11 16:22:06 -08:00
Nate McMaster 5017afa0ad
Merge branch 'release/2.1' to release/2.2 2018-12-07 12:45:42 -08:00
Nate McMaster df3e4b98a2
Backport infrastructure cleanup to share sources and project references (#4513) 2018-12-07 12:20:13 -08:00
Nate McMaster 85e2147ff0
Merge branch 'release/2.2' 2018-12-07 11:11:44 -08:00
Nate McMaster 569a14ecb8
Merge branch 'release/2.1' into release/2.2 2018-12-06 17:09:03 -08:00
BrennanConroy f52882b6aa Changing streaming things 2018-12-06 15:57:50 -08:00
DylanDmitri 34bb352189 streaming from client to server 2018-12-06 15:57:50 -08:00
Justin Kotalik 0588b13f5b Fix 2.1 build issues and remove obsolete build code (#4443)
- Stop producing the 'Universe' lineup package
- Removes all PackageLineup code
- Use full msbuild on Windows
- Fix invalid reference to internal.aspnetcore.sdk in 2.1.x
- Fix shared folder references for PackageArchive task.
2018-12-05 17:01:02 -08:00
BrennanConroy a08dc959c0
Linux needs correct file path casing (#4442) 2018-12-05 15:28:43 -08:00
BrennanConroy c487f019f5
Collect transport fallback errors to provide better errors (#4293) 2018-12-05 14:27:07 -08:00
BrennanConroy 63e2beb749
Fix benchmarks in SignalR (#4436) 2018-12-05 11:41:43 -08:00
Andrew Stanton-Nurse 1b9e655536 Add SignalR Daily Tests scripts (#4336) 2018-12-05 10:04:23 -08:00
BrennanConroy 361eaf0b87
Use npm ci (#4378) 2018-12-03 15:55:28 -08:00
BrennanConroy 80ae51ead8
Rename Json protocol to NewtonsoftJson (#4319) 2018-12-03 08:59:44 -08:00
BrennanConroy d10205f309
Fix 3.0 benchmarks (#4323) 2018-12-03 08:58:15 -08:00
Nate McMaster def3dc0f2b
Merge branch 'release/2.2' 2018-11-30 11:15:26 -08:00
BrennanConroy 7dc01b6928 Fix 2.2 benchmarks (#4322) 2018-11-29 15:04:24 -08:00
David Fowler 1b46549ec4
Specify invocation ids are unique per connection (#4316)
Make it clear that invocation ids are unique per connection
2018-11-29 10:13:09 -08:00
BrennanConroy e435fd1d23
Fix accidental skipped tests (#4301) 2018-11-29 09:25:52 -08:00
Ryan Brandenburg 8a37389a9f Fix RepositoryUrl for some repos 2018-11-28 14:54:47 -08:00
Ryan Brandenburg 4c4cda5fc3 Make gradlew executable 2018-11-28 10:12:35 -08:00
Ryan Brandenburg ba1bb521bc Add korebuild.json back to SignalR and Razor 2018-11-28 09:33:49 -08:00
Mikael Mengistu 079107aa92 Make gradlew executable (#4275) 2018-11-27 18:31:57 -08:00
Ryan Brandenburg c88b650c5a Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in c852bdcc33
2018-11-27 15:29:29 -08:00
Ryan Brandenburg 1992701808 Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d0bcdf3dd9
2018-11-27 12:06:02 -08:00
Ryan Brandenburg 20330961ba Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in bc148a0724
2018-11-27 10:40:07 -08:00