Hello .NET Core Worker Services! | C# Background Services Course (Episode 1)

preview_player
Показать описание
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.

☕️ Support us with a coffee! (Or.. beer 🍺)

.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):

If using VS Code, definitely install the C# extension because it gives you debugging, intellisense, code completion and more:

📧 📫 Join us on our developer journey! Sign up to our email newsletter:

🐦 Follow us on Twitter:

🎶 Music by Epidemic Sound:

0:00 Introduction
1:30 Creating a Worker with Visual Studio 2019
2:39 Creating a Worker with CLI and VS Code
5:30 Worker Lifecycle methods
6:50 Running the Worker in Debug
7:10 Conclusion

Next Episode (Task scheduling with Coravel):

Follow us on Twitter:

Music from Epidemic Sound:

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
Рекомендации по теме
Комментарии
Автор

Awesome videos, I do a lot of work with Kafka. These videos are very interesting to see alternatives out there

RayPJenkins
Автор

You actually deserved alot more of subscriber

MiceDevelopment
Автор

This is all crystal clear! Keep it up bro..

manipathak
Автор

Is it possible to call Process.Start(pathFile);
It seems blocked by os permission..
Strange than in Visual Studio it works but when installed in production (Windows Services) the code not working..

diegoza
Автор

Thank you! How to install Worker Service as a demon on Linux?

maksimsd
Автор

'code' is not recognized as an internal or external command,
operable program or batch file.

I have SDK 6 😐

Aashka_The_Mystic
Автор

Question: why are you using VS Code instead of Visual Studio? It seems that you could do all the work for this within Visual Studio itself, instead of going to VS Code...

seanh
Автор

You have not shown how it run on Docker/Container..

TheChandraak