I am using StaticFileMiddleware in my .NET Core Application with default options.
StaticFileMiddleware
app.UseStaticFiles();
I understand that if the