Elianora
Vertical Slice Architecture and adding IdentityDbContext<TUser>
https://github.com/elianora/VerticalSliceTodo/tree/feature/initial-server
I'm following along with the vertical slice architecture template and I have a few questions about changing the
AppDbContext : DbContext
to be an AppDbContext : IdentityDbContext<MyUser>
:
- Where would the right place to put identity classes such as MyUser
be? As a feature slice?
- How can I handle the change messages that I'd normally inherit from BaseEntity
on my MyUser
class since MyUser
has to inherit from IdentityUser
? I don't want to mess up the logic in EventPublisher
53 replies