Загрузка страницы

.Net Core application with background Thread on Docker

Running a .NET Core Console application with background continuous thread in Docker container is not the same as running in a Windows machine. In this video, I demonstrate how to do this from my experience.

If we create a project which runs a background thread; and we keep the main thread alive using Console.ReadLine(), the docker container does not regard that. Meaning, when the .NET Core application runs in docker; and the runtime encounters the Console.ReadLine(), it just continues to execute forward. Instead of stopping for user input.

Blog url: https://dotnetcorecentral.com/blog/docker-running-background-thread/

Видео .Net Core application with background Thread on Docker канала DotNet Core Central
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
1 сентября 2019 г. 23:42:40
00:18:49
Яндекс.Метрика