Just tried to use Swashbuckle 5 rc2 + Microsoft OpenAPI implementation but struggling to make sense of how to inject the security requirements using the OpenApi
I want to write tests for uploading of files in ASP.NET Core but can't seem to find a nice way to mock/instantiate an object derived from IFormFile. Any suggest
I am trying to implement an outer join on this kind of query for the p.Person table. How would I do this? This example is taken from http://ashishware.com/DSLi
I have an .NET Core 5 with Angular app and I have my controllers grouped in areas. I made the app using NET Core 1 and have successfully migrated it up to 5 wit
I know about int and long (32-bit and 64-bit numbers), but what are uint and ulong?
Just installed VS 2022 on a machine, after I removed VS 2019 (VM with limited space). VS 2022 installed fine. I can create a .Net 6.0 project and compile it -
I've been having a little weekend project for myselff which involves getting all my ToDo tasks from Outlook, put them in a DataGridView and me being able to edi
I made a face dector in matlab, and I am translating it into c# code, I everything is moslty done. In the main I use System.Drawing.Bitmap b = new Sy
i am currently trying to return a instance of the Iinforcard interface within my "createNewInfocard" function, however i keep running into error CS0266. i am un
I'm attempting to create an update button, that you can press to automatically update a record within a DB. the update button opens a new dialog, which then all
In order to hide the concrete implementation of a class behind an interface, for example for dependency injection, I find it is useful to extract an interface w
I get the following error message when my pipeline is being run: Package AutoMapper.Extensions.Microsoft.DependencyInjection 8.1.1 is not compatible with net60
I've been having a little weekend project for myselff which involves getting all my ToDo tasks from Outlook, put them in a DataGridView and me being able to edi
I would like to know how I can map columns in a database table to the datatable in c# before adding the data to the database. using (SqlBulkCopy s = new SqlBul
I am trying to send mail using gmail, and I am getting an exception that is The SMTP server requires a secure connection or the client was not authenticated. Th
The newly introduced nameof operator is useful in making my code my "typed". Instead of return RedirectToAction("Edit"); we can write return RedirectToAct
I have an update server that sends client updates through TCP port 12000. The sending of a single file is successful only the first time, but after that I get a
How can I delete a current cell in a DataGridView. I am trying the code below, but it is deleting all cells except the current one. private void dgvPurchase_C
I have some doubts over how Enumerators work, and LINQ. Consider these two simple selects: List<Animal> sel = (from animal in Animals
I have a website where I enter the username and password, then I click on the recaptcha field and enter the numbers without any problems but when the login butt