title: Policy-based authorization vs authorize with role in .Net Core
body: <p>What is the difference between using policy-based authorization and authorize with role, or there is no difference?</p>
  <pre><code>[Authorize(Policy = &quot;RequiredAdminRole&quot;)]
  </code></pre>
  <p>and</p>
  <pre><code>[Authorize(Roles = &quot;Admin&quot;)]
  </code></pre>