题目内容

YouaredevelopingaWebapplication.TheWebapplicationrestrictsaccesstoanadministrativepage.TheWebapplicationusesthefollowingcodesegmenttoprotectthepage.if(Page.User.Identity.Name!=@"CONTOSO\Administrator"){thepage,youareredirectedtoLogin.aspx.YoudiscoverthattheUser.Identity.Namepropertyisnotbeingcorrectlypopulated.YouneedtoensurethatyoucanaccessthepagewhenyouareloggedonasAdministrator.Whichtwoactionsshouldyouperform?()

A. IntheWeb.configfile,enableimpersonation.
B. InIIS,enableanonymousaccess.
C. InIIS,disableanonymousaccess.
D. IntheWeb.configfile,settheauthenticationmodetoWindows.

查看答案
更多问题

以下几个事件中代表“鼠标滑到”的事件是()

A. OnMouse Down
B. OnMouse Out
C. OnMouse Over
D. Onouse Up

You work as an application developer at Cer-Tech.com.You are in the process of creating an application for Cert-Tech.com’s Human Resources department that tracks employee benefits You have to store current employee data without recompiling the application. You elect to store this employee data as a custom section in the application configuration file. The relevant portion of the application configuration file is shown in the following exhibit: What should you do?()

A. Create a custom section handler class that inherits the ConfigurationSection interface
B. Add a section element to the EmployeeSection element of the application configuration file
Create a custom section handler class that implements the IConfigurationSectionHandler interface.
D. Add an EmployeeSection element to the configSections element of the application confguration file
E. Create a custom section handler class that implements the IApplicationSettingsProvider interface
F. Add a section element to the configSections element of the application configuration file

You create a Web page that contains the following code. You need to ensure that when the user clicks an item in the list, the text color of the "Welcome!" message will change. Which declaration should you use?()

A. Black Red
Black Red
C. Red Black
D. Red Black

进行站点设置时,关于下图的设置正确的说法是()

A. 根文件夹与存储图片的文件夹属于同一个根目录
B. “启用缓存”的选中可以加快站点管理任务的速度
C. 用户为自己的站点命名为myweb
D. 用户指明了站点在互联网上的域名

答案查题题库