PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-513 (update June 30th, 2014)

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

How can this be achieved?

DRAG DROP
Exhibit:
[ServiceContract]
public interface IDataService
[OperationContract]
string PassGuideData();
There is a WCF (Windows Communication Foundation) solution PassGuideSol, which is exposing
the contract being displayed in the exhibit.
At the moment calls to PassGuideData has a 10 seconds completion time.
Current client calls makes blocking calls to PassGuideData.
New clients must be allowed to make non-blocking calls to obtain data from PassGuideData.
At the same time the existing clients must not break.
How can this be achieved?

How can this be achieved?

DRAG DROP
Exhibit:
[ServiceContract]
public interface IDataAccessService
{
[OperationContract]
void PassGuidePut(string message)
[OperationContract]
[FaultContract(typeof(TimeoutFaultException))
[FaultContract(typeof(FaultException))]
string PassGuideSearch(string search);
}
There is a WCF (Windows Communication Foundation) service.
The service implements the contract being displayed in the exhibit.
Database timeouts causes PassGuideSearch to throw TimeoutFaultException exceptions.
Other issues that causes problems for PassGuideSearch thows Exceptions.
The clients receives the exceptions as generic FaultException exceptions.
A new channel must be created on the client. New error handling code for PassGuideSearch must
be created. This code should only handle errors on the new channel.
How can this be achieved?

How can this be achieved?

DRAG DROP
Exhibit:
[ServiceContract]
public interface ICatalog
{
[OperationContract] [WebGet(UriTemplate = “/Catalog/Items/{id}”,
ResponseFormat = WebMessageFormatJson)]
string PassGuideRetrieve(int id);
}
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?

How can this be achieved?

DRAG DROP
Exhibit:
[DataContract(Namespace)]
public class Item {

[ServiceContract(Namespace)]
public interface Catalog
{
[OperationContract]
[WebInvoke(Method = “POST”, UriTemplate = “Item”)]
Item UpdateItem(Item item);
}
}
There is a WCF (Windows Communication Foundation) service that is being consumed.
The interface of the service is displayed in the exhibit.
There is a WebResponse with the name of PassGuideResponse that the client application
receives from the service.
PassGuideResponse must be deserialized into a strongly typed object.
This object represents value that is returned by the method.
How can this be achieved?

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?


Page 8 of 15« First...678910...Last »