title: Asp.Net Core WEB API error 404 calling method
body: <p>I'm trying create an additional Get method on a web api but the return is 404 ( method not found ).</p>
  
  <p>At my APIs before Core I was creating such methods like : </p>
  
  <pre><code>[HttpGet]
  [Route("api/MyNewMethodName")]
  public object MyNewMethodName(string parameter1)
  {}
  </code></pre>
  
  <p>And for call : </p>
  
  <pre><code>myURL/api/MyNewMethodName?parameter1=somestring
  </code></pre>
  
  <p>At my controller definition I have : </p>
  
  <pre><code>[Produces("application/json")]
  [Route("api/MyController")]
  public class MyController : Controller
  </code></pre>
  
  <p>For the exactly some code I receive the 404 error.</p>
  
  <p>What is wrong please ? </p>