Рет қаралды 320,255
In .NET Core 3.0, Microsoft has added a template called a Worker Service. This template isn't just for creating Windows Services, but that is a big benefit. In this video, we will look at how to create a worker service, how to configure it, and how to deploy it to a machine.
Video Source Code: leadmagnets.app/?Resource=wor...
Newsletter signup (with exclusive discounts, giveaways, and more): signup.iamtimcorey.com/
0:00 - Intro
1:15 - Creating Demo Worker Service App
2:54 - What is a Worker Service
3:59 - Service App template code overview
9:32 - Service App code design using http client
20:15 - Showing log messages: Serilog NuGet references
22:22 - Showing log messages: Serilog configuration
25:00 - Showing log messages: Implementing Serilog
29:45 - Configuring Worker Service for Windows: WindowsServices NuGet
31:32 - Deploying the Service App
33:39 - Installing the Service using PowerShell
37:26 - Uninstalling the Service using PowerShell
39:24 - Updating, deploying, installing and uninstalling the Service
44:04 - Summary and concluding remarks
Thanks to Ralfs HBK for the chapter breakdown