.Net Core application with background Thread on Docker
Автор: DotNet Core Central
Загружено: 2019-09-01
Просмотров: 1560
Описание:
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/do...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: