Schreck
Schreck
CC#
Created by Micah_Tech on 10/17/2024 in #help
Number of projects in Visual studio
Just wanted to mention that, neither mentioning it to be dump or smart
14 replies
CC#
Created by Micah_Tech on 10/17/2024 in #help
Number of projects in Visual studio
Some companies drive a monorepo project structure. All projects are placed in one solution.
14 replies
CC#
Created by kit666 on 10/17/2024 in #help
[WinForms] Need ideas/help where to start..
Without going too much into detail for authentication and stuff, I would recommend a little database (sqlite, even simple json files should do it) holding a table for users and another for sessions. The sessions should at least have a session id, user id or user name, start timestamp and stopp timestamp. If the client logs in, a new entry is being created. If the user logs out, the information is being updated. For the Server dashboard, a view can be created, containing the informations mentioned in the task. How many time you have for solving this task / project? At first sight, it sounds quite hard for you.
8 replies
CC#
Created by Cruel on 9/4/2024 in #help
Question about IIS /API Issue
Did you have another service, coming to the controller by DI, which crashed? How is the scope of the controller and the corresponding service? Maybe you have initialized the underlying service as singleton, while controllers in normal cases are registered in scoped way. So the other endpoints just worked fine because of the new scope and so on.
95 replies
CC#
Created by Raki on 8/7/2024 in #help
Is there a way I can improve this code? I feel its kind of hard to understand
You only can use .Include of you have navigation properties, correct? Anyway, do you need this query in various situations? Linq is Linq, there is nothing much against it. Maybe create a real view on the database, but that is just another facade.
3 replies
CC#
Created by amiru on 7/31/2024 in #help
Visual Studio Debugger Breakpoint Not Working / Not Stopped
How did you make the request to your controller?
6 replies
CC#
Created by Gipper on 7/27/2024 in #help
How can I have a key-value data structure that allows duplicate keys?
A key-value list with duplicate keys does not make sense to me. If you need it, just make a list. What advantages do you see in a key value list if you have duplicates?
18 replies