title: ASP.NET Framework form post request and action link tag
body: <p>I am in the middle of migrating my ASP.NET core app to ASP.NET framework 471 and I am facing a couple of issues:</p>
  
  <p>1) <code>.cshtml</code> form template</p>
  
  <p>ASP.NET Core form page looked like (It was working fine) and calling the <code>Login</code> action in the controller</p>
  
  <pre><code>&lt;form asp-controller="Home" asp-action="Login" method="post"&gt;
      &lt;input type="text" name="Username" placeholder="Enter your username"&gt;
      &lt;input type="password" name="Password" placeholder="Enter your password"&gt;
      &lt;button type="submit"&gt;Log In&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>However, after migrating to .NET Framework upon clicking the submit button it does not call the <code>Login</code> action controller and no post request is submitted.</p>
  
  <p>2) Using <code>@Html.ActionLink</code></p>
  
  <p>The following code was working fine in the Core app</p>
  
  <pre><code>&lt;ul class="br-sideleft-menu"&gt;
      &lt;li class="br-menu-item"&gt;
          &lt;a class="br-menu-link" asp-area="" asp-controller="Home" asp-action="Dashboard"&gt;
              &lt;i class="menu-item-icon icon ion-ios-home-outline tx-20"&gt;&lt;/i&gt;
              &lt;span class="menu-item-label"&gt;Dashboard&lt;/span&gt;
          &lt;/a&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>However, the link is not working (not even clickable) when migrating to the framework application.</p>
  
  <p>I am aware that I need to utilize <code>@Html.ActionLink</code> component, but I am not sure how to template the above code so that it will include all the tags and classes.</p>