title: How to create an instance of UserManager in ASP.NET MVC Core 2
body: <p>I am trying to create an instance of UserManager in Mvc Core 2 as I did on ASP.NET MVC 6 with following code:</p>
  
  <pre><code>var UserManager = new UserManager&lt;DbUser&gt;(new UserStore&lt;DbUser&gt;(this) );
  </code></pre>
  
  <p>I receive many errors according to missing parameters, Is there a proper way of getting the instance outside of the controller?</p>