I noticed there's a few small issues here:
There's a code sample that looks like this:
app.UseResponseCaching
app.UseResponseCompression
app.UseStaticFiles
It doesn't invoke any of the methods.
There's another code sample that looks like this:
public void Configure(IApplicationBuilder app)
{
// Static files aren't compressed by Static File Middleware.
app.UseStaticFiles();
app.UseResponseCompression();
app.UseEndpoints(endpoints =>
{
endpoints.MapRazorPages();
});
}
It doesn't include a call to UseRouting.
The line highlights for the UseWhen sample are off.
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Rick-Anderson I can pick this one up tonight. Gimme a 👍 if that's OK.
Most helpful comment
@Rick-Anderson I can pick this one up tonight. Gimme a 👍 if that's OK.