title: .NET MVC: how to get the model binder to assign null to a list property?
body: <p>I have a model like so:</p>
  
  <pre><code>class Model {
      public IList&lt;Item&gt; Items { get; set; }
  }
  
  class Item { public int Id { get; set; } }
  </code></pre>
  
  <p>I am sending a request to an action method that takes a Model as a parameter. The request contains the following key-value pair: "<code>Items=" (i. e.</code> <code>Items=null</code>). The default model binder sets Items to be a list of 1 <code>null</code> item, where I want the list property itself to be <code>null</code> (or at least empty).</p>
  
  <p>Is there any way to accomplish this?</p>
  
  <p>Obviously, I could do some sort of custom model binding, but I'd prefer a solution that would work using the default model binder (perhaps modifying the formatting of the request).</p>