70-513 Exam Details

  • Exam Code
    :70-513
  • Exam Name
    :TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :323 Q&As
  • Last Updated
    :Nov 06, 2025

Microsoft 70-513 Online Questions & Answers

  • Question 241:

    The following is an example of a SOAP envelope.

    2469 4

    You need to create a message contract that generates the SOAP envelope.

    1 which code segment should you use?

    A. [MessageContract(WrapperName="http:I/www. contoso. comn")] public class CheckStockRequest { [MessageHeader(Nanez"http:llwww.contoso.com")] public mnt Storeld{get; set.} [MessageBodyMember(Namee'intp://www..contoso.com")] public nit itemld{get set;) }
    B. [MessageContract(WrapperNamespace="http:I/www.contoso.comn")] public class CheckStoc kRequest { [MessageHeader(Namespaces"http:I/www.contosocom")]o public nmt Storeld{get; set;) [MessageBodyMember(Namespaces"http://www. contoso . comn")] public nmt ltemld{get; set;} }
    C. [MessageContract(WrapperNamespace="http://www. contosocom")] pi眑ic class CheckStockRequest { [MessageHeader(Na-mespacesttp://wwwcontoso. comn")] public mnt Storeld{get set.} public mnt ltemld{get: set;} )
    D. (MessageContract(WrapperNamespace="httpJ/www. contoso.com")] public class CheckStockRequest { [MessageHeader(Namespace11tp:IIwww. contoso. comn")] public int Storeld{get set;} (MessageBodyMember] public int ltemmld(get set} }

  • Question 242:

    You are developing a Windows Communication Foundation (WCF) service that allows customers to update financial data. The service contract is defined as follows. (Line numbers are included for reference only.)

    You need to ensure that the service is invoked within a transaction. What should you do?

    A. Replace line 01 with the following code.
    B. Replace line 01 with the following code.
    C. Insert the following code at line 09.
    D. Insert the following code at line 09.

  • Question 243:

    An ASP NET application hosts a RESTful Windows Communication Foundation (WCF) service at /ServiceslContoso.svc.

    The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.