Free Microsoft 70-503 Exam Dumps Questions & Answers
| Exam Code/Number: | 70-503Join the discussion |
| Exam Name: | TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation |
| Certification: | Microsoft |
| Free Question Number: | 270 |
| Publish Date: | Aug 09, 2026 |
| # of views: | 2886 |
|
|
|
You are creating an endpoint for a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You create the endpoint by using a custom binding. You write the following code segment.
You need to prevent the custom binding from making a persistent connection to the service endpoint.
Which code segment should you use?
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.
You need to ensure that the service commits the transaction only when the session is closed.
Which code segment should you use to implement the service?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to publish metadata programmatically.
Which two code segments should you use? (Each correct answer presents a complete solution. Choose two.)
You create a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5. The client application communicates with an existing Web service that requires custom HTTP headers. You need to ensure that all messages sent to the service include the headers.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code fragment for the configuration setting. (Line numbers are included for reference only.)
01 <wsHttpBinding>
02 <binding name="simple">
04 </binding>
05 </wsHttpBinding>
You need to ensure that the service uses transport security and allows access to anonymous client applications. Which code fragment should you insert at line 03?