I have a very simple ASP.NET MVC 4 controller:
public class HomeController : Controller { private const string MY_URL = \"http://smthing\"; private r
I had this error today when building an API controller. It turned out that the solution was simple in my case.
I had:
public async void Post()
And I needed to change it to:
public async Task Post()
Note, the compiler did not warn about async void.
async void