A.启用匿名身份认证和集成Windows身份认证。
B.启用匿名身份认证。启用基本身份认证。
C.禁用匿名身份认证;启用集成Windows身份认证。
D.禁用匿名身份认证;启用基本身份认证.
您可能感兴趣的试卷
你可能感兴趣的试题
A. Wizard1.RequireEmail = true;
B. Wizard1.Email = “user@address.com”;
C. Wizard1.MailDefinition.From = “registration@mysite.com”;
D. SmtpMail.SmtpServer = “mail.contoso.com”;
A. <allow verbs="GET" users="*" /><deny verbs="POST" users="*" /><allow verbs="POST"roles="Administrators" />
B. <allow role s="Administrators" /><deny users="*" />
C. <allow users="Administrators" /><allow users="*" />
D. <allow verbs ="POST" roles="Administrators" /><deny verbs="POST" users="*" /><allow verbs="GET" users="*" />
A.XmlDocument doc = new XmlDocument();doc.Load("subscribers.xml");XmlDeclaration xmldecl = doc.CreateXmlDeclaration("encoding", "Unicode");
B.XmlDocument doc = new XmlDocument();doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", null, "yes");
C.XmlDocument doc = new XmlDocument(); doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", "Unicode", "yes");
D.XmlDocument doc = new XmlDocument(); doc.Load("subscribers.xml"); XmlDeclaration xmldecl = doc.CreateXmlDeclaration("1.0", "Unicode");
A.修改Web.config中连接到CRM数据库的连接字符串。
B.在Web.config文件中增加一个新的SqlMembership Provider。
C.创建一个从Membership Provider继承的自定义Membership Provider。
D.创建一个从Membership User继承的自定义Membership Membership User。
A. 在Web.config文件创建一个有效的
B. 设置成员提供程序的passwordFormat属性为 Encrypted 。
C. 确保已配置的成员提供程序的enablePasswordRetrieval 属性设置为False。
D. 确保已配置的成员提供程序的enablePasswordRetrieval 属性设置为True。
A.在自定义控件代码中为Login按钮增加事件处理代码。
B.在自定义控件所在的Web窗体代码中为Login按钮增加事件处理代码。
C.在自定义控件所在的Web窗体的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
D.在自定义控件的Page_Load方法中增加代码段去设置TextBox和Button控件的可见性。
A. 为类型为Itemplate的属性声明一个属性TemplateContainerAttribute。并且传递模板的命名 容器类型作为参数。
B. 为用户控件的类定义声明属性TemplateContainerAttribute 。
C. 在用户控件的code-behind 类中实现一个类型为INamingContainer 的属性。
D. 在用户控件的code-behind 类中实现一个类型为ITemplate的属性。
E. 定义一个从ITemplate 继承的新类。实现ITemplate 接口的InstantiateIn 方法。
A.DetailsView
B.ObjectDataSource
C.Content
D.CompositeControl
A. 创建ContosoUI控件为Web控件库。
B. 创建ContosoUI控件为Web用户控件。
C. 在Visual Studio .NET 工具栏,浏览并选择ContosoUI.ascx。
D. 在Visual Studio .NET 工具栏,浏览并选择ContosoUI.dll.
A.ConfigurationManager.ConnectionStrings.MyDB
B.ConfigurationManager.ConnectionStrings.System.Data.SqlClient
C.ConfigurationManager.ConnectionStrings[";MyDB";]
D.ConfigurationManager.ConnectionStrings[";System.Data.SqlClient";]
最新试题
You are developing a product search page named Search.aspx for Web application that will be integrated into Certkiller .com's existing e-Commerce Web site. The Search.aspx page allows customers search for products that match specific criteria. Once a product is located, you want an image of the product to be displayed. You want to use an Image control to display the image. You want to configure the Image control to display a description of the image if the image cannot be displayed in the customer's Web browser.What should you do?()
You create a large, n-tier Web application that has a custom event tracking system. You need to create a custom event type that enables your event tracking system to record all relevant event details for all types of events. The events must be stored in Microsoft SQL Server.From which base type should your custom event type inherit? ()
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts.Which tool should you use? ()
You create a Web site for a customer. You need to deploy the Web site to the customers server without any of the source files for the Web site. You do not want the customer to be able to update any of the static pages on the Web site.Which tool should you use?()
You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending.Which two actions should you perform?()
You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use?()
You create Web sites for your company. You apply a consistent design to the pages and controls of the Web sites. You need to make style changes to all of the Web sites on the Web server. You want to achieve this goal without having to edit the individual pages on each Web site.Which two actions should you perform?()
You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config file contains the definition for the membership provider. After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file.? You need to enable users to reset their passwords online. The new passwords must be sent to them by e-mail after they have logged on through the Login.aspx page. In addition, users must be required to answer their secret questions before resetting their passwords.Which code logic should you use?()
You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort.What should you do? ()
You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be ble to upload files.Which code segment of the Web.config file should you use?()