You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart. CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a customer from CustomerPart, OrdersPart must update. Which four actions should you perform? ()A、Add the ConnectionProvider attribute to OrdersPart.B、Add the ConnectionProvider attribute to CustomerPart.C、Add the ConnectionConsumer attribute to CustomerPart.D、Add the ConnectionConsumer attribute to OrdersPart.E、Add OrdersPart and CustomerPart to the WebParts directory.F、Add OrdersPart and CustomerPart to the App_Code directory.G、Declare the connections within a StaticConnections subtag of a WebPartZone class.H、Declare the connections within a StaticConnections subtag of a WebPartManager class.I、Define an interface specifying the methods and properties that are shared between the Web Parts.
You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart. CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a customer from CustomerPart, OrdersPart must update. Which four actions should you perform? ()
- A、Add the ConnectionProvider attribute to OrdersPart.
- B、Add the ConnectionProvider attribute to CustomerPart.
- C、Add the ConnectionConsumer attribute to CustomerPart.
- D、Add the ConnectionConsumer attribute to OrdersPart.
- E、Add OrdersPart and CustomerPart to the WebParts directory.
- F、Add OrdersPart and CustomerPart to the App_Code directory.
- G、Declare the connections within a StaticConnections subtag of a WebPartZone class.
- H、Declare the connections within a StaticConnections subtag of a WebPartManager class.
- I、Define an interface specifying the methods and properties that are shared between the Web Parts.
相关考题:
Your network contains an Active Directory forest.The forest contains three domain trees.Each domain tree contains multiple domains.You have an Active Directory-integrated DNS zone.You install a Web server named Web1. All of the users in the company will use Web1.You need to ensure that the users can access Web1 by using the URL http://web1. You want to achieve this goal by using the minimum amount of administrative effort.What should you do?()A. Configure a GlobalNames zone and add a Host (A) resource record for Web1.B. Create an Alias (CNAME) resource record for Web1 in the forest root domain zone.C. Create a reverse lookup zone and add an Alias (CNAME) resource record for Web1.D. Create a Host Information (HINFO) resource record for Web1 in the forest root domain zone.
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A. Include a data source identified as WebPartConnection1 on the Web Form.B. Include a Web Part identified as customerPart on the Web Form.C. Include a Web Part identified as ordersPart on the Web Form.D. Ensure that you declare an interface named IOrdersPart.E. Ensure that you declare an interface named ICustomerPart.F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server hosts multiple Web sites. You need to configure the server to automatically release memory for a single Web site. You must achievethis goal without affecting the other Web sites. What should you do?()A、Create a new Web site and edit the bindings for the Web site.B、Create a new application pool and associate the Web site to the application pool.C、Create a new virtual directory and modify the Physical Path Credentials on the virtual directory.D、From the Application Pool Defaults, modify the Recycling options.
You are designing an organizational unit (OU) structure to manage the New App servers. What should you do? ()A、 Create one OU that includes both the web servers and the database servers.B、 Create one OU that includes the web servers and one OU that includes the database servers.C、 Create one OU that includes the web servers. Then Place the database servers in the Computer Containers.D、 Place the web server and the database servers in the Domain Controller OU.
You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()A、Move the content of the Web application to C:/App1. Change the home directory for App1.B、Move the content of the Web application to C:/App1. Change the application pool for App1.C、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.D、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.
Your network consists of a single Active Directory domain. All servers run Windows Server 2008 R2. You plan to publish a Web site on two Web servers. You need to deploy an availability solution for your Web servers that meets the following requirements: èSupports the addition of more Web servers without interrupting client connections èEnsures that the Web site is accessible even if a single server fails What should you do?()A、Configure a failover cluster.B、Configure a Web garden on each Web server.C、Create a Network Load Balancing cluster.D、Create two application pools on each Web server.
You need to design a configuration for the Microsoft Outlook Web Access servers. What should you do?()A、Create a Network Load Balancing cluster that contains the Outlook Web Access serversB、Create a Microsoft Cluster Server cluster that contains the Outlook Web Access serversC、Create public DNS host (A) resource records for each Outlook Web Access server. Instruct each user to connect to the server that contains his or her mailboxD、Install Microsoft Application Center 2000 on the Outlook Web Access servers. Create a Web cluster that contains all of the Outlook Web Access servers
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A、Include a data source identified as "WebPartConnection1" on the Web Form.B、Include a Web Part identified as "customerPart" on the Web Form.C、Include a Web Part identified as "ordersPart" on the Web Form.D、Ensure that you declare an interface named "IOrdersPart".E、Ensure that you declare an interface named "ICustomerPart".F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site. What should you do? ()A、Use the Publish Web tool.B、Use the Copy Web tool.C、Use the command line to XCOPY the files.D、Create a Web Setup project.
You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()A、Add custom controls that emit XHTML to the Web Form.B、Add custom controls that emit WML to the Web Form.C、Add mobile controls to the Web Form.D、Add Web server controls to the Web Form.
You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()A、Create a valid definition in the Web.config file.B、Set the passwordFormat attribute of the configured membership provider to Encrypted.C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.
You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control?()A、BehaviorEditorPartB、AppearanceEditorPartC、PropertyGridEditorPartD、LayoutEditorPart
You create a Web Form. The Web Form allows users to log on to a Web site. You implement the login logic using a Login control named Login1. The membership data for the application is stored in a SQL Express database in the App_Data directory. You need to configure your application so that the membership data is stored in a local Microsoft SQL Server database. You add the following code segment to the Web.config file. Which two additional actions should you perform?()A、Use Aspnet_regsql.exe to create the Microsoft SQL Server database.B、Set Login1's MembershipProvider property to MySqlProviderConnection.C、Add the following code segment to the Web.config file.connectionStrings add name="MySqlProviderConnection" connectionString="valid connection string" //connectionStringsD、Add the following code segment to the Web.config file.appSettingsadd key="MySqlProviderConnection" value="valid connection string" //appSettingsE、In the ASP.NET configuration settings within IIS, ensure that Role Management Enabled is selected.F、Use the Web Site Administration Tool to select AspNetSqlMembershipProvider as the membership provider for your application.
You are creating a custom control. The UI of the control must contain several text boxes and two buttons. The control must be available in the global assembly cache for reuse across multiple Web applications. You need to achieve this functionality by using the minimum amount of code. What should you do? ()A、Create a control that derives from System.Web.UI.Control.B、Create a control that derives from System.Web.UI.WebControls.CompositeControl.C、Create a control that derives from System.Web.UI.WebControls.WebControl.D、Create a control that derives from System.Web.UI.UserControl.
You have a Web server named Web1 that runs Windows Server 2003 Service Pack 2 (SP2). Users on the internal network connect to the Web site on Web1 by using the URLhttp://www.contoso.com. From the Internet, you cannot connect to the Web site by using the URL http://www.contoso.com. You can connect to the Web site by using the public IP address of Web1.You need to ensure that users on the Internet can connect to the Web site on Web1 by using the URL http://www.contoso.com. You deploy a DNS server that is accessible on the Internet. What should you do next?()A、Create a stub zone for contoso.com. B、Create a primary zone for contoso.com. C、Create a secondary zone for contoso.com. D、Configure a conditional forwarder for contoso.com.
单选题You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site. What should you do? ()AUse the Publish Web tool.BUse the Copy Web tool.CUse the command line to XCOPY the files.DCreate a Web Setup project.
多选题You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()AInclude a data source identified as WebPartConnection1 on the Web Form.BInclude a Web Part identified as customerPart on the Web Form.CInclude a Web Part identified as ordersPart on the Web Form.DEnsure that you declare an interface named IOrdersPart.EEnsure that you declare an interface named ICustomerPart.FEnsure that each Web Part declares either a GetInterface or ProvideInterface method.
多选题You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()AInclude a data source identified as WebPartConnection1 on the Web Form.BInclude a Web Part identified as customerPart on the Web Form.CInclude a Web Part identified as ordersPart on the Web Form.DEnsure that you declare an interface named IOrdersPart.EEnsure that you declare an interface named ICustomerPart.FEnsure that each Web Part declares either a GetInterface or ProvideInterface method.
多选题You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? ()ACreate a valid definition in the Web.config file.BSet the passwordFormat attribute of the configured membership provider to Encrypted.CEnsure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.DEnsure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.
单选题You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server. What should you do?()AAdd a CompareValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its Operator property to DataTypeCheck.BAdd a RangeValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its MinimumValue property to 01/01/1900 and its MaximumValue to the current date.CAdd a CustomValidator control to the Web Form. Set its ControlToValidate property to txtDate. Write a function in the partial class that verifies the values as dates and returns a Boolean variable. Set the CustomValidators ClientValidationFunction to the name of your function.DAdd a RegularExpressionValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set the ValidationExpression property to ensure that the users input follows the format of nn-nn-nnnn, where n represents a number from 0 through 9.