Carlos Saraiva
Business Logic Problem
My code is big and confusing, I'm trying to implement the command pattern to break it down and I took an example from this site https://refactoring.guru/design-patterns/command/csharp/example#lang-features, maybe a observer pattern would be helpful. There are a lot of repetition and processes that look very similar but the properties or actions are different, any suggestion on how to improve it would be very nice, here is the link for the code I think (I don't really know how this site works): https://paste.mod.gg/kcntijnnthys/2
5 replies
Security regarding JWT .NET 8
I'm using Identity already and the sign up and sign in process are doing fine even with email confirmation, but I'm having trouble figuring out how to manage the tokens, because if the user pass his token to a friend, two people will use the app right?
37 replies