PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-515 (update January 25th, 2014)

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

How can you enforce that the settings in the web.config is applied wherever PassGuideWS is used?

DRAG DROP
There is a Web Site PassGuideWS.
PassGuideWS is deployed at several physical places.

Each physical place have specific SMTP settings.
The SMTP settings, for each place, is stored in a file PassGuide.config in the Web Site root
folder.
An ASP.NET Web site template is used.
How can you enforce that the settings in the web.config is applied wherever PassGuideWS
is used?

Which event should you use?

There is an ASP.Net application PassGuideApp.
PassGuideApp has a Vehicle class.
The Vehicle class has a property Mileage.
There is a web page PassGuidePage.
With PassGuidePage a list of Vehicle objects are presented in a GridView control.
A row in this control should be displayed with green color if the Milage is greater than 3.
Which event should you use? Select two.

How can this been achieved?

There is a ASP.NET application named PassGuideApp.

PassGuideAPP has some pages which have data-bound GridView controls.
There is code (JavaScript) that occasionally change some particular data items of these
controls.
This code must be able to find HTML elements that has been created for these controls for
every particular post.
However, if the controls are moved between the pages, you must make sure that the HTML
elements does not need to be updated.
How can this been achieved? Select three.

What should you do?

There is a ASP.NET application named PassGuideApp.
PassGuideApp has a page PassGuidePage.aspx.
There is an ASP.NET skin file default.skin in a scheme.
There are two asp:Button controls for Information and Contact.
The Information button should have a separate style.
The Contact button should use the default style.
What should you do? Select all that apply. Use the minimum number of steps.

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.


Page 5 of 12« First...34567...10...Last »