70-513 무료 덤프문제 온라인 액세스
| 시험코드: | 70-513 |
| 시험이름: | TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 |
| 인증사: | Microsoft |
| 무료 덤프 문항수: | 323 |
| 업로드 날짜: | 2025-12-12 |
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 Function Login( ByVal employeeID As Integer, ByVal passwordHash As String) As String 06 07 <OperationContract()> 08 Function GetBonus(ByVal month As Integer) As Double 09 10 <OperationContract (IsTerminating:=True)> 11 Sub Logout() 12 13 End Interface
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.)
DRAG DROP
You create a Windows Communication Foundation (WCF) service.
The service must be multi-threaded and maintain state across threads.
You need to create the code for the service.
Which code segments should you use? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.
You need to ensure that the service will not cache the security request token.
What should you do?
You create a Windows Communication Foundation (WCF) service and deploy it with wsHttpBinding and message security enabled.
You create an intermediate WCF service for logging messages sent to the primary service. The intermediate service is called via the clientVia endpoint behavior.
The primary service is receiving malformed data from a client application.
You need to enable inspection of the malformed data and prevent message tampering.
What should you do?
DRAG DROP
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.)

