c# - Integer for Id rather than GUID when using ASP.NET Identity w/ a custom data store -


i aware when using asp.net identity w/ entity framework following tell identity user class using int instead of guid id

public class user : identityuser<int> 

however, since not using entityframework class declaration this:

public class user : iidentity {     public virtual guid id { get; set; } = guid.newguid();     public virtual string username { get; set; }     public virtual string email { get; set; }     public virtual bool emailconfirmed { get; set; }     public virtual string passwordhash { get; set; }     public string normalizedusername { get; internal set; }     public string authenticationtype { get; set; }     public bool isauthenticated { get; set; }     public string name { get; set; } } 

can change guid int without running issues or have implement identityuser still? identityuser part of identity.entityframework package no longer installed in application.


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

node.js - Node js - Trying to send POST request, but it is not loading javascript content -