You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application contains the following code segment. Public Class CapabilityEvaluator Public Shared Function ChkScreenSize( _ ByVal cap As System.Web.Mobile.MobileCapabilities, _ ByVal arg As String) As Boolean Dim screenSize As Integer = cap.ScreenCharactersWidth * _ cap.ScreenCharactersHeight Return screenSize < Integer.Parse(arg) End Function End Class You add the following device filter element to the Web.config file. <filter name="FltrScreenSize" type="MyWebApp.CapabilityEvaluator,MyWebApp" method="ChkScreenSize" /> You need to write a code segment to verify whether the size of the device display is less than 80 characters. Which code segment should you use?()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control. | English | Chinese | Japan | Korean | - 112 - Test Information Co., Ltd. All rights reserved. You need to ensure that the child controls of the server control are uniquely identified within thecontrol hierarchy of the page. Which interface should you implement? ()
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application allows users to post comments to a page that can be viewed by other users. You add a SqlDataSource control named SqlDS1. You write the following code segment. (Line numbers are included for reference only.) 01 private void SaveComment() 02 { 03 string ipaddr; 04 05 SqlDS1.InsertParameters["IPAddress"].DefaultValue = ipaddr; 06 ... 07 SqlDS1.Insert(); 08 } You need to ensure that the IP Address of each user who posts a comment is captured along with the user’s comment. Which code segment should you insert at line 04?()
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5. The application uses ASP.NET AJAX, and you plan to deploy it in a Web farm environment. You need to configure SessionState for the application. Which code fragment should you use?() | English | Chinese | Japan | Korean | - 107 - Test Information Co., Ltd. All rights reserved.
You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5. You use Windows Authentication for the application. You set up NTFS file system permissions for the Sales group to access a particular file. You discover that all the users are able to access the file. You need to ensure that only the Sales group users can access the file. What additional step should you perform?()
广告位招租 联系QQ:5245112(WX同号)
关于我们 | 付款方式 | 广告联系 | 联系我们 | 网站地图 | 网站申明 | 友情链接 | 网站招聘 | 帮助中心
版权所有©考试资料网(ppkao.com) 长沙求知信息技术有限公司 All Rights Reserved
扫一扫免费做题