SleepWellPupper
SleepWellPupper
CC#
Created by santiw01 on 4/29/2025 in #help
✅ Object reference not set to an instance of an object.
Also, like others have said. It seems that your nre is unrelated to the code you have shown so far.
20 replies
CC#
Created by santiw01 on 4/29/2025 in #help
✅ Object reference not set to an instance of an object.
As an aside, I think you have to connection.OpenAsync() before querying.
20 replies
CC#
Created by b on 4/22/2025 in #help
✅ Sending an HTTP GET request with a JSON body and then reading it in the .NET Core Web Server
so https://localhost:5001/Api/User/new
84 replies
CC#
Created by b on 4/22/2025 in #help
✅ Sending an HTTP GET request with a JSON body and then reading it in the .NET Core Web Server
try using https and change the port to what it says in the logs
84 replies
CC#
Created by the1mason on 4/20/2025 in #help
typeof(T).IsAssignableFrom does not work as I expected
I know this unrelated to your question, but important aspect to keep in mind when writing plugin systems via assembly loading is the potential memory leak when not unloading the assembly properly after the plugin is not needed anymore. Also, sandboxing. But that's another issue.
11 replies
CC#
Created by Pastafartian on 4/21/2025 in #help
Struggling with Securing Environment Variables in Deployed Desktop Apps
Is this an internal application only? In that case, could the user logon to an email account locally, storing their credentials on the machine (just like an email client I reckon)? Is the mail account one that the user should not have general (full) access to?
18 replies
CC#
Created by VoidPointer on 4/19/2025 in #help
One IEnumerable with 1 item mysteriously becomes empty after I query a second IEnumerable
Ah, I see. That's good then :)
6 replies
CC#
Created by VoidPointer on 4/19/2025 in #help
One IEnumerable with 1 item mysteriously becomes empty after I query a second IEnumerable
As an aside, It looks like you're opening yourself up for cql injection by using string interpolation here. Is there a way to parmeterize this query?
6 replies
CC#
Created by yeon on 4/16/2025 in #help
Mixing `Volatile` with `Interlocked`
That makes sense, thanks for the explanation!
23 replies
CC#
Created by M. Hammad on 4/15/2025 in #help
ignore this not a help question( gpt prompt that I use)
to hide it
12 replies
CC#
Created by M. Hammad on 4/15/2025 in #help
ignore this not a help question( gpt prompt that I use)
$close
12 replies
CC#
Created by yeon on 4/16/2025 in #help
Mixing `Volatile` with `Interlocked`
Piggybacking off of the question: Does int require a volatile write operation here at all? My understanding is that I would prefer volatile operations to prevent struct tearing, but int is written atomically. Is this correct?
23 replies
CC#
Created by hafthors on 4/13/2025 in #help
Regex Code Analyzer?
but I'm not sure
17 replies
CC#
Created by hafthors on 4/13/2025 in #help
Regex Code Analyzer?
Yeah I think it should be possible to reference an analyzer in netfx 4.7+
17 replies
CC#
Created by Szylek on 4/11/2025 in #help
Linking incremental generator to the consumer project
I'm not sure there is.
10 replies
CC#
Created by Szylek on 4/11/2025 in #help
Linking incremental generator to the consumer project
If you want to improve your debugging experience, add the 'IsRoslynComponent' property to your generator and set it to true.
10 replies
CC#
Created by Szylek on 4/11/2025 in #help
Linking incremental generator to the consumer project
Both project files and the build output of your test project would be useful.
10 replies
CC#
Created by ch0pstix 🥢 on 4/8/2025 in #help
✅ Modern T4 Replacement for Design Time Codegen
Maybe $ig is an option.
6 replies