All examples I've seen by now for ASP.NET Identity 3.0 use Entity Framework to store user-related data.
Are there any example which does not use Entity Framework and where ApplicationUser
class is not derived from Microsoft.AspNet.Identity.EntityFramework.IdentityUser
?
In ASP.NET Identity 2.x it was needed to implement IUser
interface. It seems there is not such interface now - so we're not sure how to define User
class correctly. There is almost no documentation on this subject.
Second problem is with AddIdentity
call in Startup.ConfigureServices
. It's pretty tied to the particular classes from Microsoft.AspNet.Identity.EntityFramework
namespace and it's unclear how to register identity services without those classes.