API
UseStatusCodePages
Adds handling for suitable empty HTTP error-status responses.
Formal Syntax & Structure
csharp syntaxcsharp
app.UseStatusCodePages("text/plain", "Status: {0}");Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.app.UseStatusCodePages("text/plain", "Status: {0}");