PrepAway - Latest Free Exam Questions & Answers

Category: 70-513 (v.1)

Exam 70-513: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4 (update June 30th, 2014)

What should you do to accomplish the task?

You work as a Windows Developer for PassGuide.com. You have a task to create a WCF service
4.0 by using Microsoft .NET Framework 4.0. The WCF service will be hosted in a managed
console application of the Framework. The WCF 4.0 service endpoint has an address that is
comparative to the base address of the WCF service. You are required to programmatically add
and manage the base address to the WCF service.
What should you do to accomplish the task?

Which of the following implementations would you use?

You work as a Windows Developer for PassGuide.com. You are required to handle orders placed
for the company’s IT department. You are required to write the following code for a service
contract:
<ServiceContract>
Public Interface IOrderManager
<OperationContract>
Sub OrderPlaced(ordered As Integer)
EndSub
End Interface
You want to make sure that the OrderPlaced method uses transactions, and if no exception
occurs, then regulates and commits automatically. Which of the following implementations would
you use?

Which of the following values for the session instance will You use to accomplish the task?

You work as a Windows Developer for PassGuide.com. You are required to create a WCF 4.0
service that will be used by multiple clients afterwards. According to the requirements, one service
object should handle all service calls and this service object should not be recycled.
Which of the following values for the session instance will You use to accomplish the task?

Which of the following code statements should you insert at the beginning of the above mentioned code segment?

You work as an Application Developer for PassGuide.com. You have been assigned to create a
WCF service for the Business School of Management. You write the following code segment to
define the service:
Public Interface ISchoolService
<OperationContract()>
Sub FindStudent(int StudentID)

End Interface
Public Class School
Implements ISchoolService
<OperationBehavior(TransactionAutoComplete:=False, TransactionScopeRequired:=True)
>
Public Sub FindStudent(int studentnumber)
End Sub
End Class
Your next task is to set the <ServiceContract> attribute for the transaction behavior of this service.
Which of the following code statements should you insert at the beginning of the above mentioned
code segment?

Which of the following actions would you choose to troubleshoot the problem and accomplish the task?

You work as a Windows Developer for PassGuide.com. The company uses .NET Framework 4.0
as its application platform. You are tasked to create a WCF service based on .NET 4.0 that uses
message queues. You also find that most of the messages that are in the queue failed to reach
their final destination.
Which of the following actions would you choose to troubleshoot the problem and accomplish the
task?


Page 15 of 15« First...1112131415