Tag Archives: Simulate Error 500 using C# Web API

Simulate Error 500 using C# Web API

This blog article shows you how to simulate Error 500 in Web Server using C# Web API. I have a Web API Controller (downloadable) below. [HttpGet(Name = “GetPerson”)] public IEnumerable<Person> Get() {     return Persons; } To simulate the Error 500 … Continue reading

Posted in .Net, Cloud, Community, Computers and Internet, programming | Tagged | Leave a comment