nox7
Mutex? ASP Core - Only Allowing a Method to Be Run One at a Time
This is an example of what I am thinking to do for a service method, but am not sure if this is a proper Mutex implementation - because of the asynchronous access to Redis
Though, now I am starting to think to just store a Task object as a static method of the service class object and have any future calls await that task if it exists...
2 replies
ASP Core 8 - Custom 404 Handling
Yeah, I've read through that - unfortunately it doesn't do what I need here. It forces me to use their internal error handling. Or in the case of a custom IExceptionHandler - only when an exception is thrown. I need it to go to custom paths based on specific HttpContext data.
41 replies