When I attempt to run my .Net Web Application as a Windows Service, it does not start. It works if I just run the executable but mysteriously fails when attempt
I am trying to make the textbox valid when just the user writes 5 digits but the problem is if I for example input (11111) it will be correct, the program will
I'm looking for a way to add comments on record properties, in C# 9 When I try this code : public record Person { /// <summary> /// Gets the first
My Xamarin.UWP suddenly won't load after Visual Studio 2017 15.4. I did update my Xamarin PCL and others. But the UWP Project will not load anymore. I can't g
I want to try net5.0 since it's in rc2, and I've encountered a strange issue. I've created a default WebApi in net5.0. I didn't touch anything, I just clicked r
I am trying to run python script in c# with process. private void RunScript() { ProcessStartInfo processStartInfo = new ProcessStartInfo("python.exe", "c:\\
I am writing a Connection like class around an interop object. In particular, the closing of my connection is asynchronous. The object I am in
I'm using Azure Functions App and c# for coding. I want to clear the cache every 10 minutes for example, if there is a way to do that in the code ?
I'm a bit stuck with the problem of creating a custom adapter for the Visual Studio test explorer. (Btw I'm using VS 2019). I need to create m
If we delay a Task using the Task.Delay method for a very long time, let's say 6 months, and if we assume that the OS does not shutdown or restart during this p
I have around 40 entities and everytime after I compile and run my app it takes almost 10 seconds whenever DbContext is called for the first time. Is there a wa
When Rider detects you are using some version control it will show for example gray triangles next to line numbers in places when some code was removed (within
I want to release a source generator package, and I want to include a private project dependency on the source generator project. For example, assume that my pr
I'm new to programming in general. With another Script i store in the list "spawnPointC" all gameobjects called spawnPointC that appear from spawning other pref
We have a class library that uses the .NET WebBrowser control to authorize access to a third-party API, either with that third-party's oAuth2 Authorization flow
I'm having issues trying to access auth/admin/realms/{realm-name}/users API. I've already tried everything from other questions and answers, but nothing seems t
How do you get Microsof.tML to run on an NVDIA GPU using C#? I followed the instructions https://github.com/dotnet/machinelearning/blob/master/docs/api-referen
I have a requirement to show the static text of my report in different language. Steps that I am following: Create a url with query string parameter with Cultu
After decoding the token generated in another application, I need to check for an expire. I used OnActionExecuting in web app but not working this method in min
I want to read an excel file stored in an Azure Storage container as a Blob using Epplus package in C#. I have tried to do something with this code. string uri