© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
52 replies
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
AppDbContext : DbContext
to be an
AppDbContext : IdentityDbContext<MyUser>
AppDbContext : IdentityDbContext<MyUser>
:
- Where would the right place to put identity classes such as
MyUser
MyUser
be? As a feature slice?
- How can I handle the change messages that I'd normally inherit from
BaseEntity
BaseEntity
on my
MyUser
MyUser
class since
MyUser
MyUser
has to inherit from
IdentityUser
IdentityUser
? I don't want to mess up the logic in
EventPublisher
EventPublisher
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

❔ Vertical Slice architecture + gRPC
C#CC# / help
3y ago
✅ Vertical Slice Architecture and Shared Code?
C#CC# / help
11mo ago
Shadow Prop Error with IdentityDbContext
C#CC# / help
2y ago
❔ Architecture
C#CC# / help
4y ago