I am using Ef Core with ASP.NET Core to build up a database application.
IN ASP.NET Core, there is a build in CancellationToken: HttpContext.RequestAborted, which would trigger when the client abort the http connection.
At the same time, there is also a CancellationToken parameter for most of Ef Core Query API. I wonder whether it is best practice to pass HttpContext.RequestAborted everywhere for Ef Core Query, which is really more tedious and the code is mess up with HttpContext.RequestAborted