www.cert24.com,test dumps, practice test, pdf 70-513 Microsoft cert24

www.cert24.com,test dumps, practice test, pdf 70-513 Microsoft cert24

www.cert24.com,test dumps, practice test, pdf 70-513 Microsoft cert24

IT Exam,IT Certification,braindump,original questions, question pool,document, braindump, test questions, test question, dumps, test answers, cert24.com, preparation, pdf, certification questions, answers Certification, certification test, practice test, exam dumps, certification training, answers real questions

70-513 TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 We believe in helping our customers achieve their goals. For this reason, we take great care while preparing our Questions and Answers , Core Administration. Our practice tests Administration are prepared with the help of highly professional people from the industry, so we benefit from their vast experience and knowledge.

www.cert24.com,test dumps, practice test, pdf 70-513 Microsoft cert24

QUESTION 1
You are developing a Windows Communication Foundation (WCF) service that contains the following operation contract.

[OperationContract]
CustomerNames GetCustomerNames();

The operation returns customer names. You need to develop a definition for the operation contract that produces XML with the following structure.

Customer1
Customer2
Customer3

Which code segment should you use?

A. [MessageContract(IsWrapped = false)]
public class CustomerNames
{
[MessageBodyMember]
public string[] Names;
}

B. [MessageContract(WrapperName = "")]
public class CustomerNames
{
[MessageBodyMember]
public string[] Names;
}

C. [DataContract]
public class CustomerNames
{
[DataMember]
public string[] Names;
}

D. [DataContract]
public class CustomerNames
{
[DataMember(IsRequired = false)]
public string[] Names;
}

Answer: A

Explanation/Reference:
If the message contract is not wrapped, that is, if the property IsWrapped is set to false,
the message contract can have only one body part.

The name of the wrapper element for the request message contract must match the operation name.
Use the WrapperName property of the message contract for this.

Using Message Contracts
(http://msdn.microsoft.com/en-us/library/ms730255.aspx)

QUESTION 2
You are creating a client application and configuring it to call a Windows Communication Foundation (WCF) service.
When the application is deployed, it will be configured to send all messages to a WCF routing service.
You need to ensure that the application can consume the target service after the application is deployed.
What should you do?

A. In the client application, add a service reference to the router service.
In the client binding configuration, specify the address of the router service.

B. In the client application, add a service reference to the target service.
In the client binding configuration, specify the address of the target service.

C. In the client application, add a service reference to the router service.
In the client binding configuration, specify the address of the target service.

D. In the client application, add a service reference to the target service.
In the client binding configuration, specify the address of the router service.

Answer: D

QUESTION 3
You create a service and deploy it on a network in a building named Building1. You will deploy the service to Building2.

The service in Building1 is configured using the following discovery scopes.

The service in Building2 will be configured using the following discovery scopes.

You need to ensure that the client application can discover the service in Building1 or the service in Building2.
Which scopes should you add to the client configuration file?

A.
B.
C.
D.
Answer: B

www.cert24.com,test dumps, practice test, pdf 70-513 Microsoft cert24

Comments are closed.