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 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?

Which code should be used?

DRAG DROP

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
There is a single project area for PassGuideApp.
In the Areas folder there is a subfolder Employee.
There are files EmployeeC.cs and Index.aspx in proper subfolders.
The file Route.cs is stored in the Employee folder.
Loading the URL http://PassGuideApp/employee must return the correct page.
Which code should be used?

How can remedy the problem?

DRAG DROP

Exhibit:

There is a ASP.NET MVC 2 Web Application named PassGuideApp.
There is a controller with has the code displayed in the exhibit.
There are two Edit actions.
The first Edit action shows details on the employee that is edited.
The second Edit action is put into action when a user clicks a Save button in order to
update the Employee details.
However, a run time exception claims that the Edit Action is ambiguous.
How can remedy the problem?
Note: each action is a complete solution.

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 »