ASP DotNet interview questions and answers for experienced and freshers

1. What is the CLR?
2. What is the CTS?
3. What is the CLS?
4. What is IL?
5. What does 'managed' mean in the .NET context?
6. What is reflection?
7. What is the difference between Finalize and Dispose (Garbage collection) ?
8. What is Partial Assembly References?
9. Changes to which portion of version number indicates an incompatible change?
10. How to set the debug mode?
11. What is managed and unmanaged code?
12. Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed?
13. What is Boxing and UnBoxing?
14. What is the sequence of operation takes place when a page is loaded?
15. What are the different types of assemblies available and their purpose?
16. What is the difference between Server.Transfer and Response.Redirect?
17. Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process ?
18. Where do you store the information about the user’s locale?
19. Describe the difference between inline and code behind.
20. What is different b/w  webconfig.xml & Machineconfig.xml
21. How is the DLL Hell problem solved in .NET?
22. What are the ways to deploy an assembly?
23. What is a satellite assembly?
24. What namespaces are necessary to create a localized application?
25. What is the smallest unit of execution in .NET?
26. When should you call the garbage collector in .NET?
27. How do you convert a value-type to a reference-type?
28. What happens in memory when you Box and Unbox a value-type?
29. Describe the difference between a Thread and a Process?
30. What is the difference between an EXE and a DLL?
31. What is strong-typing versus weak-typing? Which is preferred? Why?
32. What is the GAC? What problem does it solve?
33. What is an Asssembly Qualified Name? Is it a filename? How is it different?
34. How is a strongly-named assembly different from one that isn’t strongly-named?
35. Explain the importance and use of each, Version, Culture and PublicKeyToken for an assembly.
36. What is difference between MetaData and Manifest?
37. How do assemblies find each other?
38. How does assembly versioning work?
38. What is garbage collection?
40. Why doesn't the .NET runtime offer deterministic destruction?
41. Is the lack of deterministic destruction in .NET a problem?
42. Explain the differences between public, protected, private and internal.
43. What is delay signing?
44. What’s the difference between Response.Write() and Response.Output.Write()?
45. When during the page processing cycle is ViewState available?
46. What’s a bubbled event?
47. What data types do the RangeValidator control support?
48. Explain the differences between Server-side and Client-side code?
49. What type of code (server or client) is found in a Code-Behind class?
50. Should user input data validation occur server-side or client-side?  Why?
51. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
52. What are the Application_Start and Session_Start subroutines used for?
53. Can you explain what inheritance is and an example of when you might use it?
54. Whats MSIL, and why should developers need an appreciation of it if at all?
55. Which method do you invoke on the DataAdapter control to load your generated dataset with data?
56. Can you edit data in the Repeater control?
57. Which template must you provide, in order to display data in a Repeater control?
58. How can you provide an alternating color scheme in a Repeater control?
59. What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?
60. Name two properties common in every validation control?
61. Which control would you use if you needed to make sure the values in two different controls matched?
62. How many classes can a single .NET DLL contain?
63. What is the lifespan for items stored in ViewState?
64. What does the "EnableViewState" property do?  Why would I want it on or off?
65. What are the different types of Session state management options available with ASP.NET?
66. What is the difference between Value Types and Reference Types?
67. What are user controls and custom controls?
68. What are the validation controls?
69. Where do you add an event handler?
70. What data type does the RangeValidator control support?
71. What is the difference between a DataReader and a DataSet?
72. How can we load multiple tables in a Dataset?
73. How can we add relation between tables in a Dataset?
74. What is the use of Command Builder?
75. What are the two fundamental objects in ADO.NET?
76. What are major difference between classic ADO and ADO.NET?
77. What is the use of data adapter?
78. What is Dataset object?
79. How can we save all data from dataset?
80. What are the 3 major types of connection objects in ADO.NET?
81. Can we connect two dataadapters to same data source using single connection at same time?
82. What is Delegate?

0 comments: