Microsoft MCTS 70-513

Microsoft MCTS 70-513

Access Routing and LAN Switching;Advanced Routing and Switching;APE;APE for Validating Knowledge;Architecture;
CCDA;CCDE; CCDP;CCENT;CCIE;CCIE Data Center;CCIP; CCNA;
CCNA Security;CCNA Wireless;CCNA Voice;CCNP;CCNP Data Center
;CCNP Service Provider; CCNP Wireless;CCNP Security;CCNP SP Operations; CCNP Voice;CCSP;CCVP;Cisco Express Foundation Field Specialist;Cisco Security Sales Specialist;Cisco Specialist;Cisco Virtual Classroom;Connected Grid;Content Networking;Data-Center;Field Technician;IP Communications;IronPort; Network Management; Optical;Others
;Proctored Exams for Validating Knowledge;Sales Expert; Security Specialist;Service Provider Video;SMB;SP Video
;Storage Networking; Substation Automation;TelePresence Video
;Unified Communications;VPN and Security; WAASSE; Wireless LAN

70-513 TS: Windows Communication Foundation velopment with .NET Framework 4 Der einfachste Weg für die IT-Prüfung vorzubereiten, ist die Praxis-Tests auf Zertifizierungsprüfung Muster zu nehmen und zu verstehen, die richtige sowie falsche Antwort Erklärungen Deine Zweifel klären. Lesen Sie dazu auch relevante technische Artikel zu versierter in der damit verbundenen Technologie.

Microsoft MCTS 70-513

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

Microsoft MCTS 70-513

Die Kommentarfunktion ist geschlossen.