Commit Graph

18249 Commits

Author SHA1 Message Date
Ryan Brandenburg 32a2cc5943
Test improvements (#17428)
Retry adding package and print reason for failure
2019-11-27 13:49:43 -08:00
Stephen Halter b81c1a7954
Allow more than one IConnectionListenerFactory (#17383) 2019-11-25 14:19:25 -08:00
Mehmet Can Kamar d59868b2d4 BindingAddress is customized for unix socket urls #10782 test… (#12112) 2019-11-25 09:18:16 -08:00
Günther Foidl 9e67b7b22e Use C#'s ReadOnlySpan static data optimization in more places (#14447) 2019-11-24 18:04:26 -08:00
Jason Bailey 9099305d04 Fix AuthorizationPolicyBuilder doc typo (#17296) 2019-11-22 15:50:49 -08:00
Chris Ross ca23b1a325
Pool HttpSys request buffers (#17314) 2019-11-22 15:35:47 -08:00
Steve 8a02133ffd Fix: @aspnet/signalr -> @microsoft/signalr (#17333) 2019-11-22 10:22:04 -08:00
Stafford Williams 88cda2751a Crankier: Connect to Azure SignalR (#13606) 2019-11-21 18:28:01 -08:00
Ajay Bhargav Baaskaran 877e5fafef
Attempt fix Angular template flaky test (#17279)
* Attempt fix Angular template flaky test

* Increase timeout
2019-11-21 15:10:09 -08:00
Kahbazi 642fe1631d Suppress log when request is cancelled (#16691) 2019-11-20 15:51:01 -08:00
Scott Addie 242890940e Indent Blazor error UI CSS (#16959) 2019-11-20 11:23:48 -08:00
André Silva 8d1c8005d8 Fixes QueryHelpers.AddQueryString() throws when one of the dictionary values is null #16647 (#17177) 2019-11-18 16:03:44 -08:00
Justin Kotalik f1123af4c1
Flakify SynchronousReadAndWriteTests.cs (#17208) 2019-11-18 14:42:00 -08:00
Pranav K d5fd9fc2fa
Add support for IAsyncEnumerable<T> where T is value type (#17154)
* Add support for IAsyncEnumerable<T> where T is value type

Fixes https://github.com/aspnet/AspNetCore/issues/17139
2019-11-18 08:25:08 -08:00
Kahbazi eec2ce4a71 Remove null check for logger in HttpsConnectionMiddleware 2019-11-18 08:13:48 -08:00
Doug Bunting d5d01b5c06
Merge branch 'release/3.1' into merge/release/3.1-to-master 2019-11-16 12:55:38 -08:00
Ryan Nowak 8f8b5f55a9 Make constraint cache thread safe (#17146)
* Make constraint cache thread safe

Fixes: #17101

This changes the constraint cache to use ConcurrentDictionary. This code
is invoked in a multithreaded way in Blazor server resulting in internal
failures in dictionary.

Since this is a threading issue there's no good way to unit test it, but
I noticed we're missing tests in general for this class, so I added a
few for the caching behavior.

* PR feedback
2019-11-15 21:21:11 -08:00
Justin Kotalik 0f580f1082
Initial HTTP/3 Implementation in Kestrel (#16914) 2019-11-15 14:50:54 -08:00
Ryan Nowak 2ff8f45193
Optimize namespace comparisons (#17119)
Fixes: #16922

Improves the performance significantly by avoiding allocations for the
purpose of comparing the namespace.
2019-11-15 14:41:33 -08:00
nickraphael 7cbe8aa5e3 spelling fix - recieved to received (#17123) 2019-11-15 12:54:50 -08:00
Chris Ross c57e08efba
Merge pull request #17061 from aspnet/darc-master-b9058e15-330a-4183-a37d-9154bb6b22ab
[master] Update dependencies from 4 repositories
2019-11-14 15:03:37 -08:00
Scott Addie a9aa1424e3 Replace cert authN README content with link to official doc (#16906) 2019-11-14 12:45:42 -08:00
Chris R f7e1a98b24 Skip broken TempDataDictionary tests #17102 2019-11-14 11:01:19 -08:00
Chris R ab0ba0b9c0 React to change in LambdaCompiler #17061 2019-11-14 10:08:42 -08:00
William Godbe 19ca6e9a59
Merge pull request #16829 from aspnet/johluo/blazor-prerelease
Keep Blazor at pre-release for 3.1
2019-11-12 20:51:52 -08:00
Ryan Nowak a159473c57
Use operations in our analyzers that need symbols (#17001)
Fixes: #16922

This change updates our analyzers that need access to the symbols to use
`IOperation` where possible. Using syntax analysis for this kind of
analyzer has worse performance. These analyzers run on generated code,
which can include EF migrations, the design of which amplifies these
effects.

On the path to this, I also added support for a few more cases that
operations make easy. Since we're doing this anyway, I want to have
confidence that we're checking everything (within reason). In some cases
the diagnostic experience changed a bit (including more of the
declaration/code) - I felt like all of these were OK changes. Given the
kinds of error message reported by the analyzers "don't use that type"
it seems like it's still a good enough experience without
micro-optimizing all of the locations.
2019-11-12 17:48:12 -08:00
Günther Foidl 20f2168869 HTTP/2 code sharing shell sync-script (#16885) 2019-11-12 08:17:58 -08:00
Chris Ross e336f4010a
Set HasStarted for StartAsync #16987 (#16993) 2019-11-11 15:32:32 -08:00
Omair Majid 20fc1adf2a Support building for arm64 on arm64 (*nix) (#15354)
This commit allows ASP.NET Core to be built on arm64 machines directly,
without relying on cross-compilation.

There's a few changes in here:

1. Ask msbuild to look into the BuildArchitecture

   By default, our build systems assums the machine is x64. This
   modifies the build configuration to check the architecture of the
   currently running build machine, and set BuildArchitecture to that.

2. Fix crossgen in Microsoft.AspNetCore.App.Runtime

   We run crossgen for supported architectures (including x64 and
   arm64). For that, we need a jit that we can point crossgen to.
   Generally, we can rely on the build scripts to find the right
   `libclrjit.so`. However, arm64 has multiple `libclirjit.so`, for
   different use-cases. There's one for arm64 (for running on arm64) and
   there's another one for cross-compiling for arm64 on x64. We need to
   figure out and use the right one explicitly rather than assuming the
   right one gets picked up.

   See https://github.com/dotnet/core-setup/pull/8468 for similar
   changes made in core-setup.

This also needs https://github.com/aspnet/AspNetCore/pull/14790 to fully
work on arm64.
2019-11-11 13:26:14 -08:00
Sébastien Ros ed5b7217e3
Merge pull request #16986 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'
2019-11-11 12:46:37 -08:00
Alessio Franceschelli 628da23e48 Response Caching: Cache Head with Content-Length (#12652)
* Response Caching: Cache Head with Content-Length
2019-11-11 10:10:21 -08:00
Brennan Conroy f8ed1185e4 Re-enable tests 2019-11-11 10:07:02 -08:00
Brennan Conroy 6caada9c14 Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore into merge/release/3.1-to-master 2019-11-11 10:04:23 -08:00
William Godbe ec5ccaca22
Merge pull request #16853 from Pilchie/TestUpdates
Update some tests
2019-11-11 09:44:54 -08:00
William Godbe dc49105fd6
Merge pull request #16903 from aspnet/mkArtakMSFT/angularFix
Disable webpack build progress reporting for Angular projects
2019-11-11 09:44:22 -08:00
Steven Maglio 5b1b8bcb8b Adding null-conditional operator on IEnumerable.GetEnumerator() (#16947) 2019-11-11 08:25:37 -08:00
Christopher Haws 4eebc166bf Add ignored http headers to SpaProxy (#16863)
* Add ignored http headers to SpaProxy

* Remove `cookie` header from NotForwardedHttpHeaders
2019-11-10 16:06:14 -08:00
Brennan 77afd21e90 Change how we resolve dotnet in tests (#16934) 2019-11-09 17:17:58 -08:00
James Newton-King 909f1d368f
Set HttpResponseMessage.Version in TestServer (#16941) 2019-11-10 13:59:34 +13:00
Chris Ross f8f60cd42e
HttpSys HTTP/2 Response Trailers #13893 (#16877) 2019-11-08 17:12:37 -08:00
Justin Kotalik 845e6d5512
Add rest of MsQuic transport. (#16812) 2019-11-07 20:53:33 -08:00
Artak 5171fd2bb5
Disable webpack build progress reporting for Angular projects
Addresses https://github.com/aspnet/AspNetCore-ManualTests/issues/43
2019-11-07 12:35:12 -08:00
Ryan Brandenburg 7202634cea
Merge pull request #16599 from flensrocker/issue-16582
Allow the Angular/React-DevServer to run on a given port (#16582)
2019-11-06 13:43:23 -08:00
Kirk Larkin 6a6deb298c [Mvc] Fix cref for HttpMethodActionConstraint API docs (#16857)
Switches the wrong reference from IActionResult to IActionConstraint
2019-11-06 14:27:11 +01:00
Lars Hanisch 23f23e88ab Regenerate reference assemblies 2019-11-06 09:28:01 +01:00
Andrew Stanton-Nurse 81379147e6
Update SignalR NPM package readme to show how to install previ… (#16761) 2019-11-05 16:09:10 -08:00
Doug Bunting 9abf4bfe3f
Merge branch 'release/3.1' => 'master' (#16834) 2019-11-05 15:39:47 -08:00
Kahbazi 911f92c7e7 Log heartbeat duration for slow heartbeats (#15273) 2019-11-05 13:58:28 -08:00
Ken Dale a23dd41428 Add www to root domain redirects (#12997) 2019-11-05 13:11:14 -08:00
Lars Hanisch 968e85a397 Allow the Angular/React-DevServer to run on a given port (#16582) 2019-11-05 21:52:38 +01:00