nerdexam
Microsoft

70-513 · Question #296

A Windows Communication Foundation (WCF) service uses the following service contract. <ServiceContract> Public Interface IService <OperationContract0>? Function Operation 1 (RyVal s As String) As…

The correct answer is A. <OperationContract0> <Weblnvoke(Method:z'POST")>. See the full explanation below for the reasoning.

Question

A Windows Communication Foundation (WCF) service uses the following service contract. <ServiceContract> Public Interface IService <OperationContract0>? Function Operation 1 (RyVal s As String) As String End Interface You need to ensure that the operation contract Operation 1 responds to HTTP POST requests. Which code segment should you use?

Options

  • A<OperationContract0> <Weblnvoke(Method:z'POST")>
  • B<OperationContract0> <WebGet(UriTemplate: "POST')>
  • C<OperationContract(ReplyAction: `POST")>
  • D<OperationContract(Action:z"POST")>

How the community answered

(46 responses)
  • A
    78% (36)
  • B
    4% (2)
  • C
    4% (2)
  • D
    13% (6)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice