title: Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
body: <p>Why by default were these changed when adding a new &quot;edit&quot; view? What are advantages when using <code>EditorFor()</code> vs. <code>TextboxFor()</code>?</p>
  <p>I found this</p>
  <blockquote>
  <p>By default, the Create and Edit  scaffolds now use the Html.EditorFor  helper instead of the Html.TextBoxFor helper. This improves support for  metadata on the model in the form of
  data annotation attributes when the  Add View dialog box generates a view.</p>
  </blockquote>
  <p><a href="https://docs.microsoft.com/en-us/aspnet/mvc/mvc3#template-scaffolding-improvements" rel="nofollow noreferrer">Quoted from here.</a></p>