Our great sponsors
-
AsyncAwaitBestPractices
Extensions for System.Threading.Tasks.Task and System.Threading.Tasks.ValueTask
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Hangfire
An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
-
AspNetCoreDiagnosticScenarios
This repository has examples of broken patterns in ASP.NET Core applications
There is a nuget package that gives you SafeFireAndForget if you really donβt want to await an async method. (https://github.com/brminnick/AsyncAwaitBestPractices)
If what you are looking for is background processing, look into Quartz, HangFire and event driven architecture. Have fun learning about this the coming years as this will keep you busy for quite some time.π
If what you are looking for is background processing, look into Quartz, HangFire and event driven architecture. Have fun learning about this the coming years as this will keep you busy for quite some time.π
You could use a discard for fire and forget tasks, https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md this is my guide for asynchronous code, hope it helps.