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
Antiforgery
Azure
Components [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime (#28087) 2020-11-30 03:46:55 +00:00
Configuration.KeyPerFile
DataProtection
DefaultBuilder
Features/JsonPatch
FileProviders
Framework [release/5.0] Update dependencies from dotnet/efcore dotnet/runtime (#28087) 2020-11-30 03:46:55 +00:00
Grpc
HealthChecks
Hosting
Html/Abstractions
Http
Identity Ship the Identity.Specification.Tests package again (#28024) 2020-11-20 15:02:20 -08:00
Installers
JSInterop
Localization
Logging.AzureAppServices
Middleware
MusicStore
Mvc
ObjectPool
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
Servers
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
Tools
WebEncoders
submodules