like as microsoft document you set static string for value in CascadingValue
But I couldn't do this, and in Visual Studio 2022 and .NET6, I have a syntax error.
CodePudding user response:
Thats because razor syntax is searching a variable called Throwback Thursday.
Try using
<CascadingValue Name="DealName" Value=@("Throwback Thursday")>
</CascadingValue>
This markup will take string value