You have created an ASP.NET server control named Shopping Ca

题目
单选题
You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if View State is disabled. What should you do?()
A

Require developers to set EnableViewStateMac to true.

B

Store state in ControlState instead of ViewState.

C

Serialize the state into an Application state entry called MyControl.

D

Require developers to change the session state mode to SQLServer.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if View State is disabled. What should you do?()

  • A、Require developers to set EnableViewStateMac to true.
  • B、Store state in ControlState instead of ViewState.
  • C、Serialize the state into an Application state entry called "MyControl".
  • D、Require developers to change the session state mode to SQLServer.

正确答案:B

第2题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. The following markup should be added to a page:   The Question control is a custom server control that originates from the WebControl. This controldoes not implement any interfaces. The following characteristics are applied to the control’s class:ToolboxData, Designer, and DefaultProperty. You have to make sure that the Question control is able to participate in server-side validation onthis page. What should you do?()

  • A、You should consider modifying the Question control’s class in order to implement IValidator.
  • B、You should consider setting the ValidationGroup property of the RequiredFieldValidator controlto UserControl.
  • C、You should apply the ValidationProperty feature to the Question control’s class.
  • D、You should consider setting the InitialValue property of the RequiredFieldValidator control to anempty string.

正确答案:C

第3题:

On the Junos Pulse Access Control Service, you have created a role called Secret that you only want to provide to users who present a certificate.Using the admin GUI, which two features would you configure to satisfy this requirement?()

A. Sign-in Policy

B. Role Mapping Rule

C. Role Restrictions

D. Trusted Server CA


参考答案:B, C

第4题:

You have two servers named Server1 and Server2. Both servers run Windows Server 2008. Server1 is configured as an enterprise root certification authority (CA). You install the Online Responder role service on Server2. You need to configure Server1 to support the Online Responder. What should you do()

  • A、Import the enterprise root CA certificate.
  • B、Configure the Certificate Distribution Point (CDP) extension.
  • C、Configure the Authority Information Access (AIA) extension.
  • D、Add the Server2 computer account to the CertPublishers group.

正确答案:C

第5题:

Company.com has employed you as their exchange administrator.The Company.com network contains an exchange server 2010 organization.the Company.com organization contains a hub transport server as well as an edge transport server.the hub transport server is named -ex01 and the edge transport server is named -ex02.-ex02 is used to send smtp mail to the internet.a new Company.com directive requires that a disclaimer is added to all internal and external mail messages sent by employees. What should you do?()

  • A、your best option would be to have the properties of a send connector modified from -ex02.
  • B、your best option would be to have a transport rule created from -ex01.
  • C、your best option would be to have a transport rule created from -ex02.
  • D、your best option would be to have the properties of a send connector modified from -ex01.

正确答案:B

第6题:

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?()

  • A、<asp:Label ID="lblCompany" runat="server" meta:resourcekey="lblCompany" />
  • B、<asp:Label ID="lblCompany" runat="server" Text="meta:lblCompany.Text" /> 
  • C、<asp:Label ID="lblCompany" runat="server" Text="<%$ Resources:lblCompanyText %>" />
  • D、<asp:Label ID="lblCompany" runat="server" Text="<%$ Resources:WebResources, lblCompanyText %>" />

正确答案:D

第7题:

Your network consists of a single Active Directory domain. All servers run Windows Server 2003 Service Pack 2 (SP2). You have a server named Server1. Server1 is configured as an enterprise root certification authority (CA). You perform a complete backup of Server1 that includes the system state. Server1 fails. You install a new server named Server1. You need to recover the enterprise root CA. What should you do? ()

  • A、Restore the system state backup.
  • B、Restore the %systemroot%/system32/certsrv folder.
  • C、From the Certificates snap-in, import the enterprise root CA certificate.
  • D、From the Certificates snap-in, import the enterprise root CA certificate revocation list (CRL).

正确答案:A

第8题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()

  • A、the ITemplatable interface 
  • B、the INamingContainer interface 
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

第9题:

You have 10 stand alone servers taht run Windows Server 2008. You install WSUS on a server named Server1. You need to configure all of the servers to receive updates from Server1  What should you do()? 

  • A、configure the windows Update Settings on each server by using control panel
  • B、Run the wuauclt.exe /detectnow command on each server
  • C、Run the wuauclt.exe /reauthorization command on each server
  • D、Configure the Windows Update settings on each server by using local group policy.

正确答案:D

第10题:

You have implemented folder compression on the Windows 2000 Server and Windows 2000 Professional computers on your network. A user named Julia copies a compressed folder from an NTFS partition on her Windows 2000 Workstation to a shared NTFS folder on a remote Windows 2000 Server.  What effect will this have on the newly created folder?()

  • A、The newly created folder will retain its original compression state.
  • B、The newly created folder will inherit the compression state of the target folder.
  • C、The newly created folder will be automatically uncompressed.
  • D、Folder compression depends on the users access permissions.

正确答案:B

更多相关问题