aspnetcore/src
Javier Calvarro Nelson fc93e595ce
[Blazor] Update template to pass in attribute as boolean (#28285)
Description
We introduced a public property as part of #27907 to enable users to opt-in. Turns out that this caused issues since we didn't update the target pack.

As a result, the Razor compiler treats this new property as a regular HTML attribute (of type string) instead of as a boolean.

In turn this causes the template to error at runtime when the application starts.

Customer Impact
Customers using 5.0.1 won't be able to create and run new blazor apps out of the box. They can fix the template code by preceding the true value in the attribute with @ to force the compiler to interpret it as C#. (Which is the same fix we are applying).

Regression?
Yes, 5.0.0. Users were able to create new blazor templates without this issue.

Risk
Low. We've manually validated the fix against a new project from a 5.0.1 template.
2020-12-01 14:40:10 -08:00
..
Analyzers [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Antiforgery [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Azure [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Components [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime (#28087) 2020-11-30 03:46:55 +00:00
Configuration.KeyPerFile [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
DataProtection [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
DefaultBuilder [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Features/JsonPatch [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
FileProviders [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Framework [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime (#28087) 2020-11-30 03:46:55 +00:00
Grpc
HealthChecks [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Hosting [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Html/Abstractions [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Http [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Identity Ship the Identity.Specification.Tests package again (#28024) 2020-11-20 15:02:20 -08:00
Installers
JSInterop [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Localization [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Logging.AzureAppServices [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Middleware [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
MusicStore
Mvc Fix SignInResult with default scheme (#27531) 2020-11-13 12:02:59 -08:00
ObjectPool [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
ProjectTemplates [Blazor] Update template to pass in attribute as boolean (#28285) 2020-12-01 14:40:10 -08:00
Razor Include .Views.dll from single file in .NET Core 3.1 apps (#27897) 2020-11-19 11:41:00 -08:00
Security [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Servers [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Shared Bump Selenium dependency versions (#27947) (#28001) 2020-11-19 17:24:52 -08:00
SignalR [Java] Don't call onClose when WebSocket connection is not open (#28004) 2020-11-23 11:40:58 -08:00
SiteExtensions Fix API baseline check when building site extensions (#27841) 2020-11-15 01:05:55 +00:00
Testing [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
Tools Prevent dotnet-watch script injection staleness (#27778) 2020-11-13 14:25:47 -08:00
WebEncoders [release/5.0] Update API baseline files (#27653) 2020-11-12 10:28:52 -08:00
submodules