Concurrent Hosted Service in .NET 8 | .NET Conf 2023
Vložit
- čas přidán 16. 11. 2023
- 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/blog
Twitter: aka.ms/dotnet/twitter
TikTok: aka.ms/dotnet/tiktok
Mastodon: aka.ms/dotnet/mastodon
LinkedIn: aka.ms/dotnet/linkedin
Facebook: aka.ms/dotnet/facebook
Docs: learn.microsoft.com/dotnet
Forums: aka.ms/dotnet/forums
🙋♀️Q&A: aka.ms/dotnet-qa
👨🎓Microsoft Learn: aka.ms/learndotnet
#dotnet - Věda a technologie
You're a valuable contributor to the CZcams community.
got a good insight, thankyou for the wonderful video :)
Thinking about using it for having my API's project email sender project as a separate Hosted Service
Thank you ✌
👍👍❤❤
👏
❤
i guess saeed was a junior software developer when he was born
@sa-es-ir Perfect As Always