Troubleshooting C# Web API: Unraveling the Mystery Behind Silent 500 Errors