I'm making some tests with Apache Kafka, RabbitMQ and Apache Pulsar, using C# client libraries. Tonight I started to do some tests with producer of messages for
How do I create multiple constructors for a record type in C#? I created a record type like this: public record Person(int Id, string FirstName, string LastName
I am trying to write an TypeAspect using MetaLama framwerok that will serialize an object to it's string representation when it has a nested list type. Here is
I have started to learn Linq recently. I came across a few inbuild methods like Min() and Max(). The working of these two methods is fine with int[]. But when i
Need to make a request with a local network server. If machine name is known, but not IP address. string serverAddress = "mylocalserver"; System.Net.ServicePoi
I'm trying to run a Entity Framework command in dotnet cli and I'm getting the following error: Access denied for user ''@'fe80::45b2:4add:f2de:ebcf%6' (using
So I found this lift script online, and the answer is probably so obvious and I feel stupid for not seeing this earlier, but right now this script makes the lif
I am trying to throttle an event being triggered by a slider when the value has been changed I would like to throttle to 1 seconds, its Print every second but
I just installed Visual Studio 2019, and I created a Xamarin.Forms project. When I tried to execute it in the android emulator, I get this error : Gravit&eacut
I am making a file transfer program. The user can add as many file transfers (both download/upload), and those will go in FIFO order. The first choice would be
I'm writing Blazor WASM app in .NET 6. The app works as it should in Debug when running from Visual Studio 2022, but when I deploy it as a static site using dot
I am having a microserice architecture with multiple services, each containing their own Database, and a Gateway which is considered as the business logic. Gat
I have a Azure Cosmos DB account with Gremlin API. I'm using Gremlin.Net to query the db. var gremlinServer = new GremlinServer(hostname, port, enableSsl: tru
I have a WMI query that notifies me on USB insertions, but I am trying to group the results of this query so that my handler can operate on a batch of these ins
I am having trouble authenticating my C# service for a remote cluster. Trying to use my svc gets Forbidden, so I am hoping to work around with this. I know that
i have the next problem. When i execute a registry.getvalue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server","InstalledInstances"
While connecting to SQL Server database by attaching to an MDF file, the following error is returned: The database cannot be opened because it
I have a question regarding nullable reference type system available since C# 8. Suppose we have a C# domain model class with a mutable reference type property
I got lot of below logs like below, any one knows the root cause about this? Does this related with below code: // Gets the client IP when hosted in IIS, where
Once a category is selected we hit the button and the name of the category "goes into" this variable called "selected". Now, how to put inside of ElementCategor