I have a asp.net web API application hosted using OWIN. The web API application uses an external library which depends on System.Web and writes its response on
I am trying to develop an desktop application using Avalonia. In my application the main window is the login form, but actually I don't want to always show the
Plan The plan is to disable and subsequently enable a device from inside a windows forms application. To test the first building block of my plan, I open cmd wi
I ahve a .Net Core MVC app that uses DinkToPdf, which wraps libwkhtmltox.dll, to create PDF files from HTML. One of the fonts i am using is a .woff font and thi
I'm always confused on which one of these to pick. As I see it I use Dictionary over List if I want two data types as a Key and Value so I can easily find a val
Occurs when I try to set the identity_insert to ON in the SQL DATAMANAGEMENT STUDIO. The worst is I do not know why should I deal with this value, and I am not
I'm using Web API model binding to parse query parameters from a URL. For example, here is a model class: public class QueryParameters { [Required] pub
I have some code that retrieves numeric data from a source Checkmarx considers untrusted (a file under my control), which at some point I convert to a pair of i
Say that we have the following unit test: [Test] public void OneAndOneTest(int one) { Assert.That(1 + one, Is.EqualTo(2)); } The compiler will accept this
Question: How can I implement a faster thread safe queue to support an object pool when under heavy thread contention? Scenario: My overall final objective is a
I'm making a small program that can send emails and read emails. I can currently send emails however I'm not sure how I can access my inbox using .Net.Mail. Is
I'm using library TheArtOfDev.HtmlRenderer to convert html to image and then send it to printer. The Html I need to convert contains vertical text and rounded
I have an Azure Storage Table and it has 3k+ records. What is the most efficient way to delete all the rows in the table?
I made a simple program download files from my FTP server and usually this works well(I often reboot my laptop if not working and the program runs perfectly) wi
I'm making a small program that can send emails and read emails. I can currently send emails however I'm not sure how I can access my inbox using .Net.Mail. Is
I want to create with Fixture a list of N objects. I know I can do it with: List<Person> persons = new List<Person>(); for (int i = 0; i < num
I have the latest version of SpecFlow installed, and still the feature files display uncoloured, like so... (Not enough rep to insert images) Specflow uncolou
I am using MSBuild to generate my nuget packages. Is there any command I need to set, to allow it to include my .pdb files, for stepping into the source while
I want to export .frx report that designed by FastReport as an pdf or excel file on a c# web form application like code below: public static bool ShowRepor
Is it possible to create a class under test with FakeItEasy, where all dependencies that are declared in the constructor are initialized automatically with fake