~FallenParadise~
AspNet.Identity with custom user data
Hi. Im making app that will use aspnet identity and
marten
as event store. How i can move all custom data to another class?
And how to keep changes in sync? for example if UserData
in sync with UserIdentity
? for example when user changes email
1 replies
AspNetCore.Identity with EventSourcing
Hi. Im trying to make identity based on events.
For that im using
Marten
.
Now im looking on how to impliment em.
For now im trying to override store
layer of identity.
Also it seems that event if i can somehow achive it and extract events from TUser
(when user updated) i can't use events for updating. Because there is passed reference to Update
method and then i need somehow to pipe that events from model (or parse em and try to figure out what happens?) and then using reflection reasign all properties.
EFCore and other things can do it automatically.
Should i keep overriding at store
layer or go higher to manager
layer?
Any ideas or examples of event sourcing with identity?2 replies