Concurrent Hosted Service in .NET 8 | .NET Conf 2023

SdĂ­let
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

Komentáƙe • 10

  • @acodersjourney
    @acodersjourney Pƙed 7 měsĂ­ci +3

    You're a valuable contributor to the CZcams community.

  • @Rahulsapkota
    @Rahulsapkota Pƙed 2 měsĂ­ci

    got a good insight, thankyou for the wonderful video :)

  • @fahimeabouhamze6618
    @fahimeabouhamze6618 Pƙed 7 měsĂ­ci

    Thank you ✌

  • @Hantick
    @Hantick Pƙed 7 měsĂ­ci +2

    Thinking about using it for having my API's project email sender project as a separate Hosted Service

  • @DevEmpower
    @DevEmpower Pƙed 7 měsĂ­ci +1

    đŸ‘đŸ‘â€â€

  • @KiaAlireza
    @KiaAlireza Pƙed 7 měsĂ­ci +1

    👏

  • @kwiacek73
    @kwiacek73 Pƙed 7 měsĂ­ci

    ❀

  • @ote8458
    @ote8458 Pƙed 7 měsĂ­ci +1

    i guess saeed was a junior software developer when he was born

  • @mehranlabour
    @mehranlabour Pƙed 7 měsĂ­ci +1

    @sa-es-ir Perfect As Always