单项选择题
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="C#" Src="~/article.master.cs" 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? ()
A. <%@ Page Language="C#" Theme="article"%>
B. <%@ Page Language="C#" MasterPageFile="~/article.master"%>
C. <%@ Page Language="C#" ie:MasterPageFile="~/article.master"%>
D. <%@Page Language="C#" all:MasterPageFile="~/article.master"%>
相关考题
-
多项选择题
You create Web sites for your company. You apply a consistent design to the pages and controls of the Web sites. You need to make style changes to all of the Web sites on the Web server. You want to achieve this goal without having to edit the individual pages on each Web site. Which two actions should you perform? ()
A. Place a theme in the App_Themes directory under the application root directory.
B. Place a theme under an ASP.NETClientFiles folder under the ASP.NET installation directory.
C. Assign a theme by setting the <%@ Page Theme="..." %> directive to the name of the application theme.
D. Assign a theme by specifying the <pages theme="..."/> section in the Web.config file. -
单项选择题
You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages on the Web site. Which tool should you use? ()
A. aspnet_compiler.exe
B. InstallUtil.exe
C. CSC.exe
D. aspnet_wp.exe -
单项选择题
You create a large, n-tier Web application that has a custom event tracking system. You need to create a custom event type that enables your event tracking system to record all relevant event details for all types of events. The events must be stored in Microsoft SQL Server. From which base type should your custom event type inherit? ()
A. IWeb Event Custom Evaluator
B. Web Event Provider
C. Web Base Event
D. Web Audit Event
