多选题You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()ACreate a class that inherits HtmlTextWriter and that can emit the new markup.BCreate a class that inherits StreamWriter and that can emit the new markup.CReference the class in the capabilities element of the new device's browser definition file.DReference the class in the controlAdapters element of the new device's browser definition file.

多选题
You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()
A

Create a class that inherits HtmlTextWriter and that can emit the new markup.

B

Create a class that inherits StreamWriter and that can emit the new markup.

C

Reference the class in the <capabilities> element of the new device's browser definition file.

D

Reference the class in the <controlAdapters> element of the new device's browser definition file.


参考解析

解析: 暂无解析

相关考题:

You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?() A. Add a Web Control Library project to your solution. Define a class that inherits from CompositeControl.B. Add a Windows Control Library project to your solution. Define a class that inherits from UserControl.C. Add a Web User Control to your project. Define a class that inherits from UserControl.D. Add a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.

Your network contains a server named Server1 that runs Windows Server 2008 R2. Server1 hosts a custom application named App1. App1 is accessible on TCP port 5000.You need to encrypt App1 data on the network.What should you do?()A. From the Local Security Policy console, configure the Security Options.B. From the Local Security Policy console, configure the Application Control Policies.C. From the Windows Firewall with Advanced Security console, create an inbound rule.D. From the Windows Firewall with Advanced Security console, create a connection security rule.

You have a file server that runs Windows Server 2008 R2.You configure quotas on the server.You need to view each users quota usage on a per folder basis.What should you do?() A. From File Server Resource Manager, create a File Screen.B. From File Server Resource Manager, create a Storage Management report.C. From the command prompt, run dirquota.exe quota list.D. From the properties of each volume, review the Quota Entries list.

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

