Continuous running background job in .NET 6 Console Application [Can run in a Docker Container]

Опубликовано: 01 Октябрь 2024
на канале: DotNet Core Central
10,956
212

#dotnet6 #consoleapplication #backgroundjob

Running a background job inside of a console application is challenging especially if it is running inside a docker container if you do not know the proper way to implement that. In this video, I walk through how to do it very easily using .NET 6 features. Hint, not using Console.ReadLine :)

My YouTube channel:    / dotnetcorecentral  
My Blog Website: https://dotnetcorecentral.com/
My Github repo: https://github.com/choudhurynirjhar

Some of my popular videos:

Elasticsearch with .NET and introduction:    • An Introduction to Elasticsearch (Bui...  

Hangfire Scheduling an introduction:    • Scheduling recurring jobs with Hangfi...  

ASP.NET Core Authentication with JWT (JSON Web Token):    • ASP.NET Core Authentication with JWT ...  

Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1):    • Running Background tasks using IHoste...  

How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes):    • How to build an API Gateway in ASP.NE...