D Apply the Personalizablefalse and WebBrowsablefalse attributes to the public

D apply the personalizablefalse and webbrowsablefalse

This preview shows page 3 - 6 out of 12 pages.

D. ·Apply the [Personalizable(false)] and [WebBrowsable(false)] attributes to the public properties of the control. Add the following code fragment to the Web page. /> C QUESTION: 151 You are creating a Microsoft ASP.NET Web site. You need to ensure that anonymous users are able to personalize the Web site. Which code fragment should you add to the Web.config file of the Web site? C QUESTION: 152 76
Image of page 3
You are creating a Microsoft ASP.NET Web site. You need to ensure that the Web site uses cookieless authentication. Which code fragment should you add to the Web.config file of the Web site? D QUESTION: 153 You are creating a Microsoft ASP.NET Web site. You need to retrieve a list of all the roles that a logged-in user is a member of. Which two methods should you use? (Each correct answer presents a complete solution. Choose two.) QUESTION: 154 You are creating a Microsoft ASP.NET Web site. You need to store authorization-related information on each user's client computer. Which code fragment should you use? A. <httpCookies httpOnlyCookies="true" requireSSL="true" domain="" /> B. <sessionState cookieless="false" </sessionState> 77
Image of page 4
C. <roleManager enabled="true" cacheRolesInCookie="true"> </roleManager> D. <caching> <outputCache enableOutputCache = "true"> </outputCache> </caching> Answer: C QUESTION: 155 You are creating a Microsoft ASP.NET Web site. You need to ensure that file system security permissions can be used to restrict each user's individual access to Web pages. Which code fragment should you use? B
Image of page 5
Image of page 6

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture