I am a beginner in C# just recently learning it soon. Whenever I run my Project.cs file, it does not open in an external terminal despite the launch.json file h
I'm trying to have my C# struct match up some complex padding and packing rules. Fields should be aligned on 4 byte boundaries. The entire struct should be a mu
I've a c# dotnet webjob and a simple desktop app. Sending a message apperaes to work only every other time. serviceBusClient = new QueueClient(_conf
In .Net5 ILoggerFactory is used as Configure function in Startup.cs as follows : public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILogger
Content being returned by HttpMessageResponse is blank/empty after being explicitly set I have created a WebApi with the latest .net Framework 4.6.1 and am try
I have developed a chatbot in C# and hosted it on our local server. When I'm trying to connect it remotely with ngrok. I get below error: Failed to spawn ngrok
I'm reading csv files that contain special characters such as the long en dash –, left double quotes “, and right double quotes ” and I can't
My Aggregate is like this: public class Order : AggregateRoot { private readonly List<OrderItem> _items = new(); public DateTime Date { get; set;
I created an add-on for outlook using c#. It is proposed to connect to external Document Management System(DMS) and upload documents/emails into it. And now I w
I updated yesterday from .Net 5 to .Net 6 and now my projects can't start with dotnet run. I then get the error: Building... warn: Microsoft.AspNetCore.Server.K
Suppose I have code that looks like this: public async Task<string> DoSomethingReturnString(int n) { ... } int[] numbers = new int[] { 1, 2 , 3}; Suppo
It is clear how to query an entity and include all the related data; e.g.: using (var context = new BloggingContext()) { var blogs = context.Blogs .
I have a WPF C# application hosted on GitHub attached to Travis. I configured my .travis-ci.yml this way: language: csharp solution: FaceDetection/FaceDetectio
I have 1 main table and 3 tables for ordering the fields in the main table. I return all these tables as lists. The main table structure is like this: Color Ma
So I created a combobox with inside a few binded checkboxes. My xaml looks like this: <ComboBox x:Name="CbSandwichFilling" ItemsSource="{x:Bind SandwichFill
I am trying to map my ProductDto to Product class. I get an error when mapping the string property in ProductDto class to a Brand property in the Product class.
For example I have validator with two validation rules: // Rule 1 RuleFor(o => o.Email).Must((email) => this.GetDataDataFromDB(email) != 0) .WithMess
I was following a tutorial about the basics of making games in Unity. Link to person :https://www.tiktok.com/@individualkex. I came across an issue, when I put
I have a DLL based on netcoreapp3.1. The DLL references the NuGet package Microsoft.Extensions.Configuration.Json version 5.0.0. If I deploy the DLL to another
I'm experiencing a problem when trying to use MultipartFormDataContent with HttpClient with a stream of data. Context I'm trying to upload a large file to ASP.N