Brainiac V
Brainiac V
CC#
Created by KidKai25 on 3/14/2025 in #help
Should I still learn about best practices when AI could do it?
I would pay nobody with my money that tells me he is too lazy to solve a problem on his own when he can.
37 replies
CC#
Created by KidKai25 on 3/14/2025 in #help
Should I still learn about best practices when AI could do it?
How can you critically review something you weren't able to solve yourself in the first place?
37 replies
CC#
Created by KidKai25 on 3/14/2025 in #help
Should I still learn about best practices when AI could do it?
Wrong question, first you need to define a goal.
37 replies
CC#
Created by KidKai25 on 3/14/2025 in #help
Should I still learn about best practices when AI could do it?
Be mad if that's what you want to be 😄
37 replies
CC#
Created by KidKai25 on 3/14/2025 in #help
Should I still learn about best practices when AI could do it?
Then this question doesn't need an answer anymore
37 replies
CC#
Created by KidKai25 on 3/14/2025 in #help
Should I still learn about best practices when AI could do it?
Learn how LLMs work in the first place
37 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
Third option would be Blazor Server but I wouldn't consider that here if you need more or less a static site.
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
Then you have two choices, MVC which is more boilerplate or Razor pages which is newer and requires typically fewer files and boilerplate.
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
So what kind of app do you want to create at all?
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
A templating engine.
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
what's the purpose?
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
There is no empty project on this list even
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
You talk about opening a project and show us a list from creating projects
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
I don't know what you want, sorry
73 replies
CC#
Created by Biton6The9Gever on 7/15/2024 in #help
✅ ASP.NET open project
There is literally the empty template in the list?
73 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
Then none of the problems above should happen
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
Then modify your data and just call save without async
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
So to solve your problem, let EF Core track your fetched items properly from fetching the data
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
Also don't use SaveChangesAsync as long as you really don't know what the consequences are
44 replies
CC#
Created by Emre on 10/7/2023 in #help
❔ Entity framework, tracking same Id multiple times. Need help
So you can also remove this code:
_mainDbContext.WorkItems.Attach(existingWorkItem);
_mainDbContext.Entry(existingWorkItem).State = EntityState.Modified;
_mainDbContext.WorkItems.Attach(existingWorkItem);
_mainDbContext.Entry(existingWorkItem).State = EntityState.Modified;
44 replies