You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement  (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data.  (3)It uses user-customizable actions when the control is first painted on the form.   What should you do?()A、Create a new custom class for the control that is derived from the Control class.B、Create a new custom class for the control that is derived from the UserControl class.C、Create a new custom class for the control that is derived from the ContentControl class.D、Create a new custom class for the control that is derived from the ContentPresenter class.

You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()A、Ensure that the Web control inherits from the WebControl class.B、Ensure that the Web control inherits from the Control class.C、Ensure that the Web control inherits from the CompositeControl class.D、Ensure that the Web control inherits from the UserControl class.

You have a server that runs Windows Server 2008. You need to prevent the server from establishing communication sessions to other computers by using TCP port 25. What should you do()A、 From Windows Firewall, add an exceptionB、 From windows Firewall enable the block all incoming connections optionC、 From the Windows Firewall with Advanced Security snap-in, create an inbound ruleD、 From the Windows Firewall with Advanced Security snap-in, create an outbound rule.

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.

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a property named ServiceContext to a control. You need the value of ServiceContext to flow to the child controls exactly like the value of the DataContext property of the FrameworkElement class. What should you do? ()A、Inherit the control class from the DependencyObject class.B、Register a dependency property.In the options settings of the property metadata, specify the Inherits option.C、Declare a new property. In the get and set methods of the new property, create an instance of the TraversalRequest class.D、Declare a new property. In the get method of the new property call VisualTreeHelper.GetParent. In the set method of the new property, call VisualTreeHelper.GetChild.

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()A、Create a class that inherits HtmlTextWriter and that can emit the new markup.B、Create a class that inherits StreamWriter and that can emit the new markup.C、Reference the class in the capabilities element of the new device's browser definition file.D、Reference the class in the controlAdapters element of the new device's browser definition file.

You have a DNS server that runs Window 2003 Server Service Pack 2 (SP2). You need to configure the DNS server to perform recursive query tests every hour.  What should you do?()  A、From the DNS snap-in, open the DNS server properties and configure the Advanced settings.B、From the DNS snap-in, open the DNS server properties and configure the Monitoring settings.C、From Control Panel, create a new scheduled task that runs Nslookup.exe Crecurse.D、From Control Panel, create a new scheduled task that runs Dnslint.exe /ql autocreate.

You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.The control will have the same properties as a TextBox control.You need to ensure that the control has a transparent background when it is painted on form.You want to achieve this goal by using the minimum amount of development effort.What should you do?()A、Create a new class that is derived from the Control class.Call the SetStyle method in the constructor.B、Create a new class that is derived from theTextBox control class.Override the OnPaint method in the constructor.C、Create a new class that is derived from the Control class.Set the BackColor property of the control to Transparent.Call the SetStyle method in the constructor.D、Create a new class that is derived from theTextBox control class.Set the BackColor property of the control to Transparent in the constructor.Call the SetStyle method in the constructor.

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has multiple data entry windows. Each window contains controls that allow the user to type different addresses for shipping and mailing. All addresses have the same format. You need to ensure that you can reuse the controls. What should you create?()A、a user controlB、a data templateC、a control templateD、a control that inherits the Canvas class

You have a VPN server that runs Windows Server 2003 Service Pack 2 (SP2). You need to monitor the performance of the VPN server for one day. What should you do? ()A、From the Performance console, create a trace log.B、From the Performance console, create a counter log.C、Install Network Monitor Tools. From Network Monitor create a new capture.D、Install Network Monitor Tools. From Network Monitor create a new parser file.

You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.()A、Create a class that inherits HtmlTextWriter and that can emit the new markup.B、Create a class that inherits StreamWriter and that can emit the new markup.C、Reference the class in the capabilities element of the new device's browser definition file.D、Reference the class in the controlAdapters element of the new device's browser definitionfile.

You have a file server that runs Windows Server 2008. You configure quotas on the server. You need to view each users quota usage on a per folder basis. What should you do?()A、 From File Server Resource Manager, create a File ScreenB、 From File Server Resource Manager, create a Storage Management report.C、 From the command prompt, run dirquota.exe quota list.D、 From the properties of each volume, review the Quota Entries list.

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 are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a custom control for the application.  The control will be a composite control.Your need to derive from the class that will create the control by using the minimum amount of development effort.What should you do?()ADerive from the Control class.BDerive from the UserControl class.CDerive from the FrameworkElement class.DDerive from the ContainerControl class.

单选题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?()Athe ITemplatable interfaceBthe INamingContainer interfaceCthe IRequiresSessionState interfaceDthe IPostBackDataHandler interface

单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has multiple data entry windows. Each window contains controls that allow the user to type different addresses for shipping and mailing. All addresses have the same format. You need to ensure that you can reuse the controls. What should you create?()Aa user controlBa data templateCa control templateDa control that inherits the Canvas class

多选题You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.()ACreate a class that inherits HtmlTextWriter and that can emit the new markup.BCreate a class that inherits StreamWriter and that can emit the new markup.CReference the class in the capabilities element of the new device's browser definition file.DReference the class in the controlAdapters element of the new device's browser definitionfile.

单选题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?()AYou should consider modifying the Question control’s class in order to implement IValidator.BYou should consider setting the ValidationGroup property of the RequiredFieldValidator controlto UserControl.CYou should apply the ValidationProperty feature to the Question control’s class.DYou should consider setting the InitialValue property of the RequiredFieldValidator control to anempty string.

单选题You develop a Web control. The Web control consists of labels and associated text boxes.You need to ensure that the Web control has both toolbox and visual designer support. What should you do?()AAdd a Web Control Library project to your solution. Define a class that inherits from CompositeControl.BAdd a Windows Control Library project to your solution. Define a class that inherits from UserControl.CAdd a Web User Control to your project. Define a class that inherits from UserControl.DAdd a Mobile Web User Control to your project. Define a class that inherits from MobileUserControl.

单选题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?()Athe ITemplatable interface Bthe INamingContainer interface Cthe IRequiresSessionState interfaceDthe IPostBackDataHandler interface