Skip to content
Livestream: Launch Event: Duende IdentityServer v7.4 - Securing Enterprise MCP and .NET 10 LTS. Register Now!

BFF Diagnostics Endpoint Extensibility

The BFF diagnostics endpoint can be customized by implementing the IDiagnosticsEndpoint.

ProcessRequestAsync is the top-level function called in the endpoint service and can be used to add arbitrary logic to the endpoint.

For example, you could take whatever actions you need before normal processing of the request like this:

public Task ProcessRequestAsync(HttpContext context, CancellationToken ct)
{
// Custom logic here
}