To create the Windows Service, let's start with a new .NET Core 3 console application:
The next step is to install the Windows Compatibility NuGet package:
Install-Package Microsoft.Windows.Compatibility
This will allow us to create a Windows Service.