How do I set this environment variable when I run a .NET 6.0 docker file? I have a docker image based off aspnet6.0 Docker file. By default the environment vari
I am migrating drom Identity Server to Duende Identity Server and using .net 6 core project and I'm getting the following error in the startup on builder.build(
I have implemented CSP and CORS when doing so my external script is not rendering on the page. builder.Services.AddCors(options => { options.AddPolicy(name:
I have implemented CSP and CORS when doing so my external script is not rendering on the page. builder.Services.AddCors(options => { options.AddPolicy(name:
I have large number of files in a file share directory. Some of the files have their first part of the names are similar. I have to copy these files to another
I've been having trouble getting WebMail to work sending an email using a contact form using This Official Microsoft Tutorial. My current issue is that I'm get
I used to use .NET core 5, but now I'm trying to use .NET core 6, it seems the old Startup.cs is mixed now with Program.cs. The thing is that I'm trying to add
When I try to run app with Google.Ads.GoogleAds nuget package on MacOS with M1 silicon I get the following error : Unhandled exception. System.IO.FileNotFoundE
When I attempt to run my .Net Web Application as a Windows Service, it does not start. It works if I just run the executable but mysteriously fails when attempt
I have been trying to set up an ASP.NET Core + React (TypeScript) web app project in Visual Studio 2022, but couldn't succeed in doing so. There are no proper s
The .Net 6 have removed the Start up Class and i am not able to find out how to configure Ocelot in new .Net 6 structure. I have found two methos using Ocelot.
How to configure AutoMapper in ASP.Net Core 6 I have a project which is written in .Net 3.1 so we had Startup.cs class. I am migrating it to .net core 6 now whe
I have a Blazor WebAssembly application that works fine when debugging, but throws an exception when running on IIS (Published): blazor.webassembly.js:1 crit: M
I have upgraded API project from .NET 5 to .NET 6 successfully and running fine when executed locally (without Docker). I have also updated the version in Docke
I'm in .NET 6, I implemented a custom ILogger<TService> (of Microsoft.Extensions.Logging). Usually, when I implement a logger, I also get the caller metho
I'm trying to send a form with Angular to a controller that contains json and a file. [HttpPost("Save", Name = "SaveReportRequest")] public ActionResult<Repo
We are using AzureCLI to be able to call an Azure Function endpoint upon a successful deployment. The call to get token works and the call to our azure functio
I'm using Asp.Net Core Web Api 6 I'm facing an error when migrating my DbContext and when updating the database The Error [17:07:29 INF] Application Is Starting
We have an ASP.NET Web API project that gets data from Java service that lives in Web Sphere and is exposed as a WCF service. After conversion to .NET 6.0, the
In ASP.NET Core 5 I had a custom Action Result as follows: public class ErrorResult : ActionResult { private readonly IList<Error> _errors; public E