title: ASP.NET Core WebAPI 404 error
body: <p>I create a Web Api in asp.net core this the content of Api:</p>
  
  <pre><code> [Route("api/[controller]")]
  public class BlogController : Controller
  {
  
      public IContext _context { get; set; }
      public BlogController(IContext ctx)
      {
          _context = ctx;
      }
  
      [HttpGet]
      [Route("api/Blog/GetAllBlog")]
      public List&lt;Blog&gt; GetAllBlog()
      {
          return _context.Blogs.ToList();
      }
  
  
     }
  </code></pre>
  
  <p>as i know in ASp.net Core (WebApi Template) we don't need any configuration like registration Route, which we need in Asp.net Mvc 5.3 and older.</p>
  
  <p>So when i try to call the <code>GetAllBlog</code> by browser or Postman, by this url <code>http://localhost:14742/api/Blog/GetAllBlog</code> , it gets me <code>404 error</code>, what is problem?</p>