You are configuring services to be discoverable. The services must be discoverable without relying on a central server. Client applications that consume the services are on a network segment that is separate from the network segment that the services are located on.
A firewall blocks all TCP ports between the two network segments, but allows other protocols to pass through.
You need to ensure that the client applications can discover the services.
What should you do?
A. Use ad-hoc discovery mode over HTTP.You are developing a Windows Communication Foundation (WCF) service that contains the following service contract.

You need to ensure that RecordPayments can correctly deserialize into an Employee or a Customer object. What should you do?
A. Implement the IExtensibleDataObject interface in the Person class.You develop a Windows Communication Foundation (WCF) service. It is used exclusively as an intranet application and is currently unsecured.
You need to ensure that the service meets the following requirements:
The service now must be exposed as an Internet application. The service must be secured at the transport level. Impersonation and delegation cannot be enabled.
What should you use?
A. wsHttpBinding and HTTPSYou are creating a Windows Communication Foundation (WCF) service that uses claims- based authorization. The following code retrieves the correct claim set.
var claims = ServiceSecurityContext.Current.
AuthorizationContext.ClaimSets[0];
You need to validate that the requesting client application has included a valid DNS value in the claim.
Which code segment should you use to retrieve the claim for validation?
A. claims.FindClaims(ClaimTypes.Dns, Rights.PossessProperty) .FirstOrDefault();A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.
You need to implement a client that logs these notifications.
Which class should you use?
A. AnnouncementServiceYou need to modify a client application that consumes a Windows Communication Foundation (WCF) service.
The service metadata is no longer available.
You need to modify the previously generated proxy to include asynchronous calls to the service.
What should you do?
A. Update the service reference with the Generate asynchronous operations option.You have a client application that uses an existing Windows Communication Foundation (WCF) service. The client application contains a defined EndpointAddress object named endpointAddress.
A class named ServiceClient is generated by using the Svcutil tool to invoke the WCF service. Instances of the ServiceClient class are created as follows:
ServiceClient client = new ServiceClient(CreateBinding(), endpointAddress);
The client application must meet the following requirements:
Optimize message-level security when transporting both text files and large files.
Provide transport-level security by using the HTTPS protocol.
You need to create the code for the CreateBinding() method.
Which four code segments should you use in sequence? (To answer, move the appropriate four code segments from the list of code segments to the answer area and arrange them in the correct order.)
Select and Place:

You are developing a Windows Communication Foundation (WCF) service to provide an in- memory cache for many Web applications. The service contract is defined as follows. (Line numbers are included for reference only.)

You need to ensure that all users share the cache. Which code segment should you insert at line 07?
A. [ServiceBehavior(TransactionlsolationLevel = IsolationLevel.RepeatableRead)]You are implementing a Windows Communication Foundation (WCF) service contract named IContosoService in a class named ContosoService. The service occasionally fails due to an exception being thrown at the service.
You need to send the stack trace of any unhandled exceptions to clients as a fault message.
What should you do?
A. In the application configuration file on the client, add the following XML segment to the system.serviceModel/behaviors configuration section group. < callback Debug includeExceptionDetailInFaults="true" /> Associate the debug behavior with any endpoints that need to return exception details.You are adding a Windows Communication Foundation (WCF) service to an existing application. The application is configured as follows. (Line numbers are included for reference only.)

You need to configure the service to publish the service metadata.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following XML segment between lines 10 and 11.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-513 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.