title: ASP.NET Core 2.1 Identity: How to remove the Default UI razor pages?
body: <p>Expanding the answer in this question:
  <a href="https://stackoverflow.com/questions/50682108/change-routing-in-asp-net-core-identity-ui/50682681">Change routing in ASP.NET Core Identity UI?</a></p>
  
  <blockquote>
    <p>Javier recommends one of the following options when wanting to
    customise the URLs:</p>
    
    <ul>
    <li>Use the scaffolding element of the Default UI and make all necessary    customisations yourself. </li>
    <li>Use a redirection rule that points the old    routes to the new routes.</li>
    <li>Don't use the Default UI at all.</li>
    </ul>
  </blockquote>
  
  <p>From a new ASP.NET Core 2.1 MVC project, with Authentication: Individual User Accounts set, how do you NOT use the Default UI? It seems to be installed by default with Identity Core. </p>
  
  <p><a href="https://i.stack.imgur.com/OXqFk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OXqFk.png" alt="enter image description here"></a></p>
  
  <p>After the project is created, what is the method to remove the Default UI razor pages, and still use Identity Core? </p>
  
  <p>Can I just delete the <code>/Identity/</code> area, and create my own <code>AccountController</code> instead?</p>