What code is needed?
How can this be achieved?
DRAG DROP
There is an ASP.NET Dynamic Data Web site PassGuideWS.
PassGuideWS has a Web page named PassGuidePage.
PassGuideDC3 is an ObjectDataSource control in PassGuidePage.
PassGuidePage also have GridView control PassGuideGW.
PassGuideGW uses PassGuideDC3 as data source.
Editing is enabled for PassGuideGW.
PassGuideGW supports auto-generated posts.
Dynamic Data behavior is supported by PassGuideGW.
PassGuideWS uses a Web Service to list and edit instances of a class Employees through
exposed instances.
Clients uses PassGuideGW to handle these Employee instances.
Clients must be able to update these instances.
How can this be achieved?
What action should you take?
There is an ASP.NET Dynamic Data Web site PassGuideWS.
Global.asax of PassGuideWS is displayed in the exhibit.
PassGuideWS has one data context which, for all the tables in the data model, enable
automatic scaffolding.
A custom layout is used to display posts from a Table Employees.
What action should you take?
Which code should be used?
Which code should be used for the method?
There is an ASP.NET application named PassGuideApp.
To handle the database PassGuideApp uses LINQ to Entities.
To update a database row corresponding to a detached entity of type Employee
PassGuideApp uses the PGEmployee method. The method is defined in the exhibit.
Which code should be used for the method?
What code should be used for this?
DRAG DROP
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?
Which code should be used for PassGuideView?
DRAG DROP
There is an ASP.NET page PassGuidePage.
PassGuidePage has EmployeesDS method which produces a DataSet.
This DateSet includes data from two tables EmpoyeerDetails and PersonalDetails.
There is a view PassGuideView.
PassGuideView displays data from the PersonalDetails tables.
Which code should be used for PassGuideView?
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.
How can this be achieved?
What action should be take?
There is an ASP.NET web site PassGuideWS.
The PassGuideWS root directory includes a page PGpage.aspx.
PGpage.aspx must be displayed whenever there is an unhandled error. At the same time
the displayed URL in the browser of the user is not changed.
What action should be take? Select two.