title: How to use a routing url in the anchor tag helper?
body: <p>I am using Razor Pages and have a file &quot;Author.cshtml&quot; inside a catalog /Pages/Author/ with the following content:</p>
  <pre><code>@page &quot;/Author&quot;
  @model MyApplication.Web.Pages.Author.AuthorModel
  
  Lorem ipsum
  </code></pre>
  <p>I set routing as &quot;/Author&quot;.
  The following link doesn't work:</p>
  <pre><code>&lt;a asp-page=&quot;/Author&quot;&gt;Author&lt;/a&gt;
  </code></pre>
  <p>I need to write:</p>
  <pre><code>&lt;a asp-page=&quot;/Author/Author&quot;&gt;Author&lt;/a&gt;
  </code></pre>
  <p>But I want to use: &quot;/Author&quot;, not &quot;/Author/Author&quot; in the anchor tag helper, what should I do?</p>