Pranav K
71853a4640
Merge branch '3.1merge'
2020-06-10 11:30:40 -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
Pranav K
c58ab9247c
Add nullable to JSInterop ( #22326 )
2020-06-10 05:39:01 +00:00
Pranav K
b3ad812c14
Mark Wasm benchmark app as a test asset
2020-06-09 19:24:03 -07:00
Pranav K
ae8f67f201
Use randomized ports in dotnet-serve
2020-06-09 19:20:12 -07:00
Justin Kotalik
c1a3a2f10c
Change debug information format ( #22734 )
2020-06-09 18:03:19 -07:00
Safia Abdalla
fbb70b12de
Fix startvs.cmd for Components solution ( #22739 )
2020-06-10 00:32:42 +00:00
Pranav K
dd62a699f7
Merge remote-tracking branch 'origin/release/3.1' into prkrishn/merge-blazor-wasm
2020-06-09 16:54:36 -07:00
William Godbe
99e90f5782
Produce non-stable version of targeting pack ( #22372 )
...
* Produce non-stable version of targeting pack
* Fix tag
* Fix indentation
* Fixup proj file
* Move Internal proj to separate folder
* Remove redundant proj
* Start moving files
* finish moving files
* Set IsReferenceAssemblyProject=true in targeting pack proj
2020-06-09 16:40:00 -07:00
Justin Kotalik
b19d9d9540
Enable control flow guard for IIS dlls ( #22609 )
2020-06-09 16:26:18 -07:00
Pranav K
758ca19edc
Build against the local JSInterop ( #22526 )
2020-06-09 14:38:13 -07:00
Todd Grunke
4d367898b3
Merge pull request #22686 from dotnet/dev/toddgrun/expand_cached_tokens
...
Expand the SyntaxTokenCache to contain more than just whitespace tokens.
2020-06-09 13:00:10 -07:00
William Godbe
64f7f5a883
Unquarantine test that's not flaky anymore ( #22664 )
2020-06-09 10:21:07 -07:00
Pranav K
0794d6077d
Make AuthenticateAsync return non-null result ( #22708 )
...
* Make AuthenticateAsync return non-null result
* NoResult
2020-06-09 17:05:26 +00:00
Javier Calvarro Nelson
a27356078f
Disable Yarn warnings on CI builds for restore and Blazor WebAssembly projects ( #22703 )
...
Disables warnings when running the Yarn task in CI environments. You'll still get the warnings on developer builds.
2020-06-09 09:53:50 -07:00
Pranav K
21f47cdf22
Ship JSInterop.WebAssembly package ( #22685 )
...
Fixes https://github.com/dotnet/aspnetcore/issues/22674
2020-06-09 16:32:00 +00:00
Ondřej Štorc
9ce4a970a2
Parsing extension-av on Set Cookie header ( #22181 )
2020-06-09 08:48:39 -07:00
Pranav K
25e21df3a7
Set the correct tfm in Wasm template.json ( #22678 )
2020-06-09 15:39:42 +00:00
Pranav K
11ac23c65d
Changes per PR
2020-06-08 22:19:34 -07: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
837c639041
Expand the SyntaxTokenCache to contain more than just whitespace tokens.
2020-06-08 15:37:35 -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