Concurrent Hosted Service in .NET 8 | .NET Conf 2023
Вставка
- Опубліковано 11 січ 2025
- Before .NET 8, hosted services were started and stopped sequentially, with each service's StartAsync and StopAsync methods awaiting completion before the next service's methods were triggered. This default behavior, though mostly fine, could cause problems, particularly with slow services delaying the application's overall start or shutdown. In .NET 8, developers now have the option to enable concurrent start and/or stop behavior for registered hosted services using the new properties in HostOptions. This allows services to start and stop concurrently, potentially improving application startup and shutdown times.
Blog: aka.ms/dotnet/...
Twitter: aka.ms/dotnet/...
TikTok: aka.ms/dotnet/...
Mastodon: aka.ms/dotnet/...
LinkedIn: aka.ms/dotnet/...
Facebook: aka.ms/dotnet/...
Docs: learn.microsof...
Forums: aka.ms/dotnet/...
🙋♀️Q&A: aka.ms/dotnet-qa
👨🎓Microsoft Learn: aka.ms/learndo...
#dotnet
You're a valuable contributor to the UA-cam community.
Thinking about using it for having my API's project email sender project as a separate Hosted Service
got a good insight, thankyou for the wonderful video :)
Great stuff
Thank you ✌
👍👍❤❤
👏
❤
i guess saeed was a junior software developer when he was born
@sa-es-ir Perfect As Always