I have this code that checks the references of two variables, I came across this case which is a bit confusing : string first = "10"; object second = 10.ToStrin
Good afternoon community. I present my case and then I ask the question. In ocelot.json I have the corresponding configuration to consume the microservice meth
I am trying out the new MassTransit IJobConsumer implementation, and although I've tried to follow the documentation, the JobConsumer I have written is never be
.NET 6 offers boilerplate-removal in console applications Startup class. I try to run this simple test code: Console.WriteLine("Hello, World!"); static void Te
I have this line in program.cs builder.Services.AddAuthentication() .AddScheme<SharedSecretAuthenticationOptions, SharedSecretAuthenticationHandler>(S
I am trying to make a program that runs in the background, and I want to place a Tray Icon in the Tray Icon Section of Windows. I didn't find a solution to do t
I am trying to connect my Web API build in asp.net 6 with MySql and I am having a lot of trouble My Service looks like this builder.Services.AddDbContext<Tic
I'm deploying my .Net 6, Blazor Server site for the first time on shared hosting. It's all seems to work so far bar two things. In the browser console (Chrome)
Created a .NET 6.0 Isolated Function (with HTTP Trigger) in Visual Studio 2022. But when running/debug this function locally, get following error: Microsoft.Azu
I have a solution created in .NET 6.0 using Visual Studio 2022 which has many projects. Each project has so many nuget package references in the .csproj file as
When I use Pomelo.EntityFrameworkCore.MySql in combination with Microsoft.AspNetCore.Identity I am getting that error. Are my dependencies wrong ? Similar issue
I have this worker service kicking off jobs but hourly it checks for jobs. How can I get it to check on the hour rather at the run time hourly? public class Wor
I'm learning Blazor Server and have an app with an existing DbContext (EF/MSSQL) for CRUD operations. Now I'd like to implement Identity and for that I'm follow
I've migrated a project from .net core 3.1 to .net 6.0. I've resolved/updated all nugets and my functions runs well on local environments (I've tested on two pc
I am updating several projects from .net framework 4.7.2 to .net6, using the excellent upgrade-assistant tool. Sometimes I get this error: Error CS0433 The ty
I am using .NET 6. Every time I scaffold Identity, the application stops working. My Startup class is like this: using BulkBook.Data.Data; using BulkBook.Data.R
I noticed that the following code seems to compile just fine, when I would've expected multiple errors: public interface ITest { Math Foo(MathF x, ref Conso
I'm using .NET 6 to post a form with large form data (about 200Mb), and there is no any file. this's kind of my form in front-end: @using (Html.BeginForm(FormMe
Using the options pattern in .NET6, I can get access to some config values as follows: builder.Services.Configure<ApiConfiguration>( builder.Configura
With VisualStudio 2019, I used to be able to use EnvDTE80 that comes with VS2019 installation. It worked fine within my .Net 3.1 project. Then I upgraded my pro