In my MVC app, I have an async method that I need to call but don't want to wait. I don't care about the exception either because my logging framework will catch and log that. I'm doing this now:
_ = auditService.AuditAsync(auditData);
What happens when my main http request is done but my audit service hasn't accepted my audit request (slow network)? I don't want to wait but I want it to finish. Is that possible to have both "fire and forget" and "guaranteed to finish"?
According to this SO post, ASP.NET may throw an exception. Is this still the case in Net Core?
Note: this is not a duplicate of this post and this post. My question is about whether ASP.NET will give me error on my way to call my async method.