Commit Graph

39650 Commits

Author SHA1 Message Date
Brennan ac9a6f331e
Fix User-Agent typo Java (#13692) 2019-09-04 19:27:14 -07:00
John Luo 3dee6782c3
Ignore whitespace differences during code check (#13660) 2019-09-04 14:36:26 -07:00
Mikael Mengistu e0ee04237a
SignalR Negotiate protocol versioning (#13389) 2019-09-03 19:53:32 -07:00
Kahbazi 88dbd1cff6 Use Result instead of GetAwaiter().GetResult() (#13614) 2019-09-03 11:14:42 -07:00
Tom Kerkhove 1f6d235a5e Health Checks - EF health check should respect configured failureStatus
Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
2019-09-03 09:45:51 -07:00
dannyBies 026b9df3e0 Added .env files to the react project templates in order to run the CRA server independently. (#13525)
* Add .env file to react projecttemplates in order to run the CRA server independently

* Fix #6837

* Revert "Fix #6837"

This reverts commit 2a035e67774058281c081a37867593e1a45900af.

* Add .env file to react projecttemplates in order to run the CRA server independently

* Fix #6837

* Revert "Fix #6837"

This reverts commit 2a035e67774058281c081a37867593e1a45900af.

* Add newline to end of file
2019-08-30 15:23:32 -07:00
Ben Adams 9399f09b72 BufferSegment use ArrayPool for over-sized allocs (#13495) 2019-08-30 10:31:32 -07:00
Stephen Halter 725fa34cc8
Deflake Kestrel low response rate tests (#13532) 2019-08-29 12:12:28 -07:00
John Luo 806fef3a27
Re-enable framework tests (#13043) 2019-08-28 19:36:53 -07:00
Stafford Williams 35b5f091d8 Crankier: server docs (#13242) 2019-08-28 16:13:43 -07:00
Ryan Brandenburg bcdc9b08df
Merge pull request #12879 from isaac2004/12872-work
Fix ng test issue with Angular Template 12872
2019-08-28 13:54:31 -07:00
Ryan Brandenburg ab02951b37
Merge pull request #12137 from dgaspar/master
Handle chunks containing multiple EOL (#6146)
2019-08-28 11:50:29 -07:00
vperus 7e10a98c4f [mvc] Remove redundant checks (#9279) 2019-08-28 11:20:21 -07:00
Petr Onderka 78e00cfc31 Remove unnecessary tag for Razor Class Library template (#13004) 2019-08-28 11:07:12 -07:00
dotnet-maestro[bot] f676c249d2
[master] Update dependencies from 3 repositories (#12977)
* Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20190807.3

- Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19407.3
- Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19407.3
- dotnet-ef - 5.0.0-alpha1.19407.3
- Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19407.3
- Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19407.3
- Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19407.3
- Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19407.3

Dependency coherency updates

- Microsoft.AspNetCore.Analyzer.Testing - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.BenchmarkRunner.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ActivatorUtilities.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.Memory - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.SqlServer - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Caching.StackExchangeRedis - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.CommandLineUtils.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.AzureKeyVault - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Binder - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.CommandLine - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.EnvironmentVariables - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.FileExtensions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Ini - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Json - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.KeyPerFile - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.UserSecrets - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration.Xml - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Configuration - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DependencyInjection - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.DiagnosticAdapter - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Diagnostics.HealthChecks - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Composite - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Embedded - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileProviders.Physical - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.FileSystemGlobbing - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HashCodeCombiner.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Hosting - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.HostFactoryResolver.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Http - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Localization - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Abstractions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.AzureAppServices - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Configuration - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Console - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Debug - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventSource - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.EventLog - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.TraceSource - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Logging.Testing - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ObjectPool - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.ConfigurationExtensions - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options.DataAnnotations - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Options - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ParameterDefaultValue.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.Primitives - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.TypeNameHelper.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.ValueStopwatch.Sources - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Extensions.WebEncoders - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Internal.Extensions.Refs - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.JSInterop - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Mono.WebAssembly.Interop - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Bcl.AsyncInterfaces - 1.1.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha1.19404.5 (parent: Microsoft.Extensions.Logging)
- Microsoft.Extensions.Logging - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.CSharp - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Win32.Registry - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Win32.SystemEvents - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.ComponentModel.Annotations - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Diagnostics.EventLog - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Drawing.Common - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.IO.Pipelines - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Net.Http.WinHttpHandler - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Net.WebSockets.WebSocketProtocol - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Reflection.Metadata - 1.8.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Runtime.CompilerServices.Unsafe - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Cryptography.Cng - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Cryptography.Pkcs - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Cryptography.Xml - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Permissions - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Security.Principal.Windows - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.ServiceProcess.ServiceController - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Encodings.Web - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Text.Json - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Threading.Channels - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- System.Windows.Extensions - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Microsoft.Extensions.DependencyModel - 5.0.0-alpha1.19404.5 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.App.Ref - 5.0.0-alpha1.19404.5 (parent: Microsoft.Extensions.Logging)
- NETStandard.Library.Ref - 2.1.0-alpha1.19404.5 (parent: Microsoft.Extensions.Logging)
- Microsoft.NETCore.Platforms - 5.0.0-alpha1.19381.2 (parent: Microsoft.NETCore.App.Runtime.win-x64)
- Internal.AspNetCore.Analyzers - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.AspNetCore.Testing - 5.0.0-alpha1.19406.3 (parent: Microsoft.EntityFrameworkCore)
- Microsoft.Net.Compilers.Toolset - 3.3.0-beta3-19406-05 (parent: Microsoft.Extensions.Logging)

* First pass at fixing netcoreapp5.0 errors

* Add NETCoreAppMaximumVersion, remove BundledNETCorePlatformsPackageVersion

* Apply KnownFrameworkReference Workaround

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190808.17

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19408.17
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19408.17
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19408.17
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19408.17

* Update TFMs to 5.0

* Retarget TFMs to netcoreapp5.0

* Change compile items from netcoreapp3.0.cs to netcoreapp5.0.cs

* Rename netcoreapp3.0.cs files to netcoreapp5.0.cs

* Update TargetFrameworks, Conditions

* Fix missed items

* Clean up remaining items in src

* Fix missed merge conflict

* Set TFMNetCoreMajor/MinorVersions to 5.0

* Rename missed .cs file, update ifdefs

* Rename missed .cs file, update ifdefs

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190809.3

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19409.3
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19409.3
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19409.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19409.3

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190810.1

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19410.1
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19410.1
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19410.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19410.1

* Use default value for 5.0 TFM

* NETCOREAPP5_0 -> NETCOREAPP

* attempt to fix npm build

* Update TFM reverted by merge

* Explictly reference netcoreapp5.0 in repotasks.tasks

* Regenerate ref assemblies

* Consolidate FrameworkReference workarounds

* Add workaround back to d.b.t

* Regen ref assemblies

* regen blazor.server.js

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190813.2

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19413.2
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19413.2
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19413.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19413.2

* Update dependencies from https://github.com/aspnet/Blazor build 20190813.1

- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19413.1

* Exclude blazor.server.js from code check

* start fixing tests

* Bump test TFMs to 5.0

* Regen ref assemblies, hardcode TFM in dotnet-watch tests

* Regenerate SpaServices.Extensions.netcoreapp.5.0.cs

* Fix dotnet-watch csproj TFMs

* Fixup 3.0 -> 5.0 files from merge

* Fixup another set of 3.0 -> 5.0 misses

* More 3.0 -> 5,9

* More 3.0 -> 5.0 madness

* Set TargetFramework for test templates

* Disable warning in ApiAuth tests

* Put TFM in right place

* Hardcode TFM

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190814.4

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19414.4
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19414.4
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19414.4
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19414.4

* Regen ref assemblies

* Hardcode TFM for template tests

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190815.9

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19415.9
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19415.9
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19415.9
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19415.9

* Apply AppHostPack/FrameworkRef workaround to dotnet-watch tests

* Set KnownAppHost/KnownFramework after sdk.targets import

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190816.3

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19416.3
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19416.3
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19416.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19416.3

* Update dependencies from https://github.com/aspnet/Blazor build 20190816.2

- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19416.2

* More workaround

* Try workaround for template tests

* Update to 5.0 SDK

* Remove AppHostPack workaround

* Remove more workarounds

* Try updating RazorLangVersion

* Try adding FrameworkReference workaround back

* Remove framework and revert RazorLang to 3.0

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190819.4

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19419.4
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19419.4
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19419.4
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19419.4

* Update dependencies from https://github.com/aspnet/Blazor build 20190819.1

- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19419.1

* Set env var

* Add 1 workaround back for SourceBuild

* Remove workaround from Project Template tests

* Add back maxVersion workaround for sourcebuild

* One more source build workaround

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190821.3

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19421.3
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19421.3
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19421.3
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19421.3

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190822.9

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19422.9
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19422.9
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19422.9
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19422.9

* Remove workaround for Razor 3.0 SDK

* Fix Blazor SDK error in SourceBuild

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190822.15

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19422.15
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19422.15
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19422.15
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19422.15

* Update dependencies from https://github.com/aspnet/Blazor build 20190822.1

- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19422.1

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190824.6

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19424.6
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19424.6
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19424.6
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19424.6

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190825.1

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19425.1
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19425.1
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19425.1
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19425.1

* Rename netcoreapp5.0.cs files to netcoreapp.cs

* Fix inverted condition for Razor projects

* Apply Razor logic consistently

* Catch netcoreapp2.0.cs file in codecheck

* Remove ref:suppressField

* Reenable workarounds for Razor projects

* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190826.2

- Microsoft.NET.Sdk.Razor - 5.0.0-alpha1.19426.2
- Microsoft.CodeAnalysis.Razor - 5.0.0-alpha1.19426.2
- Microsoft.AspNetCore.Razor.Language - 5.0.0-alpha1.19426.2
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 5.0.0-alpha1.19426.2

* Update dependencies from https://github.com/aspnet/Blazor build 20190826.2

- Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19426.2

* React to ref:suppressField breaking changes

* Stop using custom version of SDK in source build

* Remove SourceBuild workarounds

* Skip template tests
2019-08-28 00:21:22 +00:00
Pranav K e9179bacd7
Add Content-Language header in localization middlewware (#13479)
Fixes https://github.com/aspnet/AspNetCore/issues/11923
2019-08-27 13:45:45 -07:00
Mikael Mengistu af0a2048a2
Add some more HandshakeRequest parsing tests (#13397) 2019-08-27 11:51:04 -07:00
vbornand b242d5426e Skip getting AzureAdOptions for not AzureADUi Cookies scheme #13311 (#13327) 2019-08-27 09:39:41 -07:00
Alexej Timonin a2178e5097 Correct capitalization of JavaScript in template site.js files (#13456)
Fixes #10414
2019-08-26 16:43:43 -07:00
mgbbs 90e89e9708 Mgbbs/hidden for checkbox render mode (#13014)
* Added CheckBoxHiddenInputRenderMode to HtmlHelperOptions, ViewContext, and html/tag helpers

Fixes #12833
2019-08-26 16:00:00 -07:00
Ben Adams a88180472d Angular-CSharp template variable naming (#13423) 2019-08-26 12:44:41 -07:00
Luke Latham 460f9b63e9 Drop 'en-us' loc segment from URLs + doc nits (#13410) 2019-08-24 15:13:25 -07:00
alewmt 90231e7290 Fix invalid test (#6654) 2019-08-23 18:32:00 -07:00
Nikolaj Jørgensen 20dd338b79 Use ModelOnly for Validation Summary (#6108)
Previously when Validation Summary used "All", it would append the property-related content to both the summary as well as the property specific span elements (= asp-validation-for="...").

By switching to ModelOnly would only show model-related messages in the summary (such as "Invalid login attempt.") which was most likely the original intention.
2019-08-23 18:30:59 -07:00
John Luo f0029227cf
Skip site extensions builds in PRs (#13352) 2019-08-23 16:03:04 -07:00
Brian Friesen 8b861ea7d7 Add CreateXmlReader overload - adds Type parameter (#13302)
* Add CreateXmlReader overload - adds Type parameter

This change allows inheritors of XmlSerializerInputFormatter to return a different XmlReader depending on the type being serialized. For example, an inheritor could return XSD-validating readers that validate against one schema or another (or perhaps not validate at all), depending on the value of the type parameter.
2019-08-23 15:32:25 -07:00
Mikael Mengistu 5c05b9288a
Fix User Agent on .NET Client (#13298) 2019-08-22 16:45:05 -05:00
Mikael Mengistu e0f95cfa6f
Set the user agent header in the Java client (#13168) 2019-08-21 16:15:39 -05:00
Ben Adams 5b2f3fb5f7 Betterize Hosting Log (#10102)
* Handle encoding
* Encode space only as +
2019-08-19 18:43:59 -07:00
Brennan 8987cca7c9
HubConnection implements IAsyncDisposable (#13179) 2019-08-19 09:36:43 -07:00
David Gardiner 7118601f4c Correct the spelling of 'EnableEndpointRouting'
Fixes #11467
2019-08-17 15:42:24 -07:00
Brennan 7795537181
Use relaxed encoder for Json (#12589) 2019-08-15 16:30:07 -07:00
Stafford Williams 6b4a101ca7 Crankier server (#12406)
* move server into Crankier
* added ConnectionCounter
* allow logging
2019-08-15 16:19:37 -07:00
N. Taylor Mullen 6699353dc6
Merge pull request #13177 from dotnet-maestro-bot/merge/release/3.0-to-master
[automated] Merge branch 'release/3.0' => 'master'
2019-08-15 16:14:18 -07:00
Stephen Halter 72925ecc19
Merge pull request #13079 from aspnet/halter73/13020
Throw NotSupportedException given FileHandleEndPoint
2019-08-15 14:58:49 -07:00
N. Taylor Mullen f890c9104c Improves further on Blazor reconnection experience.
- Expanded `ReconnectDisplay` to have a `rejected` method on it. This is the method that indicates we will never be able to reconnect to the server. By default we provide a nice little message letting users know that reconnection is no longer possible and that a refresh must take place.
- Added a logger to the `DefaultReconnectionDisplay` since part of its job is handling `Retry` clicks which indirectly call `reconnect()`. Therefore, it needed the ability to log information to the console to inform users why certain reconnects were not possible.
- Updated the `UserSpecifiedDisplay` to have a `refused` understanding. Added a new CSS class to represent the `refused` state as well.
- Updated existing tests to abide by the new `ReconnectDisplay` structure
- Added a new test to validate that the `refused``ReconnectDisplay` method results in proper behavior.

#12442
2019-08-15 14:17:35 -07:00
Brennan 3d9311a29f
Remove value span usage (#12990) 2019-08-15 14:09:05 -07:00
Pranav K 4144eeb459
Merge pull request #13169 from dotnet-maestro-bot/merge/release/3.0-to-master
[automated] Merge branch 'release/3.0' => 'master'
2019-08-15 10:44:07 -07:00
Pranav K b2a0b02e35
Update runtime compilation to target CSharpLang v8.0 by default (#13110)
Fixes https://github.com/aspnet/AspNetCore/issues/9129
2019-08-15 09:18:41 -07:00
Justin Kotalik 417cba2d50 Microsoft.AspNetCore.App =>Ref in the platform manifest (#13129) 2019-08-15 08:48:06 -07:00
Brennan 5e575a3e64
Merge pull request #13136 from dotnet-maestro-bot/merge/release/3.0-to-master
[automated] Merge branch 'release/3.0' => 'master'
2019-08-15 08:28:49 -07:00
Justin Kotalik f70eef0db1
I don't know how to write debug asserts (#13134) 2019-08-15 08:27:39 -07:00
N. Taylor Mullen 10452bf783 Improve Blazor reconnection experience.
- Updated text of reconnect dialog to be more clear.
- Added user feedback to the `Retry` event button click. The current flow is `Attempting to reconnect` -> `Failed to reconnect ... [Retry]` -> Click Retry -> `Attempting to reconnect`.
- Found that in cases where the server went away entirely the reconnect event would through unexpectedly preventing the reconnect display from handling a failed reconnect. Added a separate error flow to understand when the server went away/could not start a SignalR connection to.
- Could not find a great way to add tests for this scenario.

Addresses #12442
2019-08-14 16:27:00 -07:00
Ryan Nowak 13fc89ce49 Dispose DI scope with async support in circuit host
Fixes part of #12918

This fixes the part of this issue that we're going to be able to do in
3.0 safely.
2019-08-14 15:24:02 -07:00
N. Taylor Mullen e5a950de97 Re-enable reconnection failed invocation validation test.
- Relaxed the `maxRetries` and `retryIntervalMilliseconds` parameters to enable the test to complete quicker. Couldn't reproduce a failure even as the test is originally on my own Mac.

#12578
2019-08-14 14:47:33 -07:00
Ajay Bhargav Baaskaran c605d6cf63
Don't release SemaphoreSlim when it is canceled (#12818)
* Don't release SemaphoreSlim when it is cancelled

* fixed tests

* Rebased

* Updated ref

* mark test as flaky
2019-08-14 12:40:44 -07:00
Ryan Nowak 1f7d59d8f1 Remove IComponentContext
Fixes part of: #12553

We don't believe that this is needed anymore. We no longer call
OnAfterRender when you're prerendering, so the main use case of this
type is gone.
2019-08-14 12:06:05 -07:00
John Luo 057ec9cfae
Merge pull request #13019 from dotnet-maestro-bot/merge/release/3.0-to-master
[automated] Merge branch 'release/3.0' => 'master'
2019-08-14 11:32:09 -07:00
Pranav K a285e966e3
Mark InteropReliabilityTests flaky again (#13130) 2019-08-14 11:15:17 -07:00
John Luo ed360e171a fix npm flake (#13106) 2019-08-14 07:48:34 -07:00