Repro steps: - Create an empty ASP.NET Core app - Add `app.MapStaticAssets()` - Add wwwroot/test.html ```html <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <h1>Test</h1> </body> </html> ``` Run the app and browser to /test.html Expected result: test.html renders in the browser Actual result: Failed to load resource: net::ERR_CONTENT_DECODING_FAILED Workarounds: - Swap `app.MapStaticAssets()` for `app.UseStaticFiles()` - Use a .json file instead of a .html file