Passioned C# / .Net Developer / Architect with a strong focus on architecture, backend & Azure Cloud development. Love to learn & share my knowledge using StackOverflow, GitHub and knowledge sessions.
Passioned C# / .Net Developer / Architect with a strong focus on architecture, backend & Azure Cloud development. Love to learn & share my knowledge using StackOverflow, GitHub and knowledge sessions.
If I interpret it correctly, starting a task with LongRunning flag will just do the same, create a new thread.
May be this is different in .NET Core - but will be then also apply to .NET 5.0
Link to the source code below.
If you don't mind me asking, why aren't you using Tasks?
I was using Tasks but then i read this Async Guidance from .Net Core team github.com/davidfowl/AspNetCoreDia... and refactored my code.
Ah great advice there.
Just stumbled about,
If I interpret it correctly, starting a task with LongRunning flag will just do the same, create a new thread.
May be this is different in .NET Core - but will be then also apply to .NET 5.0
Link to the source code below.
BR Andre
github.com/dotnet/runtime/blob/851...