PrepAway - Latest Free Exam Questions & Answers

Category: 70-553

Exam 70-553: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 1

Which two actions should you perform?

You create a Web Form. The Web Form calls a method as part of its processing. The method takes a long time to process. In addition, the other Web Forms in the ASP.NET Web site are now taking longer to process. You need to decrease the page response times by executing the long running method in parallel to other requests. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

Your Web site uses custom Themes. Your Web site must support additional Themes based on the user’s company name. The company name is set when a user logs on to the Web site. The company’s Theme name is stored in a variable named ThemeName. You need to use this variable to dynamically set the Web site’s Theme. What should you do?

What should you do?

You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.

<asp:contentplaceholder id=”area1″ runat=”server”/>
<asp:contentplaceholder id=”area2″ runat=”server”/>

You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in
Template.master.

<asp:Content ContentPlaceHolderID=”area1″ Runat=”Server”/> <asp:Content ContentPlaceHolderID=”area2″ Runat=”Server”/>

You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do?

Which code segment should you use?

You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives.

<%@ Master Language=”VB” CodeFile=”article.master.vb” Inherits=”article” %>

You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site. Which code segment should you use?


Page 10 of 10« First...678910