Commit Graph

44152 Commits

Author SHA1 Message Date
John Luo 0c559a2fa2 Merge branch 'release/3.1' 2020-01-22 19:28:42 -08:00
John Luo 44d5a089b7 Merge branch 'release/3.1' 2020-01-22 19:28:42 -08:00
John Luo 50c28aa007 Merge branch 'release/3.1' 2020-01-22 19:28:42 -08:00
John Luo 364f380112 Merge branch 'release/3.1'
\n\nCommit migrated from b4d6308053
2020-01-22 19:28:42 -08:00
dotnet-maestro[bot] a49e084c15 Update dependencies from https://github.com/dotnet/arcade build 20200118.1 (#18461)
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20068.1
- Microsoft.DotNet.GenAPI - 5.0.0-beta.20068.1
- Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20068.1
2020-01-22 17:47:13 -08:00
John Luo 9cf7425328 Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from c01b984fe9 2020-01-22 17:44:26 -08:00
Ben Adams 2127e5d08e Remove Unsafe from ChunkWriter (#18450) 2020-01-22 14:50:34 -08:00
Javier Calvarro Nelson ffac687091
Revert "[Fixes #17014] Add an auth-enabled template for Blazor WASM projects (#18354)" (#18516)
This reverts commit e64b8a91ad.
2020-01-22 14:00:39 -08:00
Pranav K c7e6beec3c
Include compressed size in output (#18485) 2020-01-21 16:38:22 -08:00
Ryan Nowak 3111032dc0 Rework of Blazor startup experience
Fixes: #16874

This is a significant simplication of our startup code model for Blazor
wasm with the goal of removing concepts that don't make much sense here.
Previously in this area we've tried to be consistent with ASP.NET Core
on the server, but it's not helping up much in WASM.

We're still leveraging some of the lessons from server-size ASP.NET
(hello CreateDefaultBuilder) but consistency is no longer a goal.

This change actually makes a bunch of scenarios better (rather than
removing features) - it's now possible to access services from the
application's DI scope and initialize them before the UI is shown
`RunAsync`.

This change also adds configuration in a central way. There's nothing in
this change that populates configuration in an automatic way, that will
come next.
2020-01-21 15:48:49 -08:00
Justin Kotalik bc60e9576f
Update static HTML with name ASP.NET Core Module instead of ANCM (#18346) 2020-01-21 15:00:00 -08:00
Pranav K ba08d60cb9
Update names and descriptions for benchmarks (#18430) 2020-01-21 14:43:34 -08:00
wtgodbe 419a1f11a9 Undo accidental merge 2020-01-21 14:38:56 -08:00
wtgodbe 41bc4ec129 Fix logic for _GetPackageVersionInfo 2020-01-21 14:35:16 -08:00
Hao Kung f1dba10a34
[Helix] Better logging (flaky tests, logged tests) (#18274) 2020-01-21 14:03:01 -08:00
Steve Sanderson 05f2430bbd Update Mono debug proxy code (#18478) 2020-01-21 13:33:27 -08:00
Ajay Bhargav B 0f2e88a334
Added launchSettings.json for Blazor wasm templates (#18368)
* Added launchSettings.json for Blazor wasm templates

* Updated launchSettings

* removed windows auth option
2020-01-21 12:45:25 -08:00
Maher Jendoubi 64668496e5 Contributing: fixed some typos (dotnet/extensions#2886)
\n\nCommit migrated from 6a4a1907d4
2020-01-21 08:18:46 -08:00
Alessio Franceschelli 53a07c95a3 Fixed typo in AsyncEnumerableReader XML docs 2020-01-20 20:47:18 -08:00
davidnx 237b697320 Use StatusCodes.Status404NotFound instead of 404 (#18453)
This is a minor change to improve consistency and use `StatusCodes` members instead of raw harcoded status code numbers. It may help beginners browsing through the code-base to find where the default 404 response comes from for unmatched requests.
2020-01-20 16:28:56 +00:00
dotnet-maestro[bot] c3acdcac86 [release/3.1] Update dependencies from dotnet/efcore dotnet/aspnetcore-tooling (#18434)
* Update dependencies from https://github.com/dotnet/efcore build 20200117.2

- Microsoft.EntityFrameworkCore.Tools - 3.1.2
- Microsoft.EntityFrameworkCore.InMemory - 3.1.2
- Microsoft.EntityFrameworkCore - 3.1.2
- Microsoft.EntityFrameworkCore.Relational - 3.1.2
- Microsoft.EntityFrameworkCore.Sqlite - 3.1.2
- dotnet-ef - 3.1.2
- Microsoft.EntityFrameworkCore.SqlServer - 3.1.2

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 3.1.2-preview4.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- System.Text.Json - 4.7.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20067.4 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20067.4 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Net.Compilers.Toolset - 3.4.1-beta4-19614-01 (parent: Microsoft.Extensions.Logging)

* Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200117.7

- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.1.2
- Microsoft.AspNetCore.Razor.Language - 3.1.2
- Microsoft.CodeAnalysis.Razor - 3.1.2
- Microsoft.NET.Sdk.Razor - 3.1.2

* Update dependencies from https://github.com/dotnet/efcore build 20200117.3

- Microsoft.EntityFrameworkCore.Tools - 3.1.2
- Microsoft.EntityFrameworkCore.InMemory - 3.1.2
- Microsoft.EntityFrameworkCore - 3.1.2
- Microsoft.EntityFrameworkCore.Relational - 3.1.2
- Microsoft.EntityFrameworkCore.Sqlite - 3.1.2
- dotnet-ef - 3.1.2
- Microsoft.EntityFrameworkCore.SqlServer - 3.1.2

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 3.1.2-preview4.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 3.1.2 (parent: Microsoft.EntityFrameworkCore)
- System.Text.Json - 4.7.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20067.4 (parent: Microsoft.Extensions.Logging)
- Internal.AspNetCore.Analyzers - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20067.6 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Net.Compilers.Toolset - 3.4.1-beta4-19614-01 (parent: Microsoft.Extensions.Logging)

* update deps from tooling

* Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200117.9

- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.1.2
- Microsoft.AspNetCore.Razor.Language - 3.1.2
- Microsoft.CodeAnalysis.Razor - 3.1.2
- Microsoft.NET.Sdk.Razor - 3.1.2

Co-authored-by: William Godbe <wigodbe@microsoft.com>
2020-01-18 09:17:26 -08:00
William Godbe 220bfec9d6 Revert "Remove ref project from Microsoft.AspNetCore.Testing (#2817)" (#2882)
This reverts commit b624d6ba91b9c292ff9a2aa786a575b0eaa31b4b.
2020-01-17 19:24:54 -08:00
William Godbe 45c582fff5 Revert "Remove ref project from Microsoft.AspNetCore.Testing (dotnet/extensions#2817)" (dotnet/extensions#2882)
This reverts commit dotnet/extensions@b624d6ba91b9c292ff9a2aa786a575b0eaa31b4b.\n\nCommit migrated from 1286a6ff55
2020-01-17 19:24:54 -08:00
Ryan Nowak 67e8f617d2 Merge pull request dotnet/extensions#2881 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 1c2bd977c9
2020-01-17 17:15:06 -08:00
Ryan Nowak b183be06fe Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from ab0fceeb06 2020-01-17 16:27:28 -08:00
William Godbe 1f61fc6cb1
Update dependencies from dotnet/blazor (#18424)
* Update dependencies from dotnet/blazor

* Update version of blazor package used

* Removed obsolete WipedMethod invocation test

* react to mono.wasm to dotnet.wasm rename

* Leftover code cleanup
2020-01-17 15:56:08 -08:00
William Godbe 14d9ebd787
Merge pull request #18423 from dotnet-maestro-bot/merge/release/2.1-to-release/3.1
[automated] Merge branch 'release/2.1' => 'release/3.1'
2020-01-17 15:06:31 -08:00
Pranav K 61cd85b436 Merge pull request dotnet/aspnetcore-tooling#1490 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 2b4debb7e6
2020-01-17 14:58:49 -08:00
Chris Ross 328b52d056
Remove redundant method 2020-01-17 12:52:50 -08:00
Javier Calvarro Nelson e64b8a91ad
[Fixes #17014] Add an auth-enabled template for Blazor WASM projects (#18354)
* [Fixes #17014] Add an auth-enabled template for Blazor WASM projects
* The template enables auth using cookies.
* Includes a UserController to return the user claims/data to the user
* Includes an IdentityAuthenticationStateProvider that fetches the
  claims data from the application.
* It requires a hosted project.
2020-01-17 12:44:30 -08:00
Alessio Franceschelli c848c33cfa ResponseCaching: started conversion to pipes (#16961)
* ResponseCaching: started conversion to pipes

* nits

* Use span instead of memory

* CachedResponseBody Tests

* Benchmark

* Reworked benchmark

* Addressed feedback

* Increased timeout
2020-01-17 10:58:38 -08:00
Chris R 4fb0a13618 Merge remote-tracking branch 'release/2.1' into 'release/3.1'
# Conflicts:
#	build/dependencies.props
#	eng/PatchConfig.props
#	src/Servers/Kestrel/Core/src/CoreStrings.resx
#	src/Servers/Kestrel/Core/src/Internal/HttpsConnectionAdapter.cs
#	src/Servers/Kestrel/Core/src/Properties/CoreStrings.Designer.cs
#	src/Servers/Kestrel/test/FunctionalTests/HttpsTests.cs
#	src/Shared/CertificateGeneration/CertificateManager.cs
#	src/Shared/CertificateGeneration/EnsureCertificateResult.cs
#	src/Tools/FirstRunCertGenerator/test/CertificateManagerTests.cs
#	src/Tools/dotnet-dev-certs/src/Program.cs
2020-01-17 10:51:34 -08:00
Pranav K 3ce497f20d Avoid restoring RID specific packs that don't exist.
\n\nCommit migrated from 1826963086
2020-01-17 10:35:11 -08:00
Matt Mitchell 6f88144513
Unpin System.Data.SqlClient and pin System.Security.Cryptography.Cng (#18418) 2020-01-17 10:08:25 -08:00
Ryan Nowak 2166eb7b55 Merge pull request dotnet/extensions#2876 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 1693e05849
2020-01-17 08:44:26 -08:00
dotnet-maestro-bot 2dc908d502 [automated] Merge branch 'release/2.1' => 'release/3.1' (#18396)
* [Platform] Detect and fix certificates with potentially inaccessible keys on Mac OS (2.1) (#17560)

* [Https] Detects and fixes HTTPS certificates where the key is not guaranteed to be accessible across security partitions

* Fix dotnet dev-certs https --check

* Update logic for detecting missing certs

* Fix security command

* Update warning logic

* Check that the key is accessible in Kestrel

* Add correct link to docs

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Daniel Roth <daroth@microsoft.com>

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Daniel Roth <daroth@microsoft.com>

* Add test for 2.1

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Chris Ross <Tratcher@Outlook.com>

* Address feedback

* Fix non-interctive path

* Fix tests

* Remove a couple of test from an unshipped product

* Check only for certificates considered valid

* Switch the exception being caught, remove invalid test

Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>

* Fix patchconfig merge (#18389)

* Fix flaky HubConnectionHandler test (#18391)

Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com>
Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
Co-authored-by: Brennan <brecon@microsoft.com>
2020-01-17 08:30:12 -08:00
Ryan Nowak f965f666cf Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from 75f9f402d1 2020-01-17 08:20:12 -08:00
dotnet-maestro[bot] d839d4c2bc Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200116.8 (#18399)
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.1.2
- Microsoft.AspNetCore.Razor.Language - 3.1.2
- Microsoft.CodeAnalysis.Razor - 3.1.2
- Microsoft.NET.Sdk.Razor - 3.1.2
2020-01-16 21:22:11 -08:00
Pranav K cd518e9da3 Use reference assemblies when compiling Razor views (#18395)
* Use reference assemblies when compiling Razor views
Fixes https://github.com/dotnet/aspnetcore/issues/18323

* Avoid mixing runtime and ref assembly
2020-01-16 17:56:14 -08:00
dotnet-maestro[bot] 4520c6498a [release/3.1] Update dependencies from dotnet/extensions (dotnet/aspnetcore-tooling#1496)
* Update dependencies from https://github.com/dotnet/extensions build 20200115.6

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20065.6
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20065.6
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20065.6
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20065.6
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20065.6
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20064.4 (parent: Microsoft.Extensions.Logging)

* Update dependencies from https://github.com/dotnet/extensions build 20200115.7

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20065.7
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20065.7
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20065.7
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20065.7
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20065.7
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20064.4 (parent: Microsoft.Extensions.Logging)

* Update dependencies from https://github.com/dotnet/extensions build 20200115.8

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20065.8
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20065.8
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20065.8
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20065.8
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20065.8
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.7 (parent: Microsoft.Extensions.Logging)

* Update dependencies from https://github.com/dotnet/extensions build 20200115.9

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20065.9
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20065.9
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20065.9
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20065.9
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20065.9
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.9 (parent: Microsoft.Extensions.Logging)

* Update dependencies from https://github.com/dotnet/extensions build 20200116.2

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20066.2
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20066.2
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20066.2
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20066.2
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20066.2
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20066.1 (parent: Microsoft.Extensions.Logging)

* Add System.Text.Json to nuget.config

* Update dependencies from https://github.com/dotnet/extensions build 20200116.3

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20066.3
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20066.3
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20066.3
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20066.3
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20066.3
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20066.1 (parent: Microsoft.Extensions.Logging)

* fix nuget.config

* Update dependencies from https://github.com/dotnet/extensions build 20200116.5

- Microsoft.AspNetCore.BenchmarkRunner.Sources - 3.1.2-servicing.20066.5
- Microsoft.AspNetCore.Testing - 3.1.2-servicing.20066.5
- Microsoft.Extensions.CommandLineUtils.Sources - 3.1.2-servicing.20066.5
- Microsoft.Extensions.NonCapturingTimer.Sources - 3.1.2-servicing.20066.5
- Microsoft.Extensions.HashCodeCombiner.Sources - 3.1.2-servicing.20066.5
- Microsoft.Extensions.Logging - 3.1.2

Dependency coherency updates

- Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.DependencyModel - 3.1.2 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Internal - 3.1.2-servicing.20066.6 (parent: Microsoft.Extensions.Logging)

* fixup nuget.config

* Rely on regular restores for RID-specific package restores (dotnet/aspnetcore-tooling#1502)

* Rely on regular restores for RID-specific package restores

* Pin the runtime to a previously shippped version in SDK tests

* Update src/Razor/test/testapps/Directory.Build.targets

Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: Pranav K <prkrishn@hotmail.com>
\n\nCommit migrated from 5fd301284e
2020-01-16 17:55:52 -08:00
Pranav K 427ec8a4c7 Rely on regular restores for RID-specific package restores (dotnet/aspnetcore-tooling#1502)
* Rely on regular restores for RID-specific package restores

* Pin the runtime to a previously shippped version in SDK tests

* Update src/Razor/test/testapps/Directory.Build.targets
\n\nCommit migrated from b0a60a0231
2020-01-16 17:49:21 -08:00
Ryan Nowak ae7d4ac66d Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/AspNetCore-Tooling into merge/release/3.1-to-master
\n\nCommit migrated from 351d1bbe89
2020-01-16 16:48:00 -08:00
Brennan 28240ce460 Fix flaky HubConnectionHandler test (#18391) 2020-01-16 14:24:34 -08:00
Chris Ross c919c58251 Fix patchconfig merge (#18389) 2020-01-16 13:45:11 -08:00
Artak 452a822b62 Added the Blazor survey link to the Blazor-Server project template (#17434)
* Added the survey link to the Blazor Server project

* Use new survey link for server project

* Updated the baseline to include the SurveyPrompt.razor file

* Added the SurveyPrompt.razor to all the test baselines
2020-01-16 13:21:37 -08:00
Kahbazi 44e44931fe Remove nameof for log event name (#17807) 2020-01-16 12:57:26 -08:00
Ryan Nowak 8c6fc9f935 Merge pull request dotnet/extensions#2864 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from dea81ef6ca
2020-01-16 12:53:32 -08:00
Ryan Nowak d8b7f79568 Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/Common into dotnet-maestro-bot-merge/release/3.1-to-master 2020-01-16 12:10:17 -08:00
Ryan Nowak 9ec88301f5 Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/Common into dotnet-maestro-bot-merge/release/3.1-to-master 2020-01-16 12:10:17 -08:00
Ryan Nowak 4d61b7469f Merge branch 'merge/release/3.1-to-master' of https://github.com/dotnet-maestro-bot/Common into dotnet-maestro-bot-merge/release/3.1-to-master 2020-01-16 12:10:17 -08:00