How would you diagnose a slow ASP.NET Core endpoint in production?
Start with measurements rather than assumptions. Check request latency percentiles, traces, structured logs, CPU, memory, database timings, outgoing HTTP calls, thread-pool behavior, and cache effectiveness. A distributed trace can show whether the time is spent in middleware, application code, the database, or a downstream service.