Commit Graph

40803 Commits

Author SHA1 Message Date
Steve Sanderson 4360535bab
Update to newer ws-proxy sources (#18760)
* Update to latest ws-proxy sources

* Changes needed inside ws-proxy sources for inclusion in Microsoft.AspNetCore.Blazor.Server

* Use ILogger in ws-proxy

* Fix for /json endpoint when on HTTPS
2020-02-03 13:49:44 -08:00
Pranav K bbafecc053
Update Web.JS scripts (#18635) 2020-01-28 13:18:31 -08:00
Pranav K bb1b2c4bf2
Use scenario name for measurements and metadata (#18609) 2020-01-28 09:08:57 -08:00
Ajay Bhargav B 24be2992de
Run Blazor E2E tests on SauceLabs (#18456)
* Run Blazor E2E tests on SauceLabs

* Added azure pipeline

* update yml

* Update meta

* More changes
2020-01-27 17:54:18 -08:00
Pranav K e24f73e14b
Fix build warnings in MonoProxy (#18573) 2020-01-24 16:04:11 -08:00
Pranav K 9bdf208631
Fixup bad merge (#18570) 2020-01-24 15:05:45 -08:00
Daniel Roth 5f43e7a8a8
Update survey link for 3.2.0-preview1 (#18513) 2020-01-23 09:01:15 -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
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
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
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 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
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
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
Matt Mitchell 6f88144513
Unpin System.Data.SqlClient and pin System.Security.Cryptography.Cng (#18418) 2020-01-17 10:08:25 -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
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
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
John Luo bc7135c202
Merge pull request #18369 from dotnet/jkotalik/merge31
Merge 2.1 into 3.1
2020-01-16 11:29:26 -08:00
dotnet-maestro[bot] 405e841545 [release/3.1] Update dependencies from dotnet/efcore dotnet/aspnetcore-tooling (#18363)
* Update dependencies from https://github.com/dotnet/efcore build 20200114.5

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

* Update dependencies from https://github.com/dotnet/aspnetcore-tooling build 20200114.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

* Fixup nuget.config

* fixup nuget.config

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

- 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

* Remove internal sources

Co-authored-by: William Godbe <wigodbe@microsoft.com>
Co-authored-by: John Luo <johluo@microsoft.com>
2020-01-16 10:58:57 -08:00
Pranav K 6a8ce3ad67 Add support for IAsyncEnumerable<T> where T is value type (#17154) (#17563)
* Add support for IAsyncEnumerable<T> where T is value type (#17154)

* Add support for IAsyncEnumerable<T> where T is value type

Fixes https://github.com/aspnet/AspNetCore/issues/17139

* Fixup ref asm

* undo changes to blazor.server.js
2020-01-16 10:32:29 -08:00
Javier Calvarro Nelson 8e5767bdf1 [Platform] Detect and fix certificates with potentially inaccessible keys on Mac OS (3.1) (#17581)
* [Platform] Add logic to dotnet-dev-certs to detect and fix certificates with inaccessible keys on Mac OS

* Update the docs link
2020-01-16 10:29:37 -08:00
John Luo 4682c2a6dc Test ref pack fix 2020-01-16 08:51:35 -08:00
Javier Calvarro Nelson 7f53f7e95b [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>
2020-01-15 22:54:11 -08:00
Ryan Brandenburg 5dc2d6eafa Extend timeout and report failure to WarmUp for template tests (#16759)
* Extend timeout and report failure to WarmUp for template tests

* Retry click events
2020-01-15 18:44:56 -08:00
Justin Kotalik d9ccf235fd Final bad conflicts 2020-01-15 16:39:50 -08:00
Justin Kotalik 93a51f5f13 Remove version.props 2020-01-15 16:27:07 -08:00
Justin Kotalik ca56fee980 Missed conflicts 2020-01-15 16:26:32 -08:00
Justin Kotalik 4dd0a6cd27 Merge branch 'release/2.1' into release/3.1 2020-01-15 16:19:30 -08:00
Brennan cf3bf40543 Update PoliCheckExclusions.xml (#17705)
Ignore test log output
2020-01-15 14:34:58 -08:00
Hao Kung 109663e078 Send confirmation mails for external accounts 2020-01-15 13:32:34 -08:00
William Godbe 89d26402ef
[release/3.1] Mark Blazor packages as nonshipping (#18357)
* Mark Blazor packages as nonshipping

* Explicitly set IsShippingPackage=false

* Pin blazor dependency version
2020-01-15 12:11:52 -08:00
John Luo 9522e1dd2e Multi-target all shared framework projects with netcoreapp3.1 (#17998)
- regen ref
2020-01-15 12:08:17 -08:00
Javier Calvarro Nelson b4d2f9aa52 [Static Web Assets] Allow assets with empty base paths (#17414) 2020-01-15 11:45:21 -08:00
Ajay Bhargav B cba11d7e22 Workaround for #18058 (#18213) 2020-01-15 11:42:30 -08:00
James Newton-King 34294a3e7a Fix TestServer hang with duplex streaming requests (#17158) 2020-01-15 11:08:41 -08:00
Chris Ross ad8ecf96a1 React to runtime/594 Encoder.Convert change (#17747) 2020-01-15 11:07:50 -08:00
Chris Ross 8211a1c313 [2.1] CookieChunkingManager needs to flow the Secure attribute… (#17953) 2020-01-15 11:07:15 -08:00
Brennan 164ddfd48b Fix flaky LongPolling tests (#14395) 2020-01-15 11:06:16 -08:00
William Godbe 6ec28e8715
Fix setter for CandidateState.Values in reference assembly (#18278) 2020-01-15 11:02:08 -08:00