Carlos Saraiva
Carlos Saraiva
CC#
Created by Carlos Saraiva on 1/10/2025 in #help
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
CC#
Created by Carlos Saraiva on 12/4/2024 in #help
Multi Tenant architecture with Docker .NET 8
sorry, forgot to mention that I'm using MongoDB and the MongoDB.Driver lib, but thank you, I'll get eight into it.
3 replies
CC#
Created by Carlos Saraiva on 11/27/2024 in #help
Security regarding JWT .NET 8
thank you for the help, I'm going to try it
37 replies
CC#
Created by Carlos Saraiva on 11/27/2024 in #help
Security regarding JWT .NET 8
do you know any youtube videos or playlists where I can learn how to handle jwt with identity? or any source of information would be good
37 replies
CC#
Created by Carlos Saraiva on 11/27/2024 in #help
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
CC#
Created by Carlos Saraiva on 11/27/2024 in #help
Security regarding JWT .NET 8
Thank you very much, I'll study about it and try to implement.
37 replies
CC#
Created by Carlos Saraiva on 11/27/2024 in #help
Security regarding JWT .NET 8
But if the token is compromised and two people have the token, how can I know which one to refresh the token and make the other one invalid? (I'm a begginer, I don't really know if I'm asking a dumb question)
37 replies