Is there a way to send log messages to the local syslog service on centos 7 within a c# program? In python there is the syslog library but with c# the only way
Following problem: I want to start the cmd as administrator in C# with a process to get the UAC befor the code: var process = new Process(); var ps= new Process
e.g. Here in this example, if I want to start thread on method M1 this way, Purpose is I need to call M2, M3 on same thread method to avoid repeated code. Is th
Currently I'm trying to databind object properties to a datagridview. The thing is that the datagridview should have a combobox column, where the user has to ch
Using ASP.NET Framework 4.7.1, I am trying to compress a file but Visual Studio is showing that ZipArchiveEntry does not contain the definition of ExtractToFile
I am working on finding/listing critical path and alternate paths of a road navigation data in a C# winforms app. This is the first time I work on a navigation
I'm trying to add and delete claims (roles in this case) dynamically after a successful login using Identity 2 in Asp.Net 4.5.2. My application has an authentic
I am trying to modify the response when serialized. TimeJoined is returned as a string in format hh:mm (GMT +_) and I want to modify as a 24h format, in the ins
I have a List<Car> objects that have a bool property named Marked. I want to check / uncheck the Cell corresponding to this property, in a way that only o
I'm trying to use Polly as retry policy handler for grpc in my .net core 6 project. I noticed that the retryFunc is never invoked. I started from this project g
I'm currently dealing with a queue that has a couple thousand entries in it. To save on RAM usage I'm currently using the TrimExcess() method built in to the qu
I'm trying to write a custom policy for an ASP.NET Core 3.1 web application, using a custom Identity storage provider. I've tried to wrap my head around the fa
I'm using EF core TPH inheritance to model some data and I'm trying to write a query that will query across different subtypes. My current attempt at writing a
I have to parse a TSV file which has the following structure: [Secti "1 2" "2 3"his?
I am currently struggling with automapper.10.1.1 config. I have following types: class Response { List<Assignment> Assignments { get; } List<Pr
According to Microsoft's recommendation, throwing and catching should not be used for the normal logic of the program. Minimize exceptions As part of a ASP.Net
I would like to make pages for UserControl but I don't know how I can do this. How can I implement this as in the picture in WinForms? I would like to display a
My main problem is that it doesn't display the line between the 2 markers when I click on the display button.It should draw my route between the first pin and t
anyone havean idea how can i generate a key for aes encryption in dart from iv and password? like this code written in C#: var spec = new Rfc2898DeriveBytes(En
I'm using MouseMove, MouseUp, MouseDown events to move a borderless form (as found here as an example). It works great, but for a ListView, it only works if I c