최신 070-503 무료덤프 - Microsoft TS: Microsoft .NET Framework 3.5 C Windows Communication Foundation

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to ensure that the service can send data in the following format to the client applications.
<Account ld="">
<Name> </Name>
<Balance Currency=""> </Balance> </Account>
Which code segment should you use?

정답: B
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to ensure that the service logs only messages that do not conform to the message contract.
Which code fragment should you use?

정답: C
You are creating a client application by using Microsoft .NET Framework 3.5. The
application consumes an ASMX Web service.
You need to configure the binding to call the methods of the ASMX Web service.
Which binding should you use?

정답: A
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5.
The WCF service must authenticate the client applications by validating credit card numbers and expiry dates. You write the following code segment. (Line numbers are included for reference only.)
01 class CreditCardTokenAuthenticator: SecurityTokenAuthenticator
02 {
03 // Implementation of other abstract methods comes here.
04 protected override ReadOnlyCollection<IAuthorizationPolicy> ValidateTokenCore(SecurityToken token)
05 {
06 CreditCardToken creditCardToken = token as CreditCardToken;
07 }
09 private bool IsCardValid(string cardNumber, 13 DateTime expirationDate)
10 {
11 // Validation code comes here.
12 }
13 }
You need to implement custom authentication for the WCF service. Which code segment should you insert at line 07?

정답: B
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.

You have not deployed the IMathService service.
You need to expose the AddNumbers (double a, double b) operation to the IMathService
service contract.
Which code segment should you use?

정답: B
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service uses the net.tcp transport. You need to ensure that when the server starts, the service starts and continues to run. What should you do?

정답: A
You are creating a client application that will call a Windows Communication Foundation service. The service was created by using Microsoft .NET Framework
3.5. You write the following code segment.

You plan to share the validation logic between the client application and the WCF service.
You need to generate a client-side service proxy that includes the validation logic.
Which four tasks should you perform? (Each correct answer presents part of the solution. Choose four.)

정답: A,B,C,F
You are creating a Windows Communication Foundation (WCF) client application by using Microsoft .NET Framework 3.5.
The proxy generated for the WCF service results in the following code segment.

To implement a callback interface, you create the following class in the client application.
Public Class StoreCallback
Implements IStoreCallback End Class
The client application receives notifications from the service through the callback interface. You write the following code segment for the client application to use the generated proxy. (Line numbers are included for reference only.)
02 client. CheckAvailableProducts()
You need to set up duplex communication between the client application and the WCF service. Which code segment should you insert at line 01?

정답: D
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code segment to implement an operation contract. (Line numbers are included for reference only.)

Only the contents of the File.xml file are sent to the client application.
You need to ensure that the SOAP envelope generation is always disabled for messages that are sent to the client application.
Which line of code should you insert at line 05?

정답: C
You are creating a client application by using Microsoft .NET Framework 3.5. The client application will consume a COM+ application by using the Windows Communication Foundation service. You write the following code segment to implement the COM+ application.

The application ID of the COM+ application is {AppGuidlsHere}.
You need to configure the WCF service to access the COM+ application from the WCF client application. Which code fragment should you use?

정답: A
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You configure a binding to enable streaming.
You need to ensure that the client application is able to stream large XML files to the WCF service.
Which operation contract should you create?

정답: D
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You create a class named Customer for the WCF service. The Customer class has properties named Id, Name, and BalanceDue.
You plan to convert the Customer class into a data contract.
You need to ensure that only the Id property and the Name property are passed to the client applications.
Which code segment should you use?

정답: B
You have some code:
<system.diagnostics>
<sources>
(.......)
<listeners>
<add name="DefaultListener" />
</listeners>
</source>
</sources>
What line should you insert at (......) to enable tracing?

정답: C
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You host the service in a Web application named ExamService. You create a service extension file called ExamService.svc. You add the following code fragment to the web.config file.

You need to create a client proxy by referencing the service's metadata. Which address should you reference?

정답: D
You are creating a client application that will call a Windows Communication Foundation service. The service was created by using Microsoft .NET Framework 3.5.
You write the following code segment.
[DataContract]
public class CreditCard {
private string cardNumber = 0; [DataMember] public string Name { get; set; } [DataMember] public string CardNumber { get { return cardNumber; } set { if (!IsValidCreditCardNumber(value)) { throw new ArgumentException("Invalid credit card number"); } cardNumber = value; } }
} You plan to share the validation logic between the client application and the WCF service.
You need to generate a client-side service proxy that includes the validation logic.
Which four tasks should you perform? (Each correct answer presents part of the solution. Choose four.)

정답: A,B,C,F
You are creating a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5.
The client application consumes the Web Services Enhancements (WSE) 3.0 Web service.
The Web service uses standard WSE 3.0 to transfer binary data to the client application.
The client application uses the following binding configuration.
(Line numbers are included for reference only.)

You need to ensure that the client application receives binary data from the WSE 3.0 Web service.
Which code fragment should you insert at line 03?

정답: D

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기