title: ASP.NET Core 2.2 Web API not hitting any of the configured routes, why is that?
body: <p>I have created BaseController that looks like this</p>
  
  <pre><code>`[ApiController]
    public class MoviesPlaceBaseController : ControllerBase
    {
      protected readonly IMoviesPlaceSupervisor _moviesPlaceSupervisor;
  
      public MoviesPlaceBaseController(IMoviesPlaceSupervisor moviesPlaceSupervisor)    
      {
          _moviesPlaceSupervisor = moviesPlaceSupervisor;
      }`
  </code></pre>
  
  <p>In my "PostController" I derive from that base controller class which looks like this </p>
  
  <pre><code>`    [Route("[controller]")]
      [Produces("application/json")]
      public class PostController : MoviesPlaceBaseController
      {
        public PostController(IMoviesPlaceSupervisor supervisor) : base (supervisor){ }
  
          // GET api/post
          [HttpGet]
          [Produces(typeof(List&lt;PostViewModel&gt;))]
          public async Task&lt;ActionResult&lt;List&lt;PostViewModel&gt;&gt;&gt; Get(CancellationToken ct = default(CancellationToken))
          {
            return new ObjectResult(await _moviesPlaceSupervisor.GetAllPostsAsync(ct));
          }`
  </code></pre>
  
  <p>My launchSettings.json I removed the https url and it now looks like this </p>
  
  <pre><code>`"MoviesPlaceAPI": {
        "commandName": "Project",
        "launchBrowser": true,
        "launchUrl": "api/",
        "applicationUrl": "http://localhost:5000",
        "environmentVariables": {
          "ASPNETCORE_ENVIRONMENT": "Development"
        }`
  </code></pre>
  
  <p>my Startup.cs ConfigureServices looks like this </p>
  
  <pre><code>` public void ConfigureServices(IServiceCollection services)
      {
        services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
  
        services.AddConnectionProvider(Configuration)
          .ConfigureSupervisor()
          .AddMiddleware()
          .AddCorsConfiguration()
          .ConfigureRepositories();
      }`
  </code></pre>
  
  <p>When running my application I cannot hit my api/post route. When I put break points in that action and run the app, the breakpoint says its "unverified". I tried doing api/post and api/posts. In the controller class i removed the Route["controller"] with just the name of the controller "post", but same thing. The weird thing is that I can hit api/values just fine, even though that controller no longer exists in my app. I have no idea what is going on, can someone shed some light please.</p>