John Luo
ef9a3662d6
Also set no-store when we set no-cache in response cache control headers ( #22842 )
2020-06-11 20:38:54 -07:00
Pranav K
20770811a4
Add nullability to antiforgery ( #22279 )
...
* Add nullability to antiforgery
Addresses #5680
* Rebase
2020-06-12 03:23:33 +00:00
msftbot[bot]
4c4351e11c
Merge pull request #22850 from dotnet-maestro-bot/merge/release/5.0-preview6-to-master
...
[automated] Merge branch 'release/5.0-preview6' => 'master'
2020-06-12 01:40:26 +00:00
Todd Grunke
904fd19605
A couple more perf optimizations focused around memory allocations.
...
This is the last of the easy wins that I could find for typing in large razor files (minus the logged bug to move the divergence checker code off the UI thread). In the profile for the large document editing, these changes reduce allocated memory during RazorSyntaxTree.Parse by about 25%. CPU wise, the win isn't quite as dramatic, only a couple percent improvement under RazorSyntaxTree.Parse.
2020-06-11 18:11:29 -07:00
Pranav K
a99dd0d312
Update js
2020-06-11 17:10:19 -07:00
dotnet-maestro[bot]
89329b09be
Update dependencies from https://github.com/dotnet/efcore build 20200611.2 ( #22848 )
...
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.7.20311.1 -> To Version 5.0.0-preview.7.20311.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-11 23:30:28 +00:00
Pranav K
ea4b52ccba
Merge remote-tracking branch 'origin/release/3.1'
2020-06-11 15:52:06 -07:00
Pranav K
351a97dee8
Bump up the wasm template precedence ( #22828 )
2020-06-11 14:55:01 -07:00
dotnet-maestro[bot]
3a9368b26b
[master] Update dependencies from dotnet/efcore ( #22793 )
...
* Update dependencies from https://github.com/dotnet/efcore build 20200610.3
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.7.20309.4 -> To Version 5.0.0-preview.7.20310.3
* Update dependencies from https://github.com/dotnet/efcore build 20200611.1
Microsoft.EntityFrameworkCore.Tools , Microsoft.EntityFrameworkCore.SqlServer , dotnet-ef , Microsoft.EntityFrameworkCore , Microsoft.EntityFrameworkCore.Relational , Microsoft.EntityFrameworkCore.Sqlite , Microsoft.EntityFrameworkCore.InMemory
From Version 5.0.0-preview.7.20309.4 -> To Version 5.0.0-preview.7.20311.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-11 21:39:08 +00:00
Pranav K
0a42cca945
Razor SDK build ordering issues ( #22684 )
...
* Razor SDK build ordering issues
* Build the SDK completely regardless of the MSBuild runtime type
* Split SDK integration tests into a separate project. Clean up project file
* Add project to sln
* Update Microsoft.NET.Sdk.Razor.csproj
* Fixup tests
* Avoid rebuilding dependencies if they appear up to date. Fixup tests
* Fixup
* Update CSharp.Common.props
* Cleanup the build
2020-06-11 21:16:05 +00:00
dotnet-maestro[bot]
5d996207d5
Update dependencies from https://github.com/dotnet/runtime build 20200611.2 ( #22818 )
...
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , Microsoft.Extensions.Logging.Abstractions , Microsoft.Extensions.Logging.Configuration , Microsoft.Extensions.Logging.Console , Microsoft.Extensions.Logging.Debug , Microsoft.Extensions.Logging.EventLog , Microsoft.Extensions.Logging.EventSource , Microsoft.Extensions.Logging.TraceSource , Microsoft.Extensions.Options , Microsoft.Extensions.Options.ConfigurationExtensions , Microsoft.Extensions.Options.DataAnnotations , Microsoft.Extensions.Primitives , Microsoft.Extensions.Logging , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Http , Microsoft.Extensions.Hosting.Abstractions , Microsoft.Extensions.Caching.Abstractions , Microsoft.Extensions.Caching.Memory , Microsoft.Extensions.Configuration , Microsoft.Extensions.Configuration.Abstractions , Microsoft.Extensions.Configuration.Binder , Microsoft.Extensions.Configuration.CommandLine , Microsoft.Extensions.Configuration.EnvironmentVariables , Microsoft.Extensions.Configuration.FileExtensions , Microsoft.Extensions.Configuration.Ini , Microsoft.Extensions.Configuration.UserSecrets , Microsoft.Extensions.Configuration.Xml , Microsoft.Extensions.DependencyInjection , Microsoft.Extensions.DependencyInjection.Abstractions , Microsoft.Extensions.DependencyModel , Microsoft.Extensions.FileProviders.Abstractions , Microsoft.Extensions.FileProviders.Composite , Microsoft.Extensions.FileProviders.Physical , Microsoft.Extensions.FileSystemGlobbing , Microsoft.Extensions.Hosting , Microsoft.Extensions.Configuration.Json , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.Platforms , Microsoft.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Drawing.Common , System.ServiceProcess.ServiceController , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.Security.Principal.Windows , System.Security.Permissions , System.Security.Cryptography.Xml , System.IO.Pipelines , System.Net.Http.Json , System.Net.Http.WinHttpHandler , System.Net.WebSockets.WebSocketProtocol , System.Reflection.Metadata , System.Runtime.CompilerServices.Unsafe , System.Security.Cryptography.Cng , System.Security.Cryptography.Pkcs
From Version 5.0.0-preview.7.20309.9 -> To Version 5.0.0-preview.7.20311.2
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-06-11 21:10:35 +00:00
Pranav K
596f93324d
Fix nullable build warning ( #22838 )
2020-06-11 20:48:55 +00:00
William Godbe
b085deb831
Merge pull request #22829 from dotnet-maestro-bot/merge/release/2.1-to-release/3.1
...
[automated] Merge branch 'release/2.1' => 'release/3.1'
2020-06-11 13:34:51 -07:00
Will Godbe
1eefadc14d
Merge remote-tracking branch 'origin/release/3.1' into merge/release/2.1-to-release/3.1
2020-06-11 13:32:18 -07:00
Pranav K
75b27754d6
Ensure FileBufferingReadStream created by formatters are always disposed ( #22746 )
2020-06-11 13:14:15 -07:00
Javier Calvarro Nelson
5a9a98543f
[Blazor] Switches Error.razor to Error.cshtml ( #22777 )
...
* [Blazor] Switch to use a cshtml file for errors
* Update template tests
2020-06-11 13:13:05 -07:00
Javier Calvarro Nelson
9d7018544a
[Blazor] Fix manifest integrity computation ( #22771 )
...
* [Blazor] Fix manifest integrity computation
* Add a couple of tests to validate incrementalism
2020-06-11 13:12:53 -07:00
Javier Calvarro Nelson
ce533485f0
[Blazor] Register HttpClient as a scoped instance ( #22770 )
...
This avoid the container holding on to transient HttpClient instances for the lifetime of the application.
2020-06-11 13:12:43 -07:00
Pranav K
8e813eea24
Workaround for DomException when invoking cache.put ( #22756 )
...
* Workaround for DomException when invoking cache.put
Invoking cache.put could sometimes result in exceptions being thrown. While this seems to have been fixed in Chromium - https://bugs.chromium.org/p/chromium/issues/detail?id=968444 ,
we've had several reports of this in our repo. The fix here is to write defensively when working with the cache apis since they appear to behave in unexpected ways..
Fixes https://github.com/dotnet/aspnetcore/issues/20256
* Fixup
2020-06-11 13:12:33 -07:00
msftbot[bot]
62e6d93f5c
Merge pull request #22833 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-11 19:32:33 +00:00
Todd Grunke
73f04eecac
Add mechanism where IR token generation can defer allocation of it's … ( #22792 )
...
* Add mechanism where IR token generation can defer allocation of it's content.
It turns out that many IR tokens access their content, and thus allocating it is unnecessary. In particular, with this change against a large file, I've seen allocations under SyntaxNodeExtensions.GetContent reduced by about 33%. Performance wise, I've seen the number of CPU samples in the profile under GetContent reduce by about 40% (in my sample I typed 26 characters and there was about 600 ms less spent in GetContent)
* ContentGetter => ContentFactory
* Make tests happy with the switch from IntermediateToken to IntermediateTokenWithDeferreedContentAllocation
* IntermediateTokenWithDeferredContentAllocation => LazyIntermediateToken
2020-06-11 18:20:41 +00:00
Brennan
812f2f8145
Fixes NullRef exception in IIS in-proc ( #22806 )
2020-06-11 10:57:36 -07:00
Justin Kotalik
d4f43e7849
Enable control flow guard for IIS dlls ( #22608 )
2020-06-11 10:20:29 -07:00
Pranav K
3e6495fde3
Bump up the wasm template precedence ( #22802 )
2020-06-11 10:10:10 -07:00
William Godbe
f2f9baf383
Merge pull request #22827 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-11 10:05:29 -07:00
William Godbe
0ae7f1a701
Merge pull request #22801 from dotnet-maestro-bot/merge/release/2.1-to-release/3.1
...
[automated] Merge branch 'release/2.1' => 'release/3.1'
2020-06-11 09:59:17 -07:00
Will Godbe
40e1351ce8
Merge
2020-06-11 09:58:44 -07:00
William Godbe
70c5dda477
Merge pull request #22826 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-11 09:49:16 -07:00
William Godbe
84831fba9b
Merge branch 'master' into merge/release/3.1-to-master
2020-06-11 09:48:50 -07:00
David Fowler
9e55787b84
Add support for listening to tcp handles to in the Sockets transport ( #22618 )
...
* Add support for listening to tcp handles to in the Sockets transport
- Make ListenHandleTests shared across both transports
Fixes #20842
2020-06-11 09:36:27 -07:00
Sébastien Ros
5f26302eaa
Quarantining CanDispatchAsyncWorkToSyncContext ( #22803 )
...
* Quarantining CanDispatchAsyncWorkToSyncContext
* Missing using
* Make method virtual
2020-06-11 09:30:26 -07:00
Ryan Brandenburg
b61e9b0125
Remove PubTernal APIs ( #22290 )
...
Remove PubTernal APIs
2020-06-11 09:21:39 -07:00
msftbot[bot]
b5105e7f96
Merge pull request #22796 from dotnet-maestro-bot/merge/release/5.0-preview6-to-master
...
[automated] Merge branch 'release/5.0-preview6' => 'master'
2020-06-11 01:41:38 +00:00
Sébastien Ros
fe24d85356
Merge pull request #22790 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-10 18:19:19 -07:00
Stephen Halter
6c31da5b1f
Enable Kestrel config reload in ConfigureWebHostDefaults ( #22528 )
2020-06-10 17:47:17 -07:00
Sébastien Ros
34e006fdcd
Merge branch 'master' into merge/release/5.0-preview6-to-master
2020-06-10 16:35:07 -07:00
Doug Bunting
1a560b6b8f
Update branding to 2.1.20 ( #22757 )
2020-06-10 13:59:45 -07:00
Will Godbe
948c62ee64
Fixup baseline
2020-06-10 13:42:24 -07:00
Will Godbe
97f3ea1453
Fixup .sln
2020-06-10 13:40:08 -07:00
Will Godbe
3d79c2b319
Fixup
2020-06-10 13:08:11 -07:00
Pranav K
153eda4e88
Ship the JSInterop package ( #22794 )
2020-06-10 12:39:52 -07:00
Tanya
e929dab496
Replace favicon.ico with smaller size ( #22533 )
...
Co-authored-by: Tanya Do <tad@microsoft.com>
2020-06-10 12:17:25 -07:00
Pranav K
07b1bf4f71
Fixup error
2020-06-10 12:07:17 -07:00
Pranav K
71853a4640
Merge branch '3.1merge'
2020-06-10 11:30:40 -07:00
William Godbe
949b5e0fcb
Merge pull request #22758 from dotnet-maestro-bot/merge/release/2.1-to-release/3.1
...
[automated] Merge branch 'release/2.1' => 'release/3.1'
2020-06-10 10:54:33 -07:00
William Godbe
237dff294f
Merge pull request #22743 from dotnet-maestro-bot/merge/release/3.1-to-master
...
[automated] Merge branch 'release/3.1' => 'master'
2020-06-10 10:54:21 -07:00
Safia Abdalla
a529b4c70c
Add nan as dev dependency to React templates ( #22089 ) ( #22205 )
2020-06-10 09:59:39 -07:00
Safia Abdalla
55822ca516
Upgrade jQuery in samples to version 3.5.1 ( #21577 ) ( #21792 )
...
Fixes #21572
Co-authored-by: Christian Wenz <info@christianwenz.de>
2020-06-10 09:59:29 -07:00
William Godbe
432dc979b3
Merge pull request #21921 from dotnet/prkrishn/merge-blazor-wasm
...
Merge blazor-wasm -> 3.1
2020-06-10 09:32:29 -07:00
William Godbe
0686c133e4
Merge pull request #22730 from dotnet-maestro-bot/merge/release/5.0-preview6-to-master
...
[automated] Merge branch 'release/5.0-preview6' => 'master'
2020-06-10 09:30:53 -07:00