Per @lonix1 on original issue #28245 ...
In this section it says:
For two-way data binding in ASP.NET Core 7.0 or later, we recommend using @Bind:get/@Bind:set modifiers. For more information, see the @Bind:get/@Bind:set in the opening section of this article.
But it doesn't say why? I assume that the new v7 syntax allows one to perform a "set" with an async method, which cannot be done using a regular c# (sync) property setter. That is useful, for e.g., when doing autocomplete. Maybe there are other reasons?
Cross-references:
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
Per @lonix1 on original issue #28245 ...
In this section it says:
But it doesn't say why? I assume that the new v7 syntax allows one to perform a "set" with an async method, which cannot be done using a regular c# (sync) property setter. That is useful, for e.g., when doing autocomplete. Maybe there are other reasons?
Cross-references:
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.