Category "c++sharp"

Make lift go up?

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

How to throttle events RX?

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

Error XAAAS7001: System.NullReferenceException

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

ObservableCollection / Queue

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

Blazor Cannot provide a value for property 'ScopeFactory' on type 'MyComponent' because the property has no setter

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

Microservice architecture Database rollback

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

Is it possible to create a new Gremlin Graph DB and Graph using c# code

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

Trying to group __InstanceCreationEvents from WMI Query -

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

Can you use C# Kubernetes inClusterConfig for a remote Cluster?

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

Registry.GetValue goes to another path (C#) [duplicate]

i have the next problem. When i execute a registry.getvalue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server","InstalledInstances"

How to deal with SQL server error: The database cannot be opened because it is version 904. This server supports version 852 and earlier [closed]

While connecting to SQL Server database by attaching to an MDF file, the following error is returned: The database cannot be opened because it

Avoid CS8618 warning when initializing mutable non nullable property with argument validation

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

Owin: Exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.Net.HttpListenerRequest'

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

Matching elements by their category

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

return in if statement throws conversion error

I will apologize in advance for the long post. Just trying to give you all the information I have. I have an if statement in a method that looks like this: var

Using eShopOnContainers .NET microservices architecture - Use AD B2C instead of IdentityServer4 for microservice authentication

I have downloaded eShopOnContainers that is a .NET Microservices Sample Reference Application for microservices architecture and Docker containers. https://gith

The entity type 'Access' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey()'

i have this ValueObject : public class Access : ValueObject<Access> { public string ControllName { get; set; } public string ActionName { get;

Outlook doesn't show date on the preview when eml is converted to msg using msgkit

i tried converting the .eml to .msg in c# using msgkit so my .eml file looks like this Date: Thu, 30 Jan 2020 12:09:26 +0530 its a simple .eml file i tried c

Azure Web App Service has Steady CPU Time Increase

I have what is essentially a flashcard web app, hosted on the free version of Azure and coded in ASP.NET (C#). It is used by a small amount of people (40 or so)

How to check if a property is $select-ed?

I am building an OData web API, and I am trying to implement this function to determine whether a given property should be included in a GET response based on t