Online Access Free 70-513 Exam Questions

Exam Code:70-513
Exam Name:TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4
Certification Provider:Microsoft
Free Question Number:323
Posted:Dec 12, 2025
Rating
100%

Question 1

You develop a Windows Communication Foundation (WCF) service that employees use to access bonus information. You define the following service contract. (Line numbers are included for reference only.)
01 [ServiceContract(SessionMode = SessionMode.Required)]
02 public interface IFinancialService
03 {
04 [OperationContract]
05 string Login(int employeeID, string passwordHash);
06
07 [OperationContract]
08 double GetBonus(int month);
09
10 [OperationContract(IsTerminating = true)]
11 void Logout();
12 }
Client applications can invoke methods without logging in.
You need to ensure that the client applications invoke Login before invoking any other method.
You also need to ensure that client applications cannot consume the service after invoking Logout.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Question 2

A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.
You must ensure that the client application can interact with the WCF service.
What should you do?

Question 3

A client application calls a Windows Communication Foundation (WCF) service with a proxy class that was generated by Visual Studio.
The service binding was changed from wsHttpBinding to basicHttpBinding. The method signatures in the service contract are changed.
After these changes, the client application receives errors when calling methods on the service.
You need to ensure that the client can invoke methods on the service successfully.
What should you do?

Question 4

You develop a Windows Communication Foundation (WCF) service that interacts with Microsoft Message Queuing (MSMQ).
The service requires sessions. You need to create a custom binding that enables messages sent to the queue to be viewed when you are using a listener tool.
Which binding elements should you use?

Question 5

You are developing a Windows Communication Foundation (WCF) service.
You need to enable security auditing for all events.
What should you do?

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.