What should you do?

You deploy a RESTful ASP.NET Web API to manage order processing.
You are developing an Azure App Services Web App to consume the API and allow customers to order products. You use the HttpClient object to process order entries. The API throws SocketException errors when the Web App experiences a high volume of concurrent users.
You need to resolve the errors.
What should you do?
A. Implement a Using statement block when declaring the HttpClient object.
B. Increase the value of the Timeout property when declaring the HttpClient object.
C. Use the static modifier to declare the HttpClient object.
D. Create a new HttpClient instance for each API request and use asynchronous method calls.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.