In this video I show you how to create a .NET Core Worker in both the dotnet CLI with VS Code and Visual Studio using the new worker template. Then I'll show you around the worker so you can get to know them a bit better.
Source code: https://github.com/chrismroberts/csha...
☕️ Support us with a coffee! (Or.. beer 🍺)
https://www.buymeacoffee.com/Robertsd...
.NET Worker Services are a brilliant place to start creating background services for your web applications, or Linux and Windows apps.
You'll need the .NET SDK (minimum version 3.1):
https://dotnet.microsoft.com/download
If using VS Code, definitely install the C# extension because it gives you debugging, intellisense, code completion and more:
https://marketplace.visualstudio.com/...
📧 📫 Join us on our developer journey! Sign up to our email newsletter:
https://robertsdevtalk.com
🐦 Follow us on Twitter:
/ robertsdevtalk
🎶 Music by Epidemic Sound:
https://www.epidemicsound.com/referra...
0:00 Introduction
1:30 Creating a Worker with Visual Studio 2019
2:39 Creating a Worker with CLI and VS Code
4:10 Exploring Program.cs
4:58 Exploring the Worker (Worker.cs)
5:30 Worker Lifecycle methods
6:50 Running the Worker in Debug
7:10 Conclusion
Next Episode (Task scheduling with Coravel):
• Superpowered .NET Task Scheduling wit...
Follow us on Twitter:
/ robertsdevtalk
Music from Epidemic Sound:
https://www.epidemicsound.com/referra...
Disclaimer - some of our links are affiliate links, which means that we receive a small commission for any sales made via those links, at no extra cost to you - so a great way to support our channel! Thank you so much for your support 😊
#dotnet #csharp #microservices
Watch video Hello .NET Core Worker Services! | C# Background Services Course (Episode 1) online without registration, duration hours minute second in high quality. This video was added by user Roberts Dev Talk 19 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 17,615 once and liked it 358 people.