Call document.write.
Call Response.Write.
Call HttpUtility.UrlEncode.
Call HttpUtility.HtmlEncode.
第1题:
You configure Microsoft Internet Explorer 7 with a Really Simple Syndication (RSS) subscription to MSN Entertainment on your computer. Your RSS subscription Web page fails to show the information that the RSS feed Web page displays from MSN Entertainment. You need to ensure that Internet Explorer displays the current content from the RSS feed.What should you do?()

A.A
B.B
C.C
D.D
第2题:
第3题:
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You create a folder named Dark in the App_Themes folder of the Web application. You also addfour skin files to this folder. You have to make sure that the controls on a page have their appearances overridden by the control definitions defined in the skin files. What should you do? Which Page directive should you use?()
第4题:
You are implementing an ASP.NET Web site that will be accessed by an international audience. The site contains global and local resources for display elements that must be translated into the language that is selected by the user. You need to ensure that the Label control named lblCompany displays text in the user’s selected language from the global resource file. Which control markup should you use?()
第5题:
You are perfoming security testing on an existing asp.net web page.You notice that you are able to issue unauthorised postback requests to the page. You need to prevent unauthorised post back requests. which page directive you use?()
第6题:
You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application. myStrings.resx myStrings.en-CA.resx myString.en-US.resx myStrings.fr-CA.resx myStrings.es-MX.resxEach resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()
第7题:
You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()
第8题:
In the Web.config file, enable impersonation.
In IIS, enable anonymous access.
In IIS, disable anonymous access.
In the Web.config file, set the authentication mode to Windows.
第9题:
Configure the SqlMembershipProvider in the web.config file.
Configure the SqlProfileProvider in the web.config file.
Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.
Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.
第10题:
In the Web.config file, enable impersonation.
In IIS, enable anonymous access.
In IIS, disable anonymous access.
In the Web.config file, set the authentication mode to Windows.
第11题:
the EnableEventValidation attribute
the ResponseEncoding attribute
the ValidateRequest attribute
the Strict attribute
第12题:
Set the Page attribute to AutoEventWireup=False. Remove the attribute onunload=Page_Unload from the Web Form element.
Set the Page attribute to AutoEventWireup=False. Add the attribute OnUnload=Page_Unload to the Web Form element.
Set the Page attribute to AutoEventWireup=False. Add the Web Form attribute autocomplete=on.
Set the Page attribute to AutoEventWireup=True.
第13题:
There are many forms of online advertising. ( )is a small rectangular object on a and includes a hyperlink to the Web page that displays a stationary or moving advertiser&39;s Web site.
A.A text ad B.A site sponsorship ad C.A pop-up ad D.A banner ad
第14题:
When you are designing a Web application, which options define how rich text displays in a browser?()
第15题:
You are implementing an ASP.NET Web page. The page includes several controls, but only a GridView requires view state. You set the GridView… You need to ensure that the page will omit unneeded view state. Wich @ Page directive should you use?()
第16题:
You are implementing a Web page that displays text that was typed by a user. You need to display the user input in the Web page so that a cross-site scripting attack will be prevented. What should you do?()
第17题:
You are testing an existing ASP.NET page. The page includes a text box. You are able to execute malicious JavaScript code by typing it in the text box and submitting. You need to configure the page to prevent JavaScript code from being submitted by the text box. In the @ Page directive, which attribute should you set to true?()
第18题:
You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application.myStrings.resxmyStrings.enCA.resxmyString.en-US.resxmyStrings.fr-CA.resxmyStrings.es-MX.resx resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()
第19题:
Using HTML
Using Java Applet
Using AJAX Control
Using Best Fit for OS
第20题:
Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Parent lblRegion.Text = custom.Region
Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Master lblRegion.Text = custom.Region
Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Page.FindControl(lblRegion) lblRegion.Text = Me.Region
Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Master.FindControl(lblRegion) lblRegion.Text = Me.Region
第21题:
<% Page EnableViewState=”true” ViewStateMode=”Enabled” _ %>
<% Page EnableViewState=”true” ViewStateMode=”Disabled” _ %>
<% Page EnableViewState=”false” ViewStateMode=”Disabled” _ %>
<% Page EnableViewState=”false” ViewStateMode=”Enabled” _ %>
第22题:
protected void Page_Error(object sender, EventArgs e) { lblResults.Text = e.ToString(); e=null;}
protected void Page_Error(object sender, EventArgs e) { lblResults.Text = Server.GetLastError().ToString(); Server.ClearError();}
protected void Page_Error(object sender, EventArgs e) Response.Write(e.ToString()); e=null;}
protected void Page_Error(object sender, EventArgs e) Response.Write(Server.GetLastError().ToString()); Server.ClearError();}
第23题:
Enable the feed reading view in the RSS feed settings.
Configure the RSS feed properties to use the minimum interval value.
Configure the RSS feed properties to keep only the most recent 50 items.
Configure the RSS feed properties to automatically download attached files.
第24题:
Modify the text size.
Enable Caret Browsing.
Enable Compatibility View.
Disable the SmartScreen Filter.