Automatically build and deploy .NET core 3 console application as a Windows service

Image by Natalia Ovcharenko from Pixabay

In this post, I want to share an example of using Azure Devops to automatically build and deploy a .NET console application as a windows service to run on a Windows VM.

Enable .NET core 3 app to run as a windows service