Pranav K
25e21df3a7
Set the correct tfm in Wasm template.json ( #22678 )
2020-06-09 15:39:42 +00:00
Brennan
4a66e2d1ab
[Java] Observe error to avoid crash ( #22016 )
2020-06-08 18:25:49 -07:00
Scott Addie
eee77a8f10
Improve XML docs for ActionResultStatusCodeAttribute ( #22598 )
2020-06-08 15:57:11 -07:00
Todd Grunke
f56cad003f
Merge pull request #22660 from dotnet/dev/toddgrun/StopBoxingSyntaxKindDuringTokenization
...
Stop boxing to compare the SyntaxKind enum during tokenization
2020-06-08 14:14:21 -07:00
github-actions[bot]
52fdd8f2a2
Sync shared code from runtime ( #22619 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-06-08 20:17:43 +00:00
William Godbe
a1360e98f3
Quarantine flaky test ( #22662 )
2020-06-08 12:53:57 -07:00
Pranav K
6188933c89
Fixup warnings in test ( #22665 )
2020-06-08 19:39:50 +00:00
Doug Bunting
ee80cd5ccd
Build native assets by default ( #22611 )
...
* Build native assets by default
- #22556
- make `-BuildNative` primarily useful when you want _only_ native assets
- can also build `-Projects` with desktop `msbuild` using `-BuildNative`
- remove `-ForceCoreMsbuild` option
nit: extra `Remove-Item`s caused `MSBuild` function to do redundant work
* !fixup! Get `/bl` options working again
nit: Place SiteExtensions .binlogs correctly wherever script is run from
* !fixup! Remove *.vcxproj from Servers build
- native projects are built implicitly
* !fixup! Remove `-buildNative` from IIS build script
2020-06-08 12:39:10 -07:00
Pranav K
cd81d48766
Add nullable to WebUtilities ( #22543 )
2020-06-08 17:48:43 +00:00
Todd Grunke
a5d433103c
Stop boxing to compare the SyntaxKind enum during tokenization
...
This accounts for a significant portion of razor's allocations during parsing.
2020-06-08 10:45:11 -07:00
Brennan
aeb28d4b83
Keep building packages that are marked packable ( #22616 )
2020-06-08 10:13:36 -07:00
Smit Patel
3cdc7164e7
Add pragma disable to older migration files
...
Resolves #22630
2020-06-07 11:17:45 -07:00
Victor Lindespång
d4a4c25607
Typo in XML comments for AuthorizationMessageHandler ( #22371 )
...
I'm not a native english speaker but I'm pretty sure something is wrong here, or it's a condition too complicated for me to understand ;- )
2020-06-07 00:05:45 -07:00
Pranav K
6e54e06cfa
Add nullable to Auth.Abstractions, and Auth.Core ( #22541 )
2020-06-06 21:43:39 +00:00
Smit Patel
a963bbebf9
Add obsolete disable in older model snapshot
...
Revert to using older API
Resolves #22610
2020-06-06 12:01:31 -07:00
Brennan
e657de4b77
Fix null warnings ( #22615 )
2020-06-06 09:33:25 -07:00
dotnet-maestro[bot]
b6e593bbbb
[master] Update dependencies from dotnet/efcore ( #22558 )
...
* Update dependencies from https://github.com/dotnet/efcore build 20200604.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.20304.1 -> To Version 5.0.0-preview.7.20304.3
* Update dependencies from https://github.com/dotnet/efcore build 20200604.5
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.20304.1 -> To Version 5.0.0-preview.7.20304.5
* Update dependencies from https://github.com/dotnet/efcore build 20200604.6
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.20304.1 -> To Version 5.0.0-preview.7.20304.6
* Update dependencies from https://github.com/dotnet/efcore build 20200605.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.20304.1 -> To Version 5.0.0-preview.7.20305.1
* Update dependencies from https://github.com/dotnet/efcore build 20200605.2
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.20304.1 -> To Version 5.0.0-preview.7.20305.2
* Update Identity for breaking changes in EF Core
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Smit Patel <smitpatel@users.noreply.github.com>
2020-06-06 01:49:33 +00:00
Justin Kotalik
8a4af4f212
Enable control flow guard for IIS native dlls ( #22480 )
2020-06-05 17:34:54 -07:00
John Luo
836001cf96
Set PublishWindowsPdb for Razor tooling packages ( #22605 )
2020-06-05 23:38:17 +00:00
dotnet-maestro[bot]
cdb87ee776
[master] Update dependencies from dotnet/runtime ( #22571 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200605.1
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.Win32.Registry , Microsoft.Win32.SystemEvents , Microsoft.NETCore.Platforms , Microsoft.NETCore.App.Internal , Microsoft.NETCore.App.Ref , System.Drawing.Common , System.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Principal.Windows , 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 , System.Security.Cryptography.Xml , System.Security.Permissions
From Version 5.0.0-preview.7.20303.11 -> To Version 5.0.0-preview.7.20305.1
* Use the array overload of Task.WhenAny
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Ajay Bhargav Baaskaran <ajbaaska@microsoft.com>
2020-06-05 21:22:58 +00:00
Kirill Osenkov
0e7ca749de
Add a Mime Type for .exe and .dll files. ( #21805 )
...
* Add a Mime Type for .exe and .dll files.
Useful for serving downloads of installers.
Could be application/octet-stream, but I hear application/vnd.microsoft.portable-executable is specified by IANA here:
https://www.iana.org/assignments/media-types/application/vnd.microsoft.portable-executable
* Update src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
* Update src/Middleware/StaticFiles/src/FileExtensionContentTypeProvider.cs
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-06-05 20:21:31 +00:00
Pranav K
1656b4bfcf
Update SDK tests ( #22560 )
...
* Add some test for MVC 3.1 \ Blazor 3.1
* Remove tests and testapps for 1.1 \ 2.2
2020-06-05 11:19:17 -07:00
John Luo
bce19c211a
Remove unused parameter in control template for Deb installers ( #22546 )
2020-06-05 11:05:00 -07:00
Pranav K
f37fa30683
Add nullable annotations to Http.Abstractions, Http.Features, Connections.Abstractions ( #22337 )
...
* Add nullable annotations to Http.Abstractions, Http.Features, Connections.Abstractions
Co-authored-by: James Newton-King <james@newtonking.com>
2020-06-05 06:54:07 -07:00
Hao Kung
8e4dadc0dd
Add certificate validation cache ( #21847 )
2020-06-05 00:58:47 -07:00
Stephen Halter
b454da498c
Merge branch 'master' into merge/release/5.0-preview6-to-master
2020-06-04 19:48:43 -07:00
James Newton-King
ce32892387
Remove allocations by changing AsTask to GetAsTask ( #22557 )
2020-06-05 13:39:44 +12:00
Chris Ross
2bf3960dea
Optional client certificates sample ( #21484 )
...
* Add an optional client certs example
* Add the Challenge event
* PR cleanup
2020-06-05 01:34:21 +00:00
Todd Grunke
da52d6b636
Move IsSpacingToken perf optimizations down to base class ( #22555 )
...
This gives the HtmlMarkupParser the same non-allocating behavior for it's IsSpacing* method invocations. Profile from following feedback ticket showed ~100ms time spent doing these allocations: https://developercommunity.visualstudio.com/content/problem/1006207/vs-2019-constant-freezing-please-wait-for-an-edito.html?childToView=1065769
2020-06-04 23:56:50 +00:00
Stephen Halter
a50f94e8ff
Use default SslProtocols in Kestrel ( #22437 )
2020-06-04 16:44:27 -07:00
Ajay Bhargav B
c329dc555a
Quarantined flaky RazorSDK tests ( #22553 )
2020-06-04 22:24:23 +00:00
Pranav K
a352ac4bb8
Update blazor benchmarks to point to master ( #22524 )
2020-06-04 15:04:30 -07:00
Hao Kung
5a856437d0
Show logout button if logged in on logout ( #22444 )
...
* Show logout button if logged in on logout
* Remove stuff
2020-06-04 14:54:17 -07:00
William Godbe
e5a52c1f4a
Don't pack duplicate deps.json files in SiteExtension package ( #22519 )
...
* Don't pack duplicate deps.json files in SiteExtension package
* Change exclude
2020-06-04 09:57:40 -07:00
Pranav K
e89abd13d4
Reduce Razor SDK copy retries ( #22448 )
...
* Retry fewer times when building locally
* Fail as usual when building in CI
2020-06-03 16:04:29 -07:00
Steve Gordon
eccd6272b3
Fix comment typo ( #22409 )
2020-06-03 13:26:24 -07:00
Martin Costello
675bceca57
Reuse model binders ( #22391 )
...
* Reuse model binders
Reuse the same model binders for CancellationTokens and services, rather than allocating a new one for every request with such a parameter.
2020-06-03 13:25:23 -07:00
Pranav K
9eaef28b31
Attempt to capture binlogs when test times out ( #22468 )
2020-06-03 10:02:03 -07:00
Huei Feng
544afc0078
Added `#nullable enable` with `StackTraceHelper` ( #22419 )
...
* Added `#nullable enable` with `StackTraceHelper`
2020-06-03 09:54:10 -07:00
Huei Feng
77ef004db4
Update async Dispose and methods references ( #22407 )
...
* Update async Dispose and methods references
- `Dispose` can be changed to `DisposeAsync`
- The methods in the following code snippet are not available, it causes duplicate references
```
/// <summary>
/// <see cref="HelperResult.WriteTo(TextWriter)"/> is invoked
/// </summary>
/// <param name="result">The <see cref="HelperResult"/> to invoke</param>
protected void Write(HelperResult result)
{
Write(result);
}
```
* Update BaseView.cs
2020-06-03 15:43:08 +00:00
Brennan
381ac51af6
Fix nullable warning in IntegrationTestBase ( #22487 )
2020-06-03 07:48:35 -07:00
Matt Mitchell
d8733c2a55
Build time changes ( #22362 )
...
* Build time changes
A few changes for build time
- Don't build tests with SkipTestBuild=true and use that for official
build legs. This cuts 40%-50% off the msbuild invocations for build.
The longest build leg drops by about 30 mins.
- Skip logging of some task parameters and their metadata.
This reduces overall binlog size, which is a major contributor to
build time.
Unfortunately, this does not mean we can yet turn binlogs back on. This
change can actually increase the overall binlog size due to logging of
more project started arguments. There is another optimization for this
in progress.
Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
2020-06-03 07:14:38 -07:00
Scott Addie
e7ca49c95e
Improve XML docs for ActionResultObjectValueAttribute ( #22479 )
2020-06-03 06:42:53 -07:00
dotnet-maestro[bot]
1c908e5920
[release/5.0-preview6] Update dependencies from dotnet/runtime ( #22481 )
...
* Update dependencies from https://github.com/dotnet/runtime build 20200602.4
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , 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.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Http , 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.Json , 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.Hosting.Abstractions , Microsoft.Extensions.Configuration.UserSecrets , 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.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Permissions , 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 , System.Security.Cryptography.Xml , System.Security.Principal.Windows
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.6.20302.4
* Update dependencies from https://github.com/dotnet/runtime build 20200602.5
System.ComponentModel.Annotations , System.Diagnostics.DiagnosticSource , System.Diagnostics.EventLog , 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.Abstractions , Microsoft.Extensions.Logging , Microsoft.Extensions.Internal.Transport , Microsoft.Extensions.Http , 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.Json , 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.Hosting.Abstractions , Microsoft.Extensions.Configuration.UserSecrets , 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.Text.Encodings.Web , System.Text.Json , System.Threading.Channels , System.Windows.Extensions , System.ServiceProcess.ServiceController , System.Security.Permissions , 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 , System.Security.Cryptography.Xml , System.Security.Principal.Windows
From Version 5.0.0-preview.6.20278.9 -> To Version 5.0.0-preview.6.20302.5
* Fixup test
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
2020-06-03 08:33:37 +00:00
msftbot[bot]
912ab2bcb3
Merge pull request #22453 from dotnet-maestro-bot/merge/release/5.0-preview6-to-master
...
[automated] Merge branch 'release/5.0-preview6' => 'master'
2020-06-03 02:41:08 +00:00
Pranav K
902e735b27
Configure the page handler / controller instance as the container when validating top-level properties ( #22164 )
...
Validation attributes such as a CompareAttribute require a container to be configured in ValidationContext. This change
configures uses the controller or page handler instance that the property is being bound on when binding top-level properties.
Fixes https://github.com/dotnet/aspnetcore/issues/4895
2020-06-03 00:48:56 +00:00
Pranav K
646dfc63e4
Minor tweaks for better Ignitor debugability ( #22446 )
2020-06-02 17:45:52 -07:00
Hao Kung
bdc051a08a
Clarify summary for ValidateSecurityStamp ( #22483 )
2020-06-02 17:06:57 -07:00
Pranav K
faf60675fe
Add nullability to HtmlAbstractions ( #22275 )
...
Addresses #5680
2020-06-02 23:27:54 +00:00
James Newton-King
8009350176
Log message when connection reaches maximum concurrent streams ( #22452 )
2020-06-03 10:11:06 +12:00