I'm trying to find an entity but I get a SqlNullValueException when entity framework is trying to get the value of a field that's Null. I checked in the databa
I have to consume some service on ESB which has addresses: for dev env: http://esbdev.com:11111/ws/ir.channel.aaa.pub.ws:ConsumeMeV1 for test env: https://esbte
In my c# app there is some button, when the user clicks on this button the app runs a powershell script. a window of powershell pops out and the user see the r
C# 7.2 added two new features: In Parameters Using in for a parameter let's us pass by reference, but then prevents us from assigning a value to it. However the
I wanted to load a user control to a panel with a button, but when I tried this code it shows nothing. I wonder if there is a solution for my problem because I'
According to this developer blog post Durable functions can be configured (and according the the host.json schema are configured by default) to automatically cr
I apologize for sounding dense, but I swear I have read up on async/await and played with examples, but I am still stumped at simple things like why the followi
When I iterate through all Outlook folders (in a C# Add-In) I see folder names like: Yammer Root Sync Issues Subscriptions These folders are not visible in Out
In the ARCore tutorial, recognizing a plane and touching it creates an object on the screen. But I want to create an object as soon as I know the plane. The al
Below is an example code for CreateHostBuilder. Asp.net core host takes care of resolving dependency through constructor and middleware. If we want to resolve
I have a C# Winforms project in which I have to capture an image from an external webcam (Logitech HD Pro C920). I am using the Aforge media library. The list o
So we have this really odd issue. Our application is a C#/WinForms app. In our 6.0 release, our application is not DPI aware. In our 6.1 relea
I`ve been trying to make a unit test in my project following this tutorial: https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-
I know there are question and answers with that particular problem here on so, but my problem is little unique (I guess). Here is my model class: public class
This following code is supposed to detect all PictureBoxes in the Controls property, and apply collisions to it. (This is in Windows Form for a CompSci final pr
Ok, so I have a CollectionView bound to a collection of 'Show' objects. There's a fair bit going on with this CollectionView. I have a command for when a user s
I wonder how to force a .NET application targeting .NET Framework 4.8 to use TLS 1.2 or later (including future TLS versions). The application execute as a Wind
I want to create a Max Flow - Min Cost program in C# -Visual studio. I'm using this Guide , but I get error at this line MinCostFlow minCostFlow = new MinCostFl
I want users to navigate back to the same page after the button is clicked on the page. If the user URL is https://localhost:xxx/Inventories/Index/38?custID=38&
I want to import functions from a different namespace in an external file into my c sharp project. But what's the right method to do it. I copied the .cs file w