I am currently sending emails via Graph API using the following code: var graphClient = GetAuthenticatedGraphClient(); var metadata = JsonSerializer.Deserialize
I had a problem that the AutoMapper worked in .NET5 with in Program.cs -> services.AddAutoMapper(typeof(Startup)); New Blazored WASM PWA do not have a Startu
In .Net5 ILoggerFactory is used as Configure function in Startup.cs as follows : public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILogger
It seems that the default Jason Taylor's clean architecture .net template doesn't allow custom order or filtering. Indeed, the default GetTodosQuery.cs only all
In earlier versions, we had Startup.cs class and we get configuration object as follows in the Startup file. public class Startup { private readonly IHostE
I am working on MAC and dotnet core 3.1, 5.0 and 6.0 versions are installed on my machine. I not able to build Web Application on my machine due to shared error
I've just setup new projects, Pegasus (my main web application) and PegasusEntities (my database objects). My Pegasus start-up code includes the following. buil
I created a new ASP.NET Core Web API with Authentication type "Microsoft identity platform" based on the VS2022 template. On Azure I setup the following with my
I work on a .Net core application and I need to mix windows and anonymous authentication within the same endpoint(s). So the goal is to be able to determine the
OK I´m new to ASP.NET Core 6 and k8s. So far all apps I was hosting (java, js, python) didn't have any issue. Deployment service and ingress were created
I am working on upgrading WPF application which is built using .Net Framework 4.6 to .Net 6. While upgrading a few assemblies, I encountered this strange issue
I have some code from a web app that configures the http client to use a certificate. I relies on IHttpClientBuilder and AddHttpClient. I'd like to use the same
Consider a scenario when you need to write integration tests for the REST API controllers. I use MSTest for this. The logic is following: Create new database, r
Consider a scenario when you need to write integration tests for the REST API controllers. I use MSTest for this. The logic is following: Create new database, r
I've had a solution with a large number of projects in that has built fine since we switched to .NET6 then suddenly I am getting for every project this warning
Im trying to get E2E/UI testing (selenium, playwright) to work with my unit testing framework. The basic idea it to use MSTest and the WebApplicationFactory to
I am initializing a priority queue that stores XY coordinates, prioritized by their euclidian distance from origin. I created a custom Comparer that makes this
Is it possible to use Web Compiler (developed by Mads Kristensen) in a CI pipeline in Azure DevOps? We have the Web Compiler Visual Studio tool installed on our
While using pnp.Framework in .Net 6 environment. I need authenticated client context to get Sharepoint Data but facing 403forbidden while running context.Execut
If I have a .NET Standard 2.0 library project that is being consumed by a .NET 6.0 console project, are there any performance benefits if I also instruct the co