title: How to get the Asp.Net Core routing engine to strictly respect the route specified?
body: <p><strong>Background</strong><br>
  For SEO purposes it's important that there not be two urls for the same page, otherwise Google will see one of the pages as having "duplicate content" and this will result in google reducing the page's ranking in the search engine results.</p>
  
  <p><strong>Issue</strong><br>
  In Asp.Net Core, when using attribute based routine like so:</p>
  
  <pre><code> public class ExampleController: Controller {
  
      [HttpGet]
      [Route("/example/")]
      public IActionResult Index() {
          return View();
      }     
  
  } 
  </code></pre>
  
  <p>This route returns the index.cshtml page in response to url requests for both <code>/example/</code> <strong>AND</strong> <code>/example</code>.  However, I only want this to respond to the route that I explicitly specified, i.e. <code>/example/</code>.   If a request comes in for <code>/example</code> I don't want this action method to respond, the system should 404 instead.</p>
  
  <p><strong>Question</strong><br>
  What do I need to do at a global level to force the routing engine to strictly respect the route specified?</p>