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)

Which should be done?

DRAG DROP

There is an ASP.NET Web site PassGuideWS.
There is an ASP.NET Web application PassGuideApp.

There is an ASP.NET page PassGuide.aspx
PassGuide.aspx has a Web user control PassGuideC.ascx.
The declaration of PassGuideC.ascx is displayed in the exhibit.
You add the PassGuideMethod to the Code-behind file. Please refer to the exhibit.
A delegate PassGuideEventHandler is defined (see the exhibit).
An event PassGuideEvent, with the type of PassGuideEventHandler, must be added to
PassGuideC.ascx, while attaching the PassGuideMethod of PassGuidePassGuide.aspx to
PassGuideEvent.
Which should be done?

How should the ListProducts be called to achieve this?

DRAG DROP
Class exhibit:

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
PassGuideApp includes a controller class.
The definition of this class is displayed in the class exhibit.
There is view, strongly typed, which shows Vechicle instance details.

This view should also include a Vehicle Products listing.
How should the ListProducts be called to achieve this?

How can this problem be resolved?

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
PassGuideApp includes a controller class.
The definition of this class is displayed in the class exhibit.
The @Page directive exhibit displays the page directive of a page Index.aspx which is
stored in the Views folder of PassGuideApp.
You use google chrome to test PassGuideApp. The error exhibit shows the error that is
returned when the Index method is invoked.
How can this problem be resolved? Select two.

How can you ensure this?

Exhibit:

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
PassGuideApp has multiple folders.
The folder Views/Shared/DisplayTemplates folder includes a file PassGuideH.ascx.
PassGuideH.ascx do specialized integer formatting.
There is a folder Models folder that contains an Employ class.
The definition of the Employ class is displayed in the exhibit.
Whenever a view, with a model type of Employ, in PassGuideApp is using the
HtmlHelper.DisplayForModel method on CurrentValue values the custom formatting need
to be applied.
How can you ensure this?

What code should be used?

DRAG DROP
Exhibit:

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
There is a controller PassGuideCtrl.
The signatures of PassGuideCtrl is displayed in the exhibit.
Employee details is displayed when an employee name is entered as the path by invoking

the EmployeesByName action.
Note: Employee names must be between 7 and 16 characters in length, and contains
underscores and alphanumerical characters.
What code should be used?

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?


Page 6 of 12« First...45678...Last »