Keswiik
Keswiik
CC#
Created by Daiko Games on 1/26/2025 in #help
Svg to png conversion
https://github.com/svg-net/SVG could give this library a try
24 replies
CC#
Created by Jacko on 1/24/2025 in #help
Restrict loaded assemblies:
doesn't seem like there's an equivalent for modern .net :Smoge:
11 replies
CC#
Created by Jacko on 1/24/2025 in #help
Restrict loaded assemblies:
ya i finally found an msdn page with some info, looks like it's unsupported for .net core / .net
11 replies
CC#
Created by Jacko on 1/24/2025 in #help
Restrict loaded assemblies:
Not sure if CAS is still supported in newer .net versions
11 replies
CC#
Created by Kiel on 1/24/2025 in #help
Enabling debug/trace logging only for certain parts of code as needed?
8 replies
CC#
Created by CurseOfLife on 1/24/2025 in #help
Cant debug or see tests when using vscode in wsl with docker and xunit
https://github.com/microsoft/vscode-dotnettools/issues/307 might give this a read, looks like there are a few suggestions to try
15 replies
CC#
Created by CurseOfLife on 1/24/2025 in #help
Cant debug or see tests when using vscode in wsl with docker and xunit
do you have the C# dev kit extension installed?
15 replies
CC#
Created by Harry on 1/24/2025 in #help
Entity Framework Tracking not making changes to db
my guess is business layer -> repo with tracking, maybe dbcontext isn't disposed of so it doesn't get GC'd business layer does shit with models business layer -> repo to save, attempt to track them with a new dbcontext blow up because first context is still floating around and tracking them
14 replies
CC#
Created by Harry on 1/24/2025 in #help
Entity Framework Tracking not making changes to db
my best guess is that your repo is creating a new dbcontext for each call or something
14 replies
CC#
Created by Harry on 1/24/2025 in #help
Entity Framework Tracking not making changes to db
$code
14 replies
CC#
Created by Harry on 1/24/2025 in #help
Entity Framework Tracking not making changes to db
show code
14 replies
CC#
Created by Core on 1/23/2025 in #help
✅ Proper way of using EF DbContext in a BackgroundService
All that means is "Use DBContextFactory if what you're injecting it into doesn't match the expected lifetime of a DBContext, but you have to dispose of it yourself"
10 replies
CC#
Created by Core on 1/23/2025 in #help
✅ Proper way of using EF DbContext in a BackgroundService
Then you're misunderstanding what it's saying
10 replies
CC#
Created by Core on 1/23/2025 in #help
✅ Proper way of using EF DbContext in a BackgroundService
Where? Because all I see is
Some application types (e.g. ASP.NET Core Blazor) use dependency injection but do not create a service scope that aligns with the desired DbContext lifetime.
10 replies
CC#
Created by Core on 1/23/2025 in #help
✅ Proper way of using EF DbContext in a BackgroundService
10 replies
CC#
Created by 77_105_114_111 on 1/16/2025 in #help
✅ Ignore case sensitive string in array.
show code with what you're trying to do
14 replies
CC#
Created by 77_105_114_111 on 1/16/2025 in #help
✅ Ignore case sensitive string in array.
wut
14 replies
CC#
Created by 77_105_114_111 on 1/16/2025 in #help
✅ Ignore case sensitive string in array.
14 replies
CC#
Created by 77_105_114_111 on 1/16/2025 in #help
✅ Ignore case sensitive string in array.
yeah, use the ignore case options when checking if strings are equal
14 replies