nerdexam
Microsoft

70-516 · Question #96

You use Microsoft .NET Framework 4.0 to develop an application that exposes a WCF Data Services endpoint. The endpoint uses an authentication scheme that requires an HTTP request that has the…

Sign in or unlock 70-516 to reveal the answer and full explanation for question #96. The question stem and answer options stay visible for context.

Consuming and Exposing Data

Question

You use Microsoft .NET Framework 4.0 to develop an application that exposes a WCF Data Services endpoint. The endpoint uses an authentication scheme that requires an HTTP request that has the following header format. GET /OData.svc/Products(1) Authorization: WRAP access_token "123456789" You add the following method to your DataService implementation. 01 protected override void OnStartProcessingRequest(ProcessRequestArgs args) 02 { 03 .... 04 } You need to ensure that the method retrieves the authentication token. Which line of code should you use?

Options

  • Astring token =
  • Bstring token =
  • Cstring token =
  • Dstring token =

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#WCF Data Services#HTTP authentication#OnStartProcessingRequest#WRAP token
Full 70-516 Practice