PrepAway - Latest Free Exam Questions & Answers

Category: 70-523

Exam 70-523: Upgrade: Transition your MCPD .NET Framework 3.5 Web Developer Skills to MCPD .NET Framework 4 Web Developer

What should you do?

You are implementing an ASP.NET Dynamic Data Web site.
The Web site includes a data context that enables automatic scaffolding for all tables in the data model. The Global.asax.cs file contains the following code segment. public static void RegisterRoutes(RouteCollection routes) { {
routes.Add(new DynamicDataRoute(“{table}/ListDetails.aspx”) {
Action = PageAction.List,
ViewName = “ListDetails”,
Model = DefaultModel
});
routes.Add(new DynamicDataRoute(“{table}/ListDetails.aspx”) {
Action = PageAction.Details,
ViewName = “ListDetails”,
Model = DefaultModel
});
}
You need to display the items in a table named Products by using a custom layout.
What should you do?

Which event handler should you add?

You are implementing an ASP.NET page in an e-commerce application. Code in a btnAddToCart_Click event handler adds a product to the shopping cart.
The page should check the status of the shopping cart and always show a cart icon when one or more items are in the shopping cart. The page should hide the icon when the shopping cart has no items. You need to add an event handler to implement this requirement.
Which event handler should you add?

Which source should you recommend?

You are designing an ASP.NET Web application for content management.
You have the following requirements:
Support multiple languages.
Support dynamic changes to site content.
Provide the ability to add content to the site without making changes to files within the application directory.
You need to recommend the applications source for retrieving content.
Which source should you recommend?


Page 7 of 14« First...56789...Last »