ASP.NET Identity

前端 未结 4 1339
生来不讨喜
生来不讨喜 2021-02-02 12:44

I\'m currently building a new ASP.NET MVC 5 project which I want to release around September. I need to choose a membership system, but I\'m currently quite confused about which

4条回答
  •  时光说笑
    2021-02-02 13:29

    I would either use the newest version of identity or build your own Account system completely. ASP.NET Identity now uses a GUID ( NVARCHAR(128) - in the db ) for the ID, however you can still use a int if you want to. I know people still using identity 1.0 with no issues I believe they used int for the Id back then.

    Either way an Id shouldnt ever clash whether its a int or a guid. as the above post said you can just Id.ToString();

    Whatever route you take I dont think it will make much of a difference.

提交回复
热议问题