I have two data tables as shown below. datatable1: table1_id(PK) DriverID Vehicle 111 Ram00 VRN01 112 Shyam00 V
Previously, to allow for encoded special characters to be passed as part of a URL in a .net framework service, I've added this to the web.config file within the
I am new to Visual Studio and ASP.NET and I am watching a tutorial by Mosh Hamedani on MVC development. The tutorial is a couple of years old, but when he crea
What I have A list of objects with Id, DateStart and DateFinish. [ { Id: 1234567890, DateStart: new DateTime(), DateFinish: new Date
I am about to start development of a software project that should run on Linux and Windows if possible. As I already have some experience with C# I am eager to
I am migrating a web API from .NET Core 2.2 to 3.0 and want to use the new System.Text.Json. When using Newtonsoft I was able to format DateTime using the code
In all of my projects i put this code in top my controllers : [Route("api/[controller]/[action]")] [ApiController] public class ValuesController : ControllerBas
Building a MVC with firebase but prompt this error during runtime.Anyone knows how to solve this?
system.overflow exception: value too small or too large I'm busy with a loan calculator app. In the code below, I'm trying to calculate the loan payment (paymen
Trying to read a CSV file that has empty rows (usually at the end) using CsvHelper.GetRecords<T>(). Without the empty rows this works a treat. However i
I am a very beginner with C#, and I definitely need your help. I am trying to create/Open/Write a .txt file in the External Storage, but I can not set the path
Trying to read a CSV file that has empty rows (usually at the end) using CsvHelper.GetRecords<T>(). Without the empty rows this works a treat. However i
I have the following code and i want to understand what is the difference between those two extension methods. What each one do? services.AddAuthentication (Jw
I'm trying to fetch records form Azure database using Ado.net I used SqlDataReader class for that. Even though the data fetch is successful, I don't know how to
I am receiving on Visual Studio 2019 16.11.6 these suspicious warnings (Version=42.42.42.42) AFTER install Visual Studio 2022. Any idea? Warning CS8032 An insta
I am using a Honeywell Xenon Imaging scanner to capture both images and barcode. I have the barcodes working but am stuck trying to read an image. Using Microso
I'm trying to add attributes to a top-level statements file, and I'm not finding anything about it. Is it possible? For some context: I want to disable a rule o
Im using .net sdk fluent azure API to change slots. I have two slots, prod and maintenance. I use azure queue trigger function to update appsettings, restart fu
So I've been trying to add bits of a value to a MemoryStream but the issue is I have no idea how. I've seen that it's used for performance when it comes to netw
I am trying to create and add a document to GCP Firestore using the .Net library for GCP: Google.Cloud.Firestore.V1 , however, I cannot figure out how to use th