Commit Graph

41106 Commits

Author SHA1 Message Date
Brennan 9234e6bfdb
Skip Java tests on ARM (#19214) 2020-02-20 18:08:05 -08:00
Chris Ross 147be384ee
Cleanup the runtime code sync github action (#19173) 2020-02-20 16:44:12 -08:00
Brennan b125c76d5f
Fix watch tests again (#19155) 2020-02-20 16:03:48 -08:00
Brennan 3787d7e7f0
Merge pull request #19122 from dotnet/halter73/mega-merge
Merge branch release/3.1 --> master
2020-02-20 15:19:27 -08:00
Brennan b3e2dacdaf
Fix Helix run (#19175) 2020-02-20 12:46:37 -08:00
Brennan Conroy 3c40c64d3d Fix template test 2020-02-20 12:43:21 -08:00
Doug Bunting c8bcb96d59
Revert location change for `_UseHelixOpenQueues` variable
nit: Remove extra `if`
2020-02-20 11:23:44 -08:00
Doug Bunting 782b7c5dcd
Mark BlazorWasm template as non-shipping and disable its associated test 2020-02-20 11:12:07 -08:00
Doug Bunting e27f912453
Explicitly map `@(Reference)` to `@(PackageReference)` for Microsoft.Internal.Extensions.Refs 2020-02-20 10:59:17 -08:00
Kahbazi d597e08518
Make user-secrets treat unmatched options as arguments (#18256) 2020-02-20 17:16:05 +00:00
Doug Bunting f1fbb2d757
Undo assembly version change for implementation assemblies 2020-02-20 08:35:21 -08:00
Doug Bunting c2ee4ae820
Re-enable source build job
- change ref/ projects to build only the default TFM during source builds
  - avoid errors restoring packages like Microsoft.BCL.AsyncInterfaces
  - may also speed up source builds slightly
2020-02-19 22:46:22 -08:00
Brennan Conroy e721923b67 Fix targets file 2020-02-19 18:15:59 -08:00
Daniel Abbatt 474d03c071 Typo in the exception message that's returned
Typo in the exception message that's returned
Rendererd should be Rendered
2020-02-19 23:00:08 +00:00
Brennan 1e03d57deb
Merge branch 'master' into halter73/mega-merge 2020-02-19 14:20:10 -08:00
Brennan Conroy 2d066dcd3e Apply some fixes 2020-02-19 14:18:29 -08:00
Vaughan Reid b6698757a8
Activity.Baggage values are now be Url decoded in HostingApplicationDiagnostics. (#18948) 2020-02-19 14:03:36 -08:00
Roman Marusyk 76d197f0dd
Add XML Documentation to ResponseCachingMiddleware and ResponseCachingExtensions (#18968)
* Add XML Documentation to ResponseCachingMiddleware and ResponseCachingExtensions

* Update src/Middleware/ResponseCaching/src/ResponseCachingExtensions.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingExtensions.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingExtensions.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingMiddleware.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update src/Middleware/ResponseCaching/src/ResponseCachingMiddleware.cs

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* Update ResponseCachingMiddleware.cs

Co-authored-by: Andrew Stanton-Nurse <andrew@stanton-nurse.com>
2020-02-19 21:39:24 +00:00
Brennan e3a5f03e24
Run Java tests on Helix (#18938) 2020-02-19 13:18:12 -08:00
Kahbazi 1e4438647c
Add Email claim (#18580) 2020-02-19 11:24:35 -08:00
Scott Addie e937884eb4
Secret Manager: Save project file without XML declaration (#14354) 2020-02-19 10:25:28 -08:00
Hao Kung 607a6b4f8a
Merge branch 'master' into halter73/mega-merge 2020-02-18 16:51:15 -08:00
Ajay Bhargav Baaskaran f2dd6d4598 Add back DownloadFile.cs
Revert Razor.Runtime.Manual.cs and regenerate ref assemblies
2020-02-18 15:52:34 -08:00
Hao Kung 853d8f02e7
Use dotnet-helixapi-access token for internal helix builds 2020-02-18 15:51:13 -08:00
Greg Ingram abfd519b40
Updated summary (#19087) 2020-02-18 23:48:22 +00:00
Ajay Bhargav Baaskaran b92f4231e8 Todos 2020-02-18 13:47:25 -08:00
Stephen Halter 88073f86ff Merge branch 'release/3.1' into master 2020-02-18 13:46:51 -08:00
William Godbe 4895f51628
Pin dependency on Microsoft.CSharp (#19063)
* Pin dependency on Microsoft.CSharp

* Use 4.7.0 version

* Remove CSharp for versions.details.xml

* Move Microsoft.CSharp to manual section of versions.props
2020-02-18 11:43:35 -08:00
Ryan Brandenburg 211bc40384
Revert flaky tests that seems to have been fixed (#19065) 2020-02-18 09:26:51 -08:00
samsosa 2a52168115
Remove HostString.Port string alloc in HostString.cs (#19082)
https://github.com/dotnet/aspnetcore/issues/19064
2020-02-16 23:07:32 -08:00
dotnet-maestro[bot] 47a7fe9bea
Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200214.5 (#19075)
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-preview.1.20114.5
- Microsoft.AspNetCore.Razor.Language - 5.0.0-preview.1.20114.5
- Microsoft.CodeAnalysis.Razor - 5.0.0-preview.1.20114.5
- Microsoft.NET.Sdk.Razor - 5.0.0-preview.1.20114.5
2020-02-15 00:33:06 +00:00
dotnet-maestro[bot] eb82583488
Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200214.3 (#19073)
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-preview.1.20114.3
- Microsoft.AspNetCore.Razor.Language - 5.0.0-preview.1.20114.3
- Microsoft.CodeAnalysis.Razor - 5.0.0-preview.1.20114.3
- Microsoft.NET.Sdk.Razor - 5.0.0-preview.1.20114.3
2020-02-14 23:15:21 +00:00
William Godbe 7fc314f73b
Use nonshipping package to determine publish location for installers (#19067) 2020-02-14 14:28:58 -08:00
Brennan b6d433c4b6
Run helix tests locally (#19031) 2020-02-14 14:22:23 -08:00
dotnet-maestro[bot] d467283e95
Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200214.1 (#19059)
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-preview.1.20114.1
- Microsoft.AspNetCore.Razor.Language - 5.0.0-preview.1.20114.1
- Microsoft.CodeAnalysis.Razor - 5.0.0-preview.1.20114.1
- Microsoft.NET.Sdk.Razor - 5.0.0-preview.1.20114.1

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.ActivatorUtilities.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Caching.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Caching.Memory - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Caching.SqlServer - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Caching.StackExchangeRedis - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.CommandLineUtils.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.AzureKeyVault - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.Binder - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.CommandLine - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.FileExtensions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.Ini - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.Json - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.KeyPerFile - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.UserSecrets - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration.Xml - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Configuration - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.DependencyInjection.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.DependencyInjection - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.DiagnosticAdapter - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Diagnostics.HealthChecks - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.FileProviders.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.FileProviders.Composite - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.FileProviders.Embedded - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.FileProviders.Physical - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.FileSystemGlobbing - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.HashCodeCombiner.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Hosting.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Hosting - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.HostFactoryResolver.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Http - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Localization.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Localization - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.Abstractions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.AzureAppServices - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.Configuration - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.Console - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.Debug - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.EventSource - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.EventLog - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.TraceSource - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Logging.Testing - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.ObjectPool - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Options.ConfigurationExtensions - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Options.DataAnnotations - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Options - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.Primitives - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.TypeNameHelper.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.ValueStopwatch.Sources - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Extensions.WebEncoders - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Internal.Extensions.Refs - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.JSInterop - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-preview.1.20113.7 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.Win32.Registry - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Win32.SystemEvents - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.ComponentModel.Annotations - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Diagnostics.EventLog - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Drawing.Common - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.IO.Pipelines - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Net.Http.WinHttpHandler - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Net.WebSockets.WebSocketProtocol - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Reflection.Metadata - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Runtime.CompilerServices.Unsafe - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Cryptography.Cng - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Cryptography.Pkcs - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Cryptography.Xml - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Permissions - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Principal.Windows - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.ServiceProcess.ServiceController - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Encodings.Web - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Json - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Threading.Channels - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Windows.Extensions - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 5.0.0-preview.1.20113.7 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 5.0.0-preview.1.20113.7 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 5.0.0-preview.1.20113.7 (parent: Microsoft.Extensions.Logging)
- NETStandard.Library.Ref - 2.1.0-preview.1.20113.7 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.Platforms - 5.0.0-preview.1.20113.7 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Internal.AspNetCore.Analyzers - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
- Microsoft.AspNetCore.Testing - 5.0.0-preview.1.20114.1 (parent: Microsoft.AspNetCore.Razor.Language)
2020-02-14 21:58:39 +00:00
Chris Ross 1dc31a7613
Sync script changes from the runtime repo (#19062)
* Sync script changes from the runtime repo #18943

* Additional change
2020-02-14 19:59:35 +00:00
Brennan 50ef4faf14
Fix dotnet watch tests on Helix (#19021) 2020-02-14 11:34:11 -08:00
Pranav K e29c495166
Transfer endpoint metadata from PageActionDescriptor to CompiledPageActionDescriptor (#19061)
Fixes https://github.com/dotnet/aspnetcore/issues/17300
2020-02-14 10:53:46 -08:00
Chris Ross 7e094d7b7d
Update OIDC SameSite sample (#18934) 2020-02-14 18:07:46 +00:00
dotnet-maestro[bot] a085554993
Update dependencies from https://github.com/dotnet/arcade build 20200213.5 (#19036)
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.20113.5
- Microsoft.DotNet.GenAPI - 1.0.0-beta.20113.5
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.20113.5
2020-02-14 09:44:12 -08:00
Stephen Halter 439f4af49c
Cache _absoluteRequestTarget when reusing strings (#18547) 2020-02-14 09:38:31 -08:00
Stephen Halter f3e2b4d4d1
Keep Pipe readable after FormPipeReader error (#18939) 2020-02-14 09:36:57 -08:00
James Newton-King 89ab8633a4
Update Grpc.AspNetCore template reference to 2.27.0 (#18995) 2020-02-14 09:35:41 -08:00
Brennan ba74c35f0e
Build 3.1 site extension (#18568) 2020-02-14 09:35:01 -08:00
Alessio Franceschelli d05c9f465c
HeaderPropagation: reset AsyncLocal per request (#18300)
As Kestrel can bleed the AsyncLocal across requests,
see https://github.com/aspnet/AspNetCore/issues/13991.
2020-02-14 09:33:26 -08:00
Stephen Halter 7fa6d19644
Add option to interpret request headers as Latin1 (#18255) 2020-02-14 09:32:36 -08:00
Jacques Eloff a633c66dc6
Fix layout of installer help page for non-ENU locales, #18152 (#18246) 2020-02-14 09:31:17 -08:00
Pranav K e8d31697ad
Add an option to enable runtime compilation (#18648) 2020-02-14 08:35:06 -08:00
Pranav K d7f98bd562
Use reference equality to compare model instances in EditContext (#18172) (#18649)
* Use reference equality to compare model instances in EditContext

Fixes https://github.com/aspnet/AspNetCore/issues/18069
2020-02-14 08:34:44 -08:00
Pranav K 1027e5372f
Use the analyzer from the SDK when available (#18885)
* Use the analyzer from the SDK when available

This prevents a build warning when building a project that contains a reference to
Microsoft.AspNetCore.Components and a netcoreapp3.0 or newer targeting Web project.

The Web SDK implicitly adds the Components.Analyzer for netcoreapp3.0 or newer targeting projects.
If the project additionally referenced this package (directly or transitively), the package would
set up a property that prevented the implicit analyzer reference. This prevented the analyzer from
being referenced twice.

There were two issues with the current approach:

a) The props file wasn't propogated via buildTransitive. Consequently transitive project references
would reference two copies of the analyzer. When these were different versions, it resulted in a compiler
warning.

b) Forward looking, this prevents newer versions of the analyzer shipped from the SDK from ever being used.
This is particularly problematic since apps are likely to reference component libraries that were previously
compiled against 3.x.

This change attempts to mitigate both of these issues:

a) We add a buildTransitive so our build targets flow
b) We knock out the analyzer added by the package if the SDK's already added it.

Fixes https://github.com/dotnet/aspnetcore/issues/18563

* Update Microsoft.AspNetCore.Components.Analyzers.targets

* Update Microsoft.AspNetCore.Components.Analyzers.targets

* Add a description

* Update Microsoft.AspNetCore.Components.Analyzers.targets
2020-02-14 08:34:23 -08:00