Hello guys.
I've created two simple sites, both are hosted in Azure.
1st - ASP.NET MVC application
2d - ASP.NET WebApi application
Controller action of MVC site makes 100 POST calls (HttpClient) to simple WebApi controller action. WebApi action returns simple object with int property.
[HttpPost]
[Route("QuestionIsHere")]
public async Task<SimpleResult> QuestionIsHereAsync(SipleParameters parameters)
{
return new SimpleResult { Count = 0 };
}
1. After serveral refreshes of MVC site page I recieve bad request exception from Web Api.
2. 100 requests to WebApi takes several seconds?
Why is it takes so long time? What should I do with bad request exception? I dont think lets say 200-300 request per second of mostly empty requests is so huge load?
P.S. Besides i cheges F1 to S1 price plan of WebApi apllication and it d ...
Go to the complete details ...