PrepAway - Latest Free Exam Questions & Answers

Category: Uncategorized

Which code segment should you add to the action at line 03?

You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports
multiple cultures.
The application contains three resource files in the Resources directory:
ProductDictionary.resx
ProductDictionary.es.resx
ProductDictionary.fr.resx
Each file contains a public resource named Currency with the localized currency symbol. The
application is configured to set the culture based on the client browser settings.
The application contains a controller with the action defined in the following code segment. (Line
numbers are included for reference only.)

You need to set ViewBag.LocalizedCurrency to the localized currency contained in the resource files.
Which code segment should you add to the action at line 03?

How should you build the class constructor?

DRAG DROP
You are developing an ASP.NET MVC application that authenticates a user by using claims‐based
authentication.
The application must:
Use Windows Identity Foundation 4.5.
Support the Windows Azure Access Control Service.
You need to implement authentication.
How should you build the class constructor? (To answer, drag the appropriate code segment to the
correct location or locations in the answer area. Each code segment may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view content.)



How should you update the Application_Start method?

HOTSPOT
You are developing an ASP.NET MVC application that has pages for users who browse the site with
Windows Phone 7.
The pages for Windows Phone 7 include the following files:
_Layout.WP7.cshtml
Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to Windows
Phone 7 users.
How should you update the Application_Start method? (To answer, select the appropriate option
from the drop‐down list in the answer area.)








Page 190 of 197« First...102030...188189190191192...Last »