第1题
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.
第2题
A. Add the OnClick event handler for the Login button to the code used in the custom user control.
B. Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
C. In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
D. In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
第3题
A. Add the OnClick event handler for the Login button to the code used in the custom user control.
B. Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
C. In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
D. In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
第4题
A. Place the Command control within an instance of the System.Web.UI.MobileControls.SelectionList control.
B. Place the Command control within an instance of the System.Web.UI.MobileControls.ObjectList control.
C. Place the Command control within an instance of the System.Web.UI.MobileControls.Form control.
D. Place the Command control within an instance of the System.Web.UI.MobileControls.Panel control.
第5题
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.
第6题
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.
第7题
A.
B.
C.
D.
第8题
A. Use System.Web.UI.TemplateControl to group the UI elements.
B. Use System.Web.UI.HtmlControls.HtmlControl to group the UI elements.
C. Use System.Web.UI.LiteralControl to group the UI elements.
D. Use System.Web.UI.WebControls.Literal to group the UI elements.
第9题
You are creating a Windows Communication Foundation (WCF) service that accepts claims-based tokens. You need to ensure that the service can use claims from trading partners even though there are variations on naming for the same elements.Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)()
A. Register a custom Service Authorization Manager that implements Check Access. In this method, use System.Convert.ChangeType to transform the incoming claim set to a WindowsClaimSet type.
B. Apply a PrincipalPermission attribute on the operation with the required claims listed in the Roles property.
C. Within the operation, verify the presence of the required claims in the current AuthorizationContext.
D. Register an AuthorizationPolicy that maps external claims to an internal ClaimSet.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!