title: Square brackets in the controller Route in ASP.NET Core
body: <p>What do the square brackets in the controller <strong>Route</strong> in ASP.NET Core mean?</p>
  
  <p>E.g. the <strong>Route("[controller]")</strong> here:</p>
  
  <pre><code>    [ApiController]
      [Route("[controller]")]
      public class WeatherForecastController : ControllerBase
      {
          ...
      }
  </code></pre>