Which class should be used when you want to create a proxy to consume this service?
How can this be ensured?
DRAG DROP
Exhibit:
You are modifying an existing Windows Communication Foundation (WCF) service that is defined
as follows
[ServiceContract]
public interface MessageProcessor {
[OperationContract]
void PassGuideProcess ()
public class MessageProcessor: IMessageProcessor {
public void ProcessMessage()
PassGuideSubmit();
}
There is a WCF (Windows Communication Foundation) service PassGuideService.
It is defined in the exhibit.
PassGuideSubmit uses another service not defined above.
There is performance problem with the PassGuideProcess method when it is run in heavy load.
Processing of multiple messages must be supported.
Additionaly you must make sure that new messages is only processed when PassGuideProcess is
not waiting for request and there is no waiting for PassGuideSubmit processes to finish.
How can this be ensured?
How should the router be implemented?
DRAG DROP
There is a WCF (Windows Communication Foundation) service PassGuideService.
PassGuideService is implementing a contract through one-way and request reply operations.
PassGuideService is exposed over a TCP transport.
End users use a router to access PassGuideService.
How should the router be implemented?
How can this be ensured?
How can this be ensured?
Exhibit:
[ServiceContract]
public interface IService
{
[OperationContract]
string PassGuide1();
[OperationContract]
string PassGuide2();
}
There is a WCF (Windows Communication Foundation) client PassGuideClient.
The service contract of PassGuideClient is being displayed in the exhibit.
There are two operations PassGuide1 and PassGuide2.
Calls to PassGuide1 and PassGuide2 from PassGuideClient must not be unencrypted.
How can this be ensured? Select all that apply.
How can this be achieved?
DRAG DROP
Exhibit:
[MessageContract]
public class Agent
{
public string PassGuideName { get; set: }
public string PassGuideSecret { get; set; }
}
There is a WCF (Windows Communication Foundation) process PassGuideProcess.
When clients are started the send messages to PassGuideProcess. These messages are
accepted by PassGuideProcess.
The contract of the messages is being displayed in the exhibit.
PassGuideProcess must be able to make sure that the property values is kept unchanged after it
has been sent by the client.
PassGuideName should be sent in clear text while PassGuideSecret must not. PassGuideProcess
must be able to read both.
How can this be achieved?
How can this be achieved?
DRAG DROP
Exhibit:
[DataContract]
public class Order {
[DataMember]
public string CustomerName { get; set;}
[DataMember]
public string PhoneNumber { get; set; }
}
There is a WCF (Windows Communication Foundation) process PassGuideProcess.
PassGuideProcess handles orders.
The data contract of Order is displayed in the exhibit.
It includes name of the customer (CustomerName) and their telephone number (PhoneNumber).
The Order data must be transmitted from the client to PassGuideProcess.
PhoneNumber data must not be sent in clear text, but this data must be available for
PassGuideProcess.
How can this be achieved?
How can this be ensured?
Exhibit:
<ServiceContract>
Public Interface lService
<OperationContract>
Function PassGuide1() As String
<OperationContract0>
Function PassGuide2() As String
End Interface
There is a WCF (Windows Communication Foundation) client PassGuideClient.
The service contract of PassGuideClient is being displayed in the exhibit.
There are two operations PassGuide1 and PassGuide2.
Calls to PassGuide1 and PassGuide2 from PassGuideClient must not be unencrypted.
How can this be ensured? Select all that apply.
How can you ensure that only users that are members of the role named Employees can use the ConfirmOrder metho
DRAG DROP
Exhibit:
service contract [ServiceContract]
public interface IOrderProcessing
{
[OperationContract]
void ConfirmOrder(int id)
}
<ServiceContract>
Public Interface IOrderProcessing
<OperationContract>
Sub ConfirmOrder(ByVal id As Integer)
End Interface
There is a WCF (Windows Communication Foundation) service PassGuideService.
PassGuideService is implementing the service contract being displayed in the exhibit.
How can you ensure that only users that are members of the role named Employees can use the ConfirmOrder method?
How can this be achieved?
Exhibit:
<ServiceContract>
Public Interface ICatalog
<OperationContract>
<WebGet(UriTemplate =”/Catalog/Itemsl{id}’.
ResponseFormat =WebMessageFormatJson)>
Function PassGuideRetrieve(ByVal id As Integer) As String
End Interface
There is a WCF (Windows Communication Foundation) service.
The service is consumed by an ASP. NET Web application PassGuideApp.
/Catalogsvc is used to host the service.
The definition of the service is displayed in the exhibit.
JQuery, with variable EmployeeID, must be used to call the service to obtain data of an item
indicated by EmployeeID.
How can this be achieved?