11. In ASP.NET in form page the object which contains the user name is ________________? A. Page.User.IsInRole B. Page.User.Name C. Page.User.Identity D. None of these ✅ The correct answer is option C.
12. How to find out what version of ASP.NET I am using on my machine ? A. Response.Write(Version.ToString() ); B. Response.Write(System.Version.ToString() ); C. Response.Write(System.Environment.Version.ToString() ); D. not possible ✅ The correct answer is option C.
13. In order to prevent a browser from caching a page which of these xstatements should be written ? A. Response.Cache.SetNoServerCaching(); B. Response.Cache.SetNoCaching(); C. Response.Cache.SetNoStore(); D. None of these ✅ The correct answer is option C.
14. The Asp.net server control, which provides an alternative way of displaying text on web page, is_________________? A. B. C. D. None of these ✅ The correct answer is option B.
15. Whats the significance of Request.MapPath( ) ? A. Maps the specified absolute path to virtual path B. Maps the specified virtual path to a physical path C. All of the above D. None of the above ✅ The correct answer is option B.
16. What is/are the predefined TraceListener(s) in ASP.Net? A. EventLogTraceListener B. TextWriterTraceListener C. DefaultTraceListener D. All of the above ✅ The correct answer is option D.
17. What is the default session out time__________________? A. 10 sec B. 20 sec C. 20 min D. 40 min ✅ The correct answer is option C.
18. Which of the following object is not an ASP component ? A. AdRotator B. File Access C. LinkCounter D. Counter ✅ The correct answer is option C.
19. The first event to be triggered in an aspx page is? A. Page_Init() B. Page_Load() C. Page_click() D. None of these ✅ The correct answer is option A.
20. What section of the config.Web file is used for storing a list of authorized users ? A. securityPolicy B. authentication C. authorization D. None of the above ✅ The correct answer is option C.