exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 82 discussion

Actual exam question from Microsoft's 70-487
Question #: 82
Topic #: 1
[All 70-487 Questions]

You are developing a web application by using Microsoft .NET Framework 4.5.
You are creating a web client for the application. The web client will make REST calls to several web services.
You need to ensure that the web client meets the following requirements:
✑ Uses the Task class to perform asynchronous operations
✑ Reuses recently resolved DNS lookups
Which object should you include in the solution?

  • A. ServiceClient
  • B. WebClient
  • C. HttpClient
  • D. WebRequest C
Show Suggested Answer Hide Answer
Suggested Answer: Explanation 🗳️
References:
https://www.c-sharpcorner.com/article/calling-web-api-using-httpclient/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
voland
Highly Voted 5 years, 6 months ago
Correct answer is C
upvoted 13 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...