title: Generating id for Guid-keyed IdentityUser
body: <p>I have modified the default MVC5 template to, rather use than <code>string</code>/<code>nvarchar</code>-keyed users, to use <code>Guid</code>s/<code>uniqueidentifier</code>s. My solution was similar to the one discussed here: <a href="http://blogs.msdn.com/b/webdev/archive/2013/12/20/announcing-preview-of-microsoft-aspnet-identity-2-0-0-alpha1.aspx" rel="nofollow noreferrer">http://blogs.msdn.com/b/webdev/archive/2013/12/20/announcing-preview-of-microsoft-aspnet-identity-2-0-0-alpha1.aspx</a></p>
  <p>I changed the type parameters where applicable, but my first user was generated with an id of 00000000-0000-0000-0000-000000000000. The second user could not be created because its primary key conflicted with that of the first.</p>
  <p>I then changed the applicable type parameters from <code>Guid</code> to <code>int</code>, and then it worked, with user ids starting at 1 and incrementing.</p>
  <p>So how do I get it to work with <code>Guid</code>?</p>
  <p>I just need to hook in somewhere and assign each newly created user a new Guid. Where is the best place to do this? I thought maybe in the ApplicationUser (implements IdentityUser&lt;Guid, ...&gt;) constructor, but I was unsure.</p>