You are developing an ASP.NET application that retrieves data from using web
service and then insert the response data to the database.
Should you use async/await ?

 Posted by Rajkatie on 8/29/2013 | Category: .NET Framework Interview questions | Views: 3619 | Points: 40
Select from following answers:
  1. Yes :- this will free your thread to serve other requests while waiting for the I/O to complete.
  2. No:- Don’t have to use async/await in server app. It’s only for responsiveness on the client.
  3. Yes::- this put your thread to sleep while waiting for I/O so that it doesn’t use any CPU
  4. All Above

Show Correct Answer

Source: microsoft exam(C#) | | Alert Moderator 

Comments or Responses

Login to post response