单选题You create a Web server control named ContosoControls. You add a Web custom control named ContosoMailer to it. You then distribute the Web Control Library files to your team. You need to provide your team with the correct procedure for adding the Web Control Library to the items in the toolbox of Microsoft Visual Studio .NET. Which procedure should you provide to the team?()AWithin the toolbox, click Choose Items and then browse to and select the ContosoControls user control.BWithin the toolbox, click Choose Items and then browse to and select the ContosoMailer user control.CRight-click Web Project, click Add Reference, and then browse to and select the ContosoControls.dll file.DWithin the toolbox, click Choose Items and then browse to and select the ContosoControls.dll file.
单选题
You create a Web server control named ContosoControls. You add a Web custom control named ContosoMailer to it. You then distribute the Web Control Library files to your team. You need to provide your team with the correct procedure for adding the Web Control Library to the items in the toolbox of Microsoft Visual Studio .NET. Which procedure should you provide to the team?()
A
Within the toolbox, click Choose Items and then browse to and select the ContosoControls user control.
B
Within the toolbox, click Choose Items and then browse to and select the ContosoMailer user control.
C
Right-click Web Project, click Add Reference, and then browse to and select the ContosoControls.dll file.
D
Within the toolbox, click Choose Items and then browse to and select the ContosoControls.dll file.
参考解析
解析:
暂无解析
相关考题:
You are the network administrator for Litware, Inc. All network servers run Windows Server 2003.Your IIS server is named Server6. Its configuration is shown in the exhibit. (Click the Exhibit button.)Users access the internal network by connecting to http://server6.litwareinc.intra.A folder named Marketing_Data stores the Web interface for the company‘s client management tool. Currently,users in the marketing department access this tool by connecting to http://server6.litwareinc.intra/Marketing_Web.You share Marketing_Data on a server named Server2.You need to modify Server6 to ensure that marketing users can access Marketing_Data through the internal network.What should you do? ()A. Create a new virtual directory named Marketing_Web under the default Web site. Specify \\server2\Marketing_Data as the Web site content directory.B. Create a new Web site named Marketing_Data. Specify \\server2\Marketing_Data as the Web site home directory.C. Create a new Web site named Marketing_Data. Specify Marketing_Data as the host header name of the Web site.D. Redirect the default Web site home directory to http://server2/Marketing_Data. Specify Marketing_Data as the host header name of the default Web site.
You are a network administrator for your company. You manage a computer named Server6 that runs Windows Server 2003 with the default settings.You install Terminal Services on Server6. You attempt to connect to Server6 by using the URLhttp://Server6/Tsweb. You cannot connect to Server6. You need to be able to access Terminal Services on Server6 by using Internet Explorer 6.0.Which two actions should you perform? ()(Each correct answer presents part of the solution. Choose two.)A. Create a new Web site named Tsweb.B. Create a new virtual directory named Tsweb.C. Install IIS.D. Install the Remote Administration IIS subcomponent.E. Install the Remote Desktop Web Connection IIS subcomponent.
You create a master page named PageBase.master. The master page contains a Label control named lblTitle.You create a content page that references the master page.You need to change the Text property of the master page‘s lblTitle control from the content page.Which code segment should you use?()A.B.C.D.
Your company has an active directory forest that has five domains. All DNS servers are domain controllers. You need to ensure that users from all domains are able to access a web server named App1 by browsing http://App1. What should you do?()A.Configure and enable DFS-R on the App1 Web Server.B.Create a host (AAAA) record for the App1 Web server in the DNS zone for the forest root domain.C.Create a zone named GlobalNames on a DNS server. Replicate the GloballNames zone to all domain controllers in the forest. Create a host (A) record for the App1 Web server in the zone.D.Create a zone named LegacyWNS on a DNS server. Replicate the LegacyWNS zone to all domain controllers in the forest. Create a host (A) record for the App1 Web server in the zone.
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 interfaceD、the IPostBackDataHandler interface
Your company has an Active Directory forest that has five domains. All DNS servers are domain controllers.You need to ensure that users from all domains are able to access a Web server named App1 by browsing to http://App1. What should you do?()A、Configure and enable DFS Replication on the App1 Web server.B、Create a host (AAAA) record for the App1 Web server in the DNS zone for the forest root domain.C、Create a zone named GlobalNames on a DNS server. Replicate the GlobalNames zone to all domain controllers in the forest. Create a host (A) record for the App1 Web server in the zone.D、Create a zone named LegacyWINS on a DNS server. Replicate the LegacyWINS zone to all domain controllers in the forest. Create a host (A) record for the App1 Web server in the zone.
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 have the Web Server (IIS) role installed on a server that runs Windows Server 2008. You create a Web site named contoso.com. You copy an application named WebContent to the server. You need to enable the WebContent application on the Web site. What should you do?()A、At the command prompt on the server, run the appcmd add site command.B、At the command prompt on the server, run the appcmd add vdir command.C、Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Application.D、Select the Web site from the Internet Information Services (IIS) Manager console. Select Add Virtual Directory.
You create a Web server control named ContosoControls. You add a Web custom control named ContosoMailer to it. You then distribute the Web Control Library files to your team. You need to provide your team with the correct procedure for adding the Web Control Library to the items in the toolbox of Microsoft Visual Studio .NET. Which procedure should you provide to the team?()A、Within the toolbox, click Choose Items and then browse to and select the ContosoControls user control.B、Within the toolbox, click Choose Items and then browse to and select the ContosoMailer user control.C、Right-click Web Project, click Add Reference, and then browse to and select the ContosoControls.dll file.D、Within the toolbox, click Choose Items and then browse to and select the ContosoControls.dll file.
You are a network administrator for your company. You manage a computer named Server6 that runs Windows Server 2003 with the default settings.You install Terminal Services on Server6. You attempt to connect to Server6 by using the URLhttp://Server6/Tsweb. You cannot connect to Server6. You need to be able to access Terminal Services on Server6 by using Internet Explorer 6.0.Which two actions should you perform? ()(Each correct answer presents part of the solution. Choose two.)A、Create a new Web site named Tsweb.B、Create a new virtual directory named Tsweb.C、Install IIS.D、Install the Remote Administration IIS subcomponent.E、Install the Remote Desktop Web Connection IIS subcomponent.
You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()A、Create the ContosoUI control as a Web Control Library.B、Create the ContosoUI control as a Web user control.C、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.D、Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.
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. 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 have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()A、Enable WebDAV.B、Enable Server Side Includes.C、Configure both Web sites to use different IP addresses.D、Configure both Web sites to use different application pools.
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 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 interfaceB、the INamingContainer interfaceC、the IRequiresSessionState interfaceD、the IPostBackDataHandler interface
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 work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. There is a server which runs Windows Server 2008. You install the Web Server (IIS) server role on this server. You create a Web site named wiikigo.com. You copy an applicationnamed WebContent to the server. You need to enable the WebContent application on the Web site. What action should you perform?()A、The appcmd add vdir command should be run at the command prompt on the server.B、The appcmd add site command should be run at the command prompt on the server.C、You should choose the Web site from the Internet Information Services (IIS) Manager console. ChooseAdd Virtual Directory.D、You should choose the Web site from the Internet Information Services (IIS) Manager console. ChooseAdd Application.
单选题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 Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom Web user control named SharedControl. The control will be compiled as a library. You write the following code segment for the SharedControl control: 01 protected override void OnInit(EventArgs e) 02 { 03 base.OnInit(e); 04 ► 05 } All the master pages in the ASP.NET application contain the following directive. You need to ensure that the state of the SharedControl control can persist on the pages that reference a master page. Which code segment should you insert at line 04?()APage.RegisterRequiresPostBack(this); BPage.RegisterRequiresControlState(this); CPage.UnregisterRequiresControlState(this); DPage.RegisterStartupScript(SharedControl,server);
多选题You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()ACreate the ContosoUI control as a Web Control Library.BCreate the ContosoUI control as a Web user control.CWithin the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.DWithin the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.
单选题You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. There is a server which runs Windows Server 2008. You install the Web Server (IIS) server role on this server. You create a Web site named wiikigo.com. You copy an applicationnamed WebContent to the server. You need to enable the WebContent application on the Web site. What action should you perform?()AThe appcmd add vdir command should be run at the command prompt on the server.BThe appcmd add site command should be run at the command prompt on the server.CYou should choose the Web site from the Internet Information Services (IIS) Manager console. ChooseAdd Virtual Directory.DYou should choose the Web site from the Internet Information Services (IIS) Manager console. ChooseAdd Application.
单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application. You write the following code fragment: ’ runat="server"/ ’ runat="server" / When you access the Web page, the application throws an error. You need to ensure that the application successfully updates each caption and stores it in the database. What should you do?()AAdd the ID attribute to the Label control. BAdd the ID attribute to the TextBox control. CUse the Bind function for the Label control instead of the Eval function. DUse the Eval function for the TextBox control instead of the Bind function.
单选题Which control allows you to bind to data items that are returned from a data source and display them?()AListView Web Server ControlBDetailsView Web Server ControlCDataList Web Server ControlDData Web Server Control
单选题You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()AEnable WebDAV.BEnable Server Side Includes.CConfigure both Web sites to use different IP addresses.DConfigure both Web sites to use different application pools.
单选题You have a DNS server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). You have two Web servers named Server2 and Server3. The Web servers host an internal Web site that will be accessed by the URL http://www.contoso.com. You need to ensure that requests for www.contoso.com are distributed between Server2 and Server3. What should you do?()AOn each Web server, configure a host header value of www.contoso.com.BOn each Web server, configure a custom HTTP header value of www.contoso.com.COn Server1, create two host (A) records for www.contoso.com.DOn Server1, create a _roundrobin._tcp.contoso.com service locator (SRV) record for each server that has a port value of 80.