Category "c++sharp"

Change DataGrid column visibility (WPF, MVVM)

I just recently started learning MVVM. I hope that a solution to this problem will come. In my application, the user is authorized in the system, after which a

Delete obsolete reported properties from Azure iot edge module Twin

I am still rather inexperienced to Microsoft Azure iotedge (and stackoverflow - this being my first post) and how module twins work and have an issue regarding

C# cannot use params object[] instead of __arglist

I am trying to call an unmanaged dll. While looking for information about this and trying it, I thought I could use params object[] instead of __arglist , so I

Unity: Assign instance of abstract object in the inspector

In my game, I have a magic system that uses a command-pattern to store the steps. How can I assign an abstract command not derived from MonoBehavior or Scriptab

Synchronous JavaScript calls with CefSharp

I have to modify a project (C#) that uses CefSharp to automate a web task. Each time the code needs to execute a piece of Javascript, it uses: browser.ExecuteSc

Using Xamarin.Forms and C#, how to connect via bluetooth to Arduino and receive message?

I'm looking all over the place, and I can't find a description of how to do this that I understand... I have to make an Android app in Xamarin.Forms, that conne

Unexpected question signs in output of example code from Microsoft's page about IFormatProvider.GetFormat(Type)

I was reading about the IFormatProvider.GetFormat(Type) method on Microsoft.com, and decided to run the example code provided on the page. Instead of this outpu

How do I change the date format when editing a date in a WPF Datagrid

Whenever I change a date in my WPF datagrid, it try's to convert my input to MM-dd-yyyy. XAML <Grid> <DataGrid x:Name="datagrid" AutoGenera

Hot Chocolate GraphQL SyntaxNode

In the Hot Chocolate GraphQL, OnError method, i can see(in VS watch during debug) the SyntaxNode which show me the request body.how i get it value. because it i

Nothing happens when I RIGHT click the Tree Node on the TreeView (Windows Form)

I am trying to create a new node when I right click on the treenode. private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { i

EFCore migration issue with Azure Function App built using Clean Architecture

I have created an Azure Function App using .Net Core with Clean Architecture as defined here: This is how my Project Structure looks like: The Entity Framework

Move Zip file from Local system to Remote server system(Static IP IIS server)

I am dynamically creating dot net c# console application on my local system (i'm using - this code sourcePath = @"D:\temp\DirectoryToZip.zip"; destFile="@"\19

HTTP Endpoint not working with Elsa ERR_CONNECTION_REFUSED

I tried creating a web app in .Net standard 6.0 and added a simple workflow for HTTP Endpoint requests & responses. but the server URL returning ERR_CONNECT

C# Autofac ParameterFilterAttribute hangs when using Task.Run()

I have 3 classes: Apple1, Apple2, and Apple3. Apple2 depends on Apple1 and Apple3 depends on Apple2 like follows. public class Apple1 { } public class Apple2 {

Get Form1 properties from class

I want to be able to get Form1 properties from within a class. Properties such as Width, Left, WindowState, and so on. So that I can then do this in the class:

EF Core upsert child entities upon parent entity save

I have a DDD aggregate with User as root and Appointment as the child records. I want, when I save a User in my repository, the existing child appointments of t

c# riot RSO multifactor authentication

I'm following the authentication flow here, which works perfectly, but it doesn't include doing multifactor authentication, which riot added recently using

Do I need to add or rule or add Redis to VNet in Azure?

I enabled VNet integration on an Azure App Service and now when I attempt to connect to Redis, I receive this error message. However, I can connect without issu

Syncfunsio xslio exports null instead of blank in excel in C#

I am using Syncfusion library to generate an excel report. I referred syncfusion to generate the report using template makers. The data is correctly exported in

Best way to store RSA key and use it in .Net core(looking for a cross-platform solution)

I'm currently using this link to store my RSA key in windows Key Container (machine-level) and it works fine, but I'm looking for a way that works for both Linu