Getting ready

We will use the following TagHelpers:

  • In the existing Form HTML tag, some TagHelper attributes:
    • asp-controller
    • asp-action
    • asp-route
    • asp-area
    • asp-antiforgery
  • In any existing Form element, some TagHelper attributes:
    • asp-for
    • asp-items
  • Associated with any existing Form element, some TagHelper attributes in order to add validation:
    • asp-validation-summary
    • asp-validation-for

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.