PrepAway - Latest Free Exam Questions & Answers

Category: 70-515 (v.2)

Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 (update January 25th, 2014)

You need to resolve two problems: A) the client proxy must return a List <Employees> instead of an array

DRAG DROP
There is a Visual Studio 2010 solution.
The solution includes an ASP.NET project.
The solution also includes a WCF service project.
The WCF service includes PassGuideEmployees method.
PassGuideEmployees returns an array of Employee objects.
PassGuideEmployees takes no arguments.
A proxy class is used by the application to access the WCF.
The wizard ‘Add Service Reference’ is used to make the proxy class.
The service endpoint is manually adjusted to another port.
You need to resolve two problems:
A) the client proxy must return a List <Employees> instead of an array.
B) the client must use the adjusted service address.

What code should be used for this?

DRAG DROP

Exhibit:

There is an ASP.NET page PGPage.
The code-behind file of PGPage is displayed in the exhibit.
There is an application PassGuideApp.
PassGuideApp has a classed named Employees.
Employees has a Hired property of type string.
A client-side script needs data.
The JavaScriptSerializer class is used to serialize the Hired property of each post of the
Employee list.
What code should be used for this?


Page 7 of 12« First...56789...Last »