u/Flamyngooin r/dotnet • Recommends
Vertical Slice Architecture and shared functionality
Hi all! I started learning and experimenting using Vertical Slice Architecture, and more precisely based on this video:
[video
I have one question, lets say i have this structure features->auth, and there are 2 endpoints for generating JWT tokens for example, GenerateTokenFromGoogle,GenerateTokenFromCredentials etc. etc.
Each of them has some functionality but at the end of the day they create a token so we have a generateJWT method, as each of the features use it...where do i put it.
In a shared folder? Service folder? I thought the VSA should let you omit services, maybe there is some better way i am missing