ver/dotnet5/authorization-and-authentication-969387" title="Authentication and authorization">Authentication and authorization</a>. It also summarizes the key differences between the 2 approaches.</p>
<blockquote>You can <a href="https://github.com/Blazor-School/authorize-route-view-blazor-server" target="_blank" rel="noopener">download the example</a> code used in this topic on GitHub.</blockquote>
<hr class="my-4" />
<h1>Choosing an approach</h1>
<p><code>AuthorizeRouteView</code> and <code>AuthorizeView<