Are you looking for real life interview questions? Here is a collection of ASP.NET interview questions based on my experience. This collection may not contain expert level questions but it will surely help the beginners and intermediate.
1.)What is the lifespan for the information stored in a ViewState?
Answer: Exists for the life of the current page
2.) What section of a Web.Config is used to store a list of authorized users?
3.) Which object contains the user name in an ASP.NET form page?
4.) Which one is first triggered in an ASPX page cycle?
5.)Literal control always encloses its text value with SPAN tags.
6.) Which one of the following statements is false?
- Array stores the values in an indexed format.
- Array is a primitive data structure.
- ArrayLists are sortable and searchable.
- Arrays can be changed in size at runtime without ReDim. (Correct Answer)
7.) ASP.NET still recognizes the global.asa file.
Answer: False. Instead, it uses a file named global.asax for the same functionality.
8.) What is the default Session Timeout?
Answer: 20 Minutes
9.) C# supports multiple inheritance.
10.) What is the top .NET class that everything is derived from?