Dot Net Interview Questions & Answers

Dot Net Interview Online Test

Technical interview questions and answers play a major role in Dot Net Interviews because companies want candidates who understand the .NET Framework, CLR, C#, ASP.NET, ADO.NET, and application lifecycle management. Dot Net skills are widely used in enterprise application development, making this topic important in interviews for both freshers and experienced candidates. Companies like TCS, Infosys, Wipro, Cognizant, and Capgemini frequently ask questions on .NET fundamentals, coding techniques, and real-time scenarios to assess your problem-solving and programming capabilities. This guide provides the most important Dot Net interview questions with answers to help you prepare effectively. With clear explanations and examples, these questions will help you build confidence and perform well in technical rounds and project-based discussions during placement interviews.

1. whats the difference between Response.Write() andResponse.Output.Write()?

Show Answer

2. What methods are fired during the page load?

Show Answer

3. Where does the Web page belong in the .NET Framework class hierarchy?

Show Answer

4. Where do you store the information about the users locale?

Show Answer

5. whats a bubbled event?

Show Answer

6. What data type does the RangeValidator control support?

Show Answer

7. Explain the differences between Server-side and Client-side code?

Show Answer

8. What type of code (server or client) is found in a Code-Behind class?

Show Answer

9. What does the "EnableViewState" property do? Why would I want it on or off?

Show Answer

10. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

Show Answer

11. Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

Show Answer

12. Can you explain what inheritance is and an example of when you might use it?

Show Answer

13. What is an assembly?

Show Answer

14. What is the difference between inline and code behind.

Show Answer

15. Whats MSIL, and why should my developers need an appreciation of it if at all?

Show Answer

16. Can you edit data in the Repeater control?

Show Answer

17. Which template must you provide, in order to display data in a Repeater control?

Show Answer

18. How can you provide an alternating color scheme in a Repeater control?

Show Answer

19. What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

Show Answer

20. What base class do all Web Forms inherit from?

Show Answer

21. Name two properties common in every validation control?

Show Answer

22. What tags do you need to add within the asp:datagrid tags to bind columns manually?

Show Answer

23. What tag do you use to add a hyperlink column to the DataGrid?

Show Answer

24. What is the transport protocol you use to call a Web service?

Show Answer

25. True or False: A Web service can only be written in .NET?

Show Answer

26. What does WSDL stand for?

Show Answer

27. Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?

Show Answer

28. Which method do you invoke on the DataAdapter control to load your generated dataset with data?

Show Answer

29. Which control would you use if you needed to make sure the values in two different controls matched?

Show Answer

30. True or False: To test a Web service you must create a windows application or Web application to consume this service?

Show Answer

31. How many classes can a single .NET DLL contain?

Show Answer

32. what is a diffgram, and a good use for one?

Show Answer

33. Should validation (did the user enter a real date) occur server-side or client-side? Why?

Show Answer
Questions and Answers for Competitive Exams Various Entrance Test