teslachok
teslachok
CC#
Created by Zoli on 4/10/2025 in #help
Most efficient way to modify json in C#
Also, as people have mentioned before, you should always do async so that you won't run out of threads once 10+ users use your service simultaneously
44 replies
CC#
Created by Zoli on 4/10/2025 in #help
Most efficient way to modify json in C#
There are many good uses for getters/setters, but this one is dubious, since it's overloaded with logic, and it has some DAL code, along with JSON parsing. I'd make this bit more imperative i.e. move it to an orchestrating service and inject that where needed.
44 replies