Asp.net Interview Questions

ASP.NET Interview Questions:

ASP.NET Interview Questions:


1. Which of the following can be used to add alternating color scheme in a Repeater control?
Answer: AlternatingItemTemplate
2. Which of the following transfer execution directly to another page?
Answer: Server.Transfer
3. In my .NET Framework I have threads. Which of the following denote the possible priority level for the threads?
Answer: All the Above
4. In ASP.NET the < authorization > section contain which of the following elements
Answer: Both A) and B)
5. GIVE ONE WORD: In .NET the operation of reading metadata and using its contents is known as
Answer: Reflection
6. Which of the following must be done in order to connect data from some data resource to Repeater control?
Answer: Both A) and B)
7. Find the term: The .NET framework which provides automatic memory management using a technique called
Answer: Garbage Collection
8. Which of the following denote ways to manage state in an ASP.Net Application?
Answer: All the Above
9. Which of the following is TRUE about Windows Authentication in ASP.NET?
Answer: Automatically determines role membership
10. Suppose a .NET programmer wants to convert an object into a stream of bytes then the process is called
Answer: Serialization
11. What is the base class from which all Web forms inherit?
Answer: Page Class
12. Which of the following allow writing formatted output?
Answer: Response.Output.Write()
13. The technique that allow code to make function calls to .NET applications on other processes and on other machines is
Answer: .NET Remoting
14. The .NET Framework provides a runtime environment called
Answer: CLR
15. If one has two different web form controls in a application and if one wanted to know whether the values in the above two different web form control match what control must be used?
Answer: CompareValidator
16. Suppose one wants to modify a SOAP message in a SOAP extension then how this can be achieved. Choose the correct option from below:
Answer: One must override the method ReceiveMessage
17. WSDL stands for
Answer: Web Services Description Language
18. In ASP.NET in form page the object which contains the user name is
Answer: Page.User.Identity
19. The type of code found in Code-Behind class is
Answer: Server-side code
20. Which of the following is used to send email message from my ASP.NET page?
Answer: Both A) and B)
21. What tags one need to add within the asp:datagrid tags to bind columns manually?
Answer: Set AutoGenerateColumns Property to false on the datagrid tag
22. Which method do you invoke on the DataAdapter control to load your generated dataset with data?)
Answer: Fill( )
23. Give One word: Common type system is built into which of the following:
Answer: CLR
24. How many classes can a single .NET DLL contain?
Answer: Many

25. The namespace within the Microsoft .NET framework which provides the functionality to implement transaction processing is
Answer: System.EnterpriseServices
26. Which of the following method is used to obtain details about information types of assembly?
Answer: Both A) and B)
27. In ASP.NET the sessions can be dumped by using
Answer: Session.Abandon
28. Which of the following denote the property in every validation control?
Answer: Both A) and B)
29.Which of the following is FALSE?
Answer: None of the Above
30The actual work process of ASP.NET is taken care by
Answer: aspnet_wp.exe