ASP.NET 6 BACKGROUND WORKER SERVICES - What you need to know and how to setup one.

preview_player
Показать описание
🏃‍♂️ Run ASP.NET 6 BACKGROUND SERVICES in 14 minutes. C# makes async tasks this easy!

📚 Do you WANT to become a C# Developer? We got you covered!

We'll make sure to make a Developer out of you in no time!

So, what is C#?
C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.

And what is ASP.NET?
Free. Cross-platform. Open source.
A framework for building web apps and services with .NET and C#.
ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies.

To learn more, make sure to watch the video, and we promise you that you'll become a C# developer in no time! Have fun!

#csharp #aspnet #coding #tutorial #learn #microsoft #net #aspnet #async #workerservice #asynchronous

TAGS

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.

Рекомендации по теме
Комментарии
Автор

I like this video a lot because you start out one way but then make changes. In the process of making changes you offer a concise explanation of why the changes are needed which makes me think about why this is done and it really speeds up the learning process!!!

Sehr gut Herr Leismann!!!

Grond
Автор

Thanks for the video, it helped me in my work.

elsart
Автор

Clear and Concise Explanation of its Use Case. Thanks for this.

charlesopuoro
Автор

Parabéns, a muito tempo procurando uma solução, obrigado

joegpapst
Автор

I am currently using a crib job that connects to a web api that then runs my services on a 5 min schedule. This is MUCH better!

DanijelJames
Автор

Excelente video, literalmente me salvaste la vida con un proyecto en mi trabajo. Gracias. Saludos.

carlos.maradiaga
Автор

Thank you, the teaching is very good, but I have a question to ask, if I want to use cron to support it? Because this allows more flexible timing to perform background tasks. How to implement cron in such a way?

mhsoft
Автор

.Net also provides the worker service templet, but you created the Web Api template. So what is the difference between both templates?

MuhammadAli-qpyk
Автор

This is your store-front. If you want to sell your self to possible customers you need to answer questions and respond to comments.

marierasmussen
Автор

Hey, thanks a lot for this cool video! Is it possible to prevent the background service to run when another instance is already running ?

kwentinn
Автор

I just watched this video, Thank you. Would i be able to deploy this in IIS. Because im having difficulty in trying to deploy a woker service

BennetDumashie
Автор

Thank you! Am I right that asp servicec is blocked because it's hosted service run in infinite loop and supposed to be foreground, hence lock?

ocamlmail
Автор

Is there a way to make a WPF app run three threads at once? There is something I'd like to make for work and it will require 3 different threads. It's all the same process with only a few slight differences like using ssh to communicate with 3 units with 3 different IP addresses among other things.

midknight
Автор

But when we deploy this on our IIS server, it won't start the application, it throws 500.30 error code.

g.o.d
Автор

🤔Is the course updated to Angular 17 and .Net 8? Because in both version 17 of Angular and version 8 of .NET there are new things that could be implemented, along with others that have either changed or improved. I think it's worth having the course updated, if it isn't already. Thanks in advance 👋

mr.nobody
Автор

Will this create any performance problem for the API application if both API and Background Services are running parallelly ? Can we create the same background service using a console application that will run independently ?

rohanrvs
Автор

I dont want to run it over and over - i want a specific job to be run asynchronously when a specific event happens in another part of the application - how do i do that?

margosdesarian
Автор

Then what is the usage of hosted service when it is blocking the main application ?

AhmedMohamed-btdu
Автор

Well, How can we run this service once a day. Means like, daily @4pm it should be trigger.

tamilrasigan
Автор

thank you, please how can I use background task to update my database.
I want it to perform some calculation and update my database base on certain condition and if the condition and once the condition is no longer met, it should stop.

please any suggestions

abuchiaroh