title: WebAPI request query parameter values are null in .netcore
body: <p>I have a REST API controller in  new .NET CORE app.  If I make the following call: <a href="https://localhost/api/search?query=someText" rel="nofollow noreferrer">https://localhost/api/search?query=someText</a>, I am able to execute the code below, so it looks like the routing is correct, however, query.query is always null.  I would expect the value to be "someText".</p>
  
  <p>What is wrong here? </p>
  
  <pre><code>[HttpGet]
  public IActionResult Get([FromQuery]SearchQuery query)
  {
  } 
  
  public class SearchQuery
      {
          [FromQuery(Name = "query")]
          public string query { get; set; }
  
      }
  </code></pre>