최신 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. The service will be hosted in a Windows Service environment.
You need to create a Windows Service class that instantiates a service host.
Which code segment should you use?

Framework 3.5. The service will be hosted in a Windows Service environment.
You need to create a Windows Service class that instantiates a service host.
Which code segment should you use?

정답: D
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 need to prevent the custom binding from making a persistent connection to the service endpoint.
Which code segment should you use?

정답: B
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to ensure that the callback channel between the service and the client application is available for the service to send a status message.
Which code segment should you use?

Which code segment should you use?

정답: B
You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
The client applications are unable to use SSL You need to ensure that clients authenticate by using a token provided by a Security Token Service (STS). What should you do?
Framework 3.5.
The client applications are unable to use SSL You need to ensure that clients authenticate by using a token provided by a Security Token Service (STS). What should you do?
정답: D
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment.

The service uses a transactional binding. The TransactionFlow property for the binding is set to true. You need to ensure that the MyMethod method meets the following requirements:
Which code segment should you insert at line 05?

The service uses a transactional binding. The TransactionFlow property for the binding is set to true. You need to ensure that the MyMethod method meets the following requirements:
Which code segment should you insert at line 05?
정답: A
You are creating a distributed application by using Microsoft .NET Framework 3.5. The application uses Windows Communication Foundation.
The client applications require the users to provide a user name and a password.
You need to ensure that the server authenticates the client applications by verifying user names and passwords.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

The client applications require the users to provide a user name and a password.
You need to ensure that the server authenticates the client applications by verifying user names and passwords.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

정답: A,C
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. You are designing a data contract for a Windows Communication foundation (WCF) service that will be hosted by the application. You need to ensure that the data contract meets the following requirements: It does not support Schema versioning.
It allows additional contract and additional elements to be included over time. It allows the client applications to submit messages that contain additional elements without error.
What should you do?
It allows additional contract and additional elements to be included over time. It allows the client applications to submit messages that contain additional elements without error.
What should you do?
정답: 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.

You need to configure the WCF service to access the COM+ application from the WCF client application.
Which code fragment should you use?

You write the following code segment to implement the COM+ application.

You need to configure the WCF service to access the COM+ application from the WCF client application.
Which code fragment should you use?

정답: C
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application exposes a Windows Communication Foundation (WCF) service that will be consumed by an ASP. NET application. The WCF application and the ASP.NET application will be deployed on the same server. You need to ensure that the WCF service meets the following requirements:
The communication between the applications incurs minimum latency. The binding satisfies the ordered delivery constraint that is specified in the service implementation by using the DeliveryRequirements attribute.
Which binding object should you use?
The communication between the applications incurs minimum latency. The binding satisfies the ordered delivery constraint that is specified in the service implementation by using the DeliveryRequirements attribute.
Which binding object should you use?
정답: C
You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5. The service has a contract named IMyService.
You need to ensure that the service uses an XMLSerializer object.
Which code segment should you use?

Framework 3.5. The service has a contract named IMyService.
You need to ensure that the service uses an XMLSerializer object.
Which code segment should you use?

정답: D
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment. (Line numbers are included for reference only.)
01 <SetviceContract(SessionMode:=SessionMode.Required)> _
02 Public Interface lOrderManager 04 Sub CloseOrder()
05 End Interface
You need to decorate the operation as the method that closes the current session.
Which code segment should you insert at line 03?
01 <SetviceContract(SessionMode:=SessionMode.Required)> _
02 Public Interface lOrderManager 04 Sub CloseOrder()
05 End Interface
You need to decorate the operation as the method that closes the current session.
Which code segment should you insert at line 03?
정답: D
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?

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 have successfully defined a service contract named IManageOrders.
You write the following code segment.

You need to create a fault contract for the MarkOrderClosed method on the IManageOrders service contract. Which code segment should you add?
Framework 3.5. You have successfully defined a service contract named IManageOrders.
You write the following code segment.

You need to create a fault contract for the MarkOrderClosed method on the IManageOrders service contract. Which code segment should you add?
정답: A
You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment to define the service. (Line numbers are included for reference only.)

You need to set the ServiceContract attribute for the transaction behavior of the service. Which code segment should you insert at line 01?

You need to set the ServiceContract attribute for the transaction behavior of the service. Which code segment should you insert at line 01?
정답: B