Carlos Saraiva
✅ Trying to create a dockerfile for an API
Yeah, I just want to know how can I pass those ARGs to a file so I can use them in my dockerfile, maybe through a docker compose, but I wanted to run a docker build first and couldn't do it with the env files, only with --build-arg
21 replies
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