ASP.NET HTML.BeginForm/Url.Action Url points to itself
问题 I facing an issue with the ASP.NET BeginForm helper. I try to create a form that should point to /Project/Delete and I tried the following statemant to reach this target: @using (Html.BeginForm("Delete", "Project")) { } <form action="@Url.Action("Delete", "Project")"></form> But unfortunately both rendered actions points to /Projects/Delete/LocalSqlServer , which is the url of site called in the browser <form action="/Project/Delete/LocalSqlServer" method="post"></form> I really dont know why