The asp-action attribute in a Razor form specifies the _________ to which the form will be submitted.

  • Action Method
  • URL
  • Controller
  • View
The asp-action attribute in a Razor form specifies the Action Method to which the form will be submitted. This attribute defines the method in the controller that will handle the form submission. It's an essential part of creating interactive web forms in ASP.NET Core.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *