You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
The typical flow for a Razor developer is to write @Foo when they want to switch from HTML to C# code. Now that we're dealing with HTML attributes that could potentially be projected into a C# context we need to consider the impact.
Do we ignore @ symbols in C# projected HTML attributes?
@{
myAge = "3";
}
<currentAge age="@myAge" />
<currentAge age="myAge" /> @* This has equivalent output to the line above *@
<currentAge age="3" /> @* This has equivalent output to the line above *@