title: Asp.Net core modelbinder null value when POST
body: <p>I have my action in Controller:</p>
  
  <pre><code>[HttpPost]
  public JsonResult SignUp(DTOUser dtoUser)
  {
      return Json(new string[] { "value1", "value2" } );          
  }
  </code></pre>
  
  <p>and I have my formatters configured in <code>Startup.cs</code></p>
  
  <pre><code> services.AddMvcCore(options =&gt; {
                  options.InputFormatters.Insert(0, new JilInputFormatter());
                  options.OutputFormatters.Insert(0, new JilOutputFormatter());
              });
  </code></pre>
  
  <p>The problem here is my <code>dtoUser</code> has all variables <code>null</code> until I specify <code>[FromBody]</code></p>
  
  <p>Why do I have to specify <code>FromBody</code> everytime. This was never required in Asp.Net 4 older version.</p>
  
  <p>How can I get around this issue. It's just an added overhead of adding FromBody to 100s of actions in my project that I will be developing. Any global place where I can add this thing to keep it happy?</p>
  
  <p>Thanks!</p>