| Exam Code/Number: | 70-513Join the discussion |
| Exam Name: | TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 |
| Certification: | Microsoft |
| Question Number: | 323 |
| Publish Date: | Aug 25, 2026 |
|
Rating
100%
|
|
You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue.
You need to configure the service to read messages from the failed-delivery queue.
Which URI should you specify in the endpoint configuration settings of the service?
A Windows Communication Foundation (WCF) solution exposes the following service over a TCP binding. (Line numbers are included for reference only.)
MessageDatabase supports a limited number of concurrent executions of its methods.
You need to change the service to allow up to the maximum number of executions of the methods of MessageDatabase. This should be implemented without preventing customers from connecting to the service.
What should you do?
A Windows Communication Foundation (WCF) service implements the following cortract.
<ServiceContract0>? Public Interface lHeloServic e <operationContractQ> <WebGet(UriTempbte: ="helloname={name}")s Function SayHello(Byval name As String) As nng End Interface The implementation is as follows Public Class HelloService Implements IHelloService
Public Function SayHello(ByVal name As String) As String - Implements lHelloServiceSayHello
Retumn "Hello "& name
End Function
End Cesst
The service is self-hosted, and the hosting code is as follows.
Dim stHost As WebServiceHo = CreateHost()
svcHo Open()
Consde ReadLine()
svcHoaClose()
You need to implement CreateHost so that the service has a single endpoint hosted
http:/Ilocalhost8000/HeloService.
Which code segment should you use?
A Windows Communication Foundation (WCF) service is deployed with netTcpBinding. This service uses a duplex message exchange pattern. You are developing the next version of the WCF service.
You discover that your company's hardware load balancer performs correctly only for WCF services that use HTTP.
You need to ensure that your service works with the load balancer.
What should you do?
You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.)
You need to ensure that two identical copies of the received message are created in the service.
Which code segment should you insert at line 14?