1,623,620 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
78
views
Need help creating a custom ListBox in C# WinForms (Visual Studio 2022) [closed]
I am making a music player in C# WinForms using Visual Studio 2022.
The songs (.mp3 files) get populated into a ListBox, however I want to customize it but got no idea how beyond just changing the ...
0
votes
0
answers
35
views
BootstrapBlazor: Validation error inside a Table always appears on the first row
I am using BootstrapBlazor with a Table component inside a ValidateForm. I am binding the form directly to a List<T>.
Problem: my custom validation logic (IsValid in C#) works correctly and ...
0
votes
0
answers
48
views
Add header parameter to endpoint OpenAPI definition
I have an IBindableFromHttpContext<CurrentLanguage> endpoint parameter that I am parsing from language header.
Problem is that it does not show up on OpenAPI/Swagger as a header parameter field.
...
0
votes
0
answers
18
views
ESSL/device communication SDK not triggering face camera for enrollment on AI FaceMars device
I'm trying to automate face enrollment using ESSL SDK with an AI FaceMars attendance device, but the SDK isn't triggering the device's camera for face capture.
What I'm Trying to Achieve:
...
0
votes
0
answers
63
views
Creating an FPS controller based on Rigidbody
I am trying to make my own FPS controller based on Rigidbody, with "isKinematic" enabled. I am also trying to replicate the same controller mechanics found in games such as Amnesia, Penumbra, Portal, ...
1
vote
1
answer
36
views
Unity 2022 HDRP – Code inside #if GS_ENABLE_HDRP is grayed out in Visual Studio 2022
I’m using Unity 2022 (HDRP project) with Visual Studio 2022.
Visual Studio has Game Development with Unity installed and everything works correctly at runtime, the scene renders fine and I can play ...
1
vote
0
answers
53
views
CollectionView using C# MAUI for Android Not Showing Anything
I am attempting to learn C# MAUI (specifically for Android) however I am currently struggling to get a basic search & collection view working. The goal is to have a page with a search bar where ...
0
votes
0
answers
35
views
Avalonia : problem loading/showing image bindings with observable & dialogs
I'm currently learning the Avalonia framework and getting back into software development after doing game development over the years.
I'm trying to make my Images which is of type ObservableCollection&...
3
votes
0
answers
78
views
Statically generated XML parsing code using `Microsoft.XmlSerializer.Generator` and `sgen` is not called breaking AOT compatibility
I am converting a .NET 9 project to .NET 10 and making it AOT compatible.
One of the things I need to do is make XML parsing AOT compatible, and I am using Microsoft.XmlSerializer.Generator to create ...
0
votes
0
answers
48
views
Unity2D bulletmovement [closed]
I'm new to Unity and C# and tried coding a bullet.
I want to know why this doenst work (all the floats have values and all the GameObjects are assigned to things)
I also feel like this code is very ...
0
votes
0
answers
39
views
FileSystemWatcher fire event randomly [duplicate]
This unit test fails or passes randomly.
[Test]
public void CreateFile_ShouldUpdateTree_Simple()
{
// Arrange
_watcher = new DirectoryTreeWatcher(_testRootPath);
int eventTriggered = 0;
...
0
votes
0
answers
92
views
Custom in-app print queue stops sending data to ESC/POS thermal printer after app is idle [closed]
I have a C# WPF desktop application that uses its own internal print queue (database-backed) to send raw ESC/POS commands directly to a thermal printer.
I do not rely on Windows PrintQueue for job ...
0
votes
1
answer
113
views
Is it possible to display the parameters from the JSON before I use JsonSerializer.Deserialize?
How can I display the function parameters (SessionTicket, Deviceid, Loginemail, Language) in Azure portal when I call my Azure function? I just want to find out if the function parameters are correct ...
0
votes
1
answer
92
views
C# Error CS9293: Cannot use an extension parameter in this context
I'm experimenting with the new C# 14 extension syntax in .NET 10, and I hit an error I can't find documentation for:
public static class Foo
{
extension(int bar)
{
public static int ...
-5
votes
0
answers
97
views
GetStreamAsync CopyTo sometimes returns zero bytes [closed]
I have the following routine that downloads a file from a web server. Sometimes the local file is created, but is zero bytes. I am [almost] certain the remote resource exists.
private static void ...