We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
What is the benefit of Tag helper over Partial view?
Sorry, something went wrong.
Hope we will discuss this in details after finishing the localization stuff
@thiennn I think using tag helpers over razor syntax make the code more readable. (its not about tag helpers vs partial views)
Consider the following code snippet for rendering partial views using tag helpers instead of razor syntax
<partial name="a" for="model"/>
###OVER
@Html.Partial()
Tag Helpers simplifies the code and makes it more readable while HtmlHelpers (Razor) makes it hard to read and maintain.
Look at the following page to render partial view using both HtmlHelpers nd tag helpers https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/partial-tag-helper?view=aspnetcore-3.1
More about Tag Helpers VS Razor Syntax here: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro?view=aspnetcore-3.1
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: