title: asp.net mvc create form without model object
body: <p>I want create form, but fill it via js later, not by asp.net on server-render time.</p>
  
  <p>Is it possible to create form without a model object, only by class metadata?<br>
  For example: when I'm creating editor for field, I use code like <code>@Html.EditorFor(contact =&gt; contact.FirstName)</code> which will try to access the <code>FirstName</code> property and, if there no model <code>@Html.Partial("EditModal", (Contact)null)</code>, it will throw exception saying</p>
  
  <blockquote>
    <p>"The model item passed into the dictionary is of type 'System.Collections.Generic.List'1[Contact]', but this dictionary requires a model item of type 'Contact'."</p>
  </blockquote>