A software application that display and interact with text, images, and other information typically located on a web page at a website on the World Wide Web
There are some basic interviews question from every part of web development within asp.net. Basic .NET Framework 1. What is a IL? 2. Twist :- What is MSIL or CIL , What is JIT? 3. What is a CLR? 4. What is a CTS? 5. What is a CLS(Common Language Specification)? 6. What is a Managed Code? 7. What is a Assembly ? 8. What are different types of Assembly? 9. What is NameSpace? 10. What is Difference between NameSpace and Assembly? 11. If you want to view a Assembly how to you go about it ? 12. Twist : What is ILDASM ? 13. What is Manifest? 14. Where is version information stored of a assembly ? 15. Is versioning applicable to private assemblies? 16. What is GAC ? 17. Twist :- What are situations when you register .NET assembly in GAC ? 18. What is concept of strong names ? 19. Twist :- How do we generate strong names or what is the process of generating strong 20. names , What is use of SN.EXE , How do 21. we apply strong names to assembly ? , How do you sign an assembly ? 22. How to add and remove a assembly from GAC? 23. What is Delay signing ?
24. What is garbage collection? 25. Can we force garbage collector to run ? 26. What is reflection? 27. What are different type of JIT ? 28. What are Value types and Reference types ? 29. What is concept of Boxing and Unboxing ? 30. What’s difference between VB.NET and C# ? 31. What’s difference between System exceptions and Application exceptions? 32. What is CODE Access security? 33. What is a satellite assembly? 34. How to prevent my .NET DLL to be decompiled? 35. What’s the difference between Convert.toString and .toString() method ? 36. What is Native Image Generator (Ngen.exe)? 37. We have two version of the same assembly in GAC? I want my client to make choice of 38. which assembly to choose? 39. What is CodeDom?
40. How can we use COM Components in .NET? 41. Twist: What is RCW ? 42. Once i have developed the COM wrapper do i have to still register the COM in registry? 43. How can we use .NET components in COM? 44. Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be taken in order 45. that .NET components is compatible with COM ? 46. How can we make Windows API calls in .NET? 47. When we use windows API in .NET is it managed or unmanaged code ? 48. What is COM ? 49. What is Reference counting in COM ? 50. Can you describe IUKNOWN interface in short ? 51. Can you explain what is DCOM ? 52. How do we create DCOM object in VB6? 53. How to implement DTC in .NET ? 54. How many types of Transactions are there in COM + .NET ? 55. How do you do object pooling in .NET ? 56. What are types of compatibility in VB6? 57. What is equivalent for regsvr32 exe in .NET ?
58. What is Multi-tasking ? 59. What is Multi-threading ? 60. What is a Thread ? 61. Did VB6 support multi-threading ? 62. Can we have multiple threads in one App domain ? 63. Which namespace has threading ? 64. Can you explain in brief how can we implement threading ? 65. How can we change priority and what the levels of priority are provided by .NET ? 66. What does Addressof operator do in background ? 67. How can you reference current thread of the method ? 68. What's Thread.Sleep() in threading ? 69. How can we make a thread sleep for infinite period ? 70. What is Suspend and Resume in Threading ? 71. What the way to stop a long running thread ? 72. How do i debug thread ? 73. What's Thread.Join() in threading ? 74. What are Daemon thread's and how can a thread be created as Daemon? 75. When working with shared data in threading how do you implement synchronization ? 76. Can we use events with threading ? 77. How can we know a state of a thread? 78. What is a monitor object? 79. What are wait handles ? 80. Twist :- What is a mutex object ? 81. what is ManualResetEvent and AutoResetEvent ? 82. What is ReaderWriter Locks ? 83. How can you avoid deadlock in threading ? 84. What’s difference between thread and process?
85. What is a application domain? 86. What is .NET Remoting ? 87. Which class does the remote object has to inherit ? 88. What are two different types of remote object creation mode in .NET ? 89. Describe in detail Basic of SAO architecture of Remoting? 90. What are the situations you will use singleton architecture in remoting ? 91. What is fundamental of published or precreated objects in Remoting ? 92. What are the ways client can create object on server in CAO model ? 93. Are CAO stateful in nature ? 94. In CAO model when we want client objects to be created by “NEW” keyword is there 95. any precautions to be taken ? 96. Is it a good design practice to distribute the implementation to Remoting Client ? 97. What is LeaseTime,SponsorshipTime ,RenewonCallTime and LeaseManagerPollTime? 98. Which config file has all the supported channels/protocol ? 99. How can you specify remoting parameters using Config files ? 100. Can Non-Default constructors be used with Single Call SAO? 101. Twist :- What are the limitation of constructors for Single call SAO ? 102. How can we call methods in remoting Asynchronously ? 103. What is Asynchronous One-Way Calls ? 104. What is marshalling and what are different kinds of marshalling ? 105. What is ObjRef object in remoting ? 106. What is a WebService ? 107. What is UDDI ? 108. What is DISCO ? 109. What is WSDL? 110. What the different phase/steps of acquiring a proxy object in Webservice ? 111. What is file extension of Webservices ? 112. Which attribute is used in order that the method can be used as WebService ? 113. What are the steps to create a webservice and consume it ? 114. Do webservice have state ?
115. What is application object? 116. What’s the difference between Cache object and application object? 117. How can get access to cache object? 118. What are dependencies in cache and types of dependencies? 119. Can you show a simple code showing file dependency in cache? 120. What is Cache Callback in Cache? 121. What is scavenging? 122. What are different types of caching using cache object of ASP.NET? 123. How can you cache different version of same page using ASP.NET cache object? 124. How will implement Page Fragment Caching? 125. What are ASP.NET session and compare ASP.NET session with classic ASP session variables? 126. Which various modes of storing ASP.NET session ? 127. Is Session_End event supported in all session modes ? 128. What are the precautions you will take in order that StateServer Mode work properly ? 129. What are the precautions you will take in order that SQLSERVER Mode work properly ? 130. Where do you specify session state mode in ASP.NET ? 131. What are the other ways you can maintain state ? 132. What are benefits and Limitation of using Hidden fields ? 133. What is ViewState ? 134. Do performance vary for viewstate according to User controls ? 135. What are benefits and Limitation of using Viewstate for state management? 136. How an you use Hidden frames to cache client data ? 137. What are benefits and Limitation of using Hidden frames? 138. What are benefits and Limitation of using Cookies? 139. What is Query String and What are benefits and Limitation of using Query Strings?
OOPS 140. What is Object Oriented Programming ? 141. What’s a Class ? 142. What’s a Object ? 143. What’s the relation between Classes and Objects ? 144. What are different properties provided by Object-oriented systems ? 145. Twist :- Can you explain different properties of Object Oriented Systems? 146. What’s difference between Association , Aggregation and Inheritance relationships? 147. How can we acheive inheritance in VB.NET ? 148. What are abstract classes ? 149. What’s a Interface ? 150. What is difference between abstract classes and interfaces? 151. What is a delegate ? 152. What are event’s ? 153. Do events have return type ? 154. Can event’s have access modifiers ? 155. Can we have shared events ? 156. What is shadowing ? 157. What’s difference between Shadowing and Overriding ? 158. What’s difference between delegate and events? 159. If we inherit a class do the private variables also get inherited ? 160. What are different accessibility levels defined in .NET ? 161. Can you prevent a class from overriding ? 162. What’s the use of “MustInherit” keyword in VB.NET ? 163. Why can not you specify accessibility modifier in Interface ? 164. What are similarities between Class and structure ? 165. What’s the difference between Class and structure’s ? 166. What does virtual keyword mean ? 167. What are shared (VB.NET)/Static(C#) variables? 168. What is Dispose method in .NET ? 169. Whats the use of “OverRides” and “Overridable” keywords ? 170. Where are all .NET Collection classes located ? 171. What is ArrayList ? 172. What’s a HashTable ? 173. Twist :- What’s difference between HashTable and ArrayList ? 174. What are queues and stacks ? 175. What is ENUM ? 176. What is nested Classes ? 177. What’s Operator Overloading in .NET? 178. In below sample code if we create a object of class2 which constructor will fire first ? 179. What’s the significance of Finalize method in .NET? 180. Why is it preferred to not use finalize for clean up? 181. How can we suppress a finalize method? 182. What’s the use of DISPOSE method? 183. How do I force the Dispose method to be called automatically, as clients can forget to call 184. Dispose method? 185. In what instances you will declare a constructor to be private? 186. Can we have different access modifiers on get/set methods of a property ? 187. If we write a goto or a return statement in try and catch block will the finally block execute ? 188. What is Indexer ? 189. Can we have static indexer in C# ? 190. In a program there are multiple catch blocks so can it happen that two catch blocks are 191. executed ? 192. What is the difference between System.String and System.StringBuilder classes?
The .Net Framework (version 2.0) includes 51 assemblies. The .Net Framework (version 2.0) includes 18,619 types; 12,909 classes; 401,759 public methods; 93,105 public properties and 30,546 public events.
It includes a new feature called Control State. Control state is similar to view state except that is used to preserve only critical information. For example the gridview control uses control state to store the selected row. Even if you disable the viewstate, the gridview control remembers which row is selected.
We can precompile an entire ASP.Net application by using the aspnet_compiler.exe command line tool. If you precompile an application, users do not experience the compilation delay resulting from the first page request.
AJAX and User Controls:- AJAX (Asynchronous JavaScript and XML) enables you to update content in a page without posting back to the server. In the ASP.NET Framework, AJAX is referred to as ‘client callbacks’. To add AJAX support to a user control, you must implement the ICallBackEventHandler interface and add the necessary JavaScript scripts to process the results of the AJAX call.
Steps for implementing AJAX:-
? Create a client script for invoking the AJAX call. You can get this script with the Page.ClientScript.GetCallbackEventReference () method.
? Create a sever methods named RaiseCallbackEvent() and GetCallbackResult(), which returns a string value from the server.
? Create a client method that receives the value from the server RaiseCallbackEvent() method and does something with the value.
9 comments:
There are some basic interviews question from every part of web development within asp.net.
Basic .NET Framework
1. What is a IL?
2. Twist :- What is MSIL or CIL , What is JIT?
3. What is a CLR?
4. What is a CTS?
5. What is a CLS(Common Language Specification)?
6. What is a Managed Code?
7. What is a Assembly ?
8. What are different types of Assembly?
9. What is NameSpace?
10. What is Difference between NameSpace and Assembly?
11. If you want to view a Assembly how to you go about it ?
12. Twist : What is ILDASM ?
13. What is Manifest?
14. Where is version information stored of a assembly ?
15. Is versioning applicable to private assemblies?
16. What is GAC ?
17. Twist :- What are situations when you register .NET assembly in GAC ?
18. What is concept of strong names ?
19. Twist :- How do we generate strong names or what is the process of generating strong
20. names , What is use of SN.EXE , How do
21. we apply strong names to assembly ? , How do you sign an assembly ?
22. How to add and remove a assembly from GAC?
23. What is Delay signing ?
24. What is garbage collection?
25. Can we force garbage collector to run ?
26. What is reflection?
27. What are different type of JIT ?
28. What are Value types and Reference types ?
29. What is concept of Boxing and Unboxing ?
30. What’s difference between VB.NET and C# ?
31. What’s difference between System exceptions and Application exceptions?
32. What is CODE Access security?
33. What is a satellite assembly?
34. How to prevent my .NET DLL to be decompiled?
35. What’s the difference between Convert.toString and .toString() method ?
36. What is Native Image Generator (Ngen.exe)?
37. We have two version of the same assembly in GAC? I want my client to make choice of
38. which assembly to choose?
39. What is CodeDom?
40. How can we use COM Components in .NET?
41. Twist: What is RCW ?
42. Once i have developed the COM wrapper do i have to still register the COM in registry?
43. How can we use .NET components in COM?
44. Twist :- What is CCW (COM callable wrapper) ?, What caution needs to be taken in order
45. that .NET components is compatible with COM ?
46. How can we make Windows API calls in .NET?
47. When we use windows API in .NET is it managed or unmanaged code ?
48. What is COM ?
49. What is Reference counting in COM ?
50. Can you describe IUKNOWN interface in short ?
51. Can you explain what is DCOM ?
52. How do we create DCOM object in VB6?
53. How to implement DTC in .NET ?
54. How many types of Transactions are there in COM + .NET ?
55. How do you do object pooling in .NET ?
56. What are types of compatibility in VB6?
57. What is equivalent for regsvr32 exe in .NET ?
58. What is Multi-tasking ?
59. What is Multi-threading ?
60. What is a Thread ?
61. Did VB6 support multi-threading ?
62. Can we have multiple threads in one App domain ?
63. Which namespace has threading ?
64. Can you explain in brief how can we implement threading ?
65. How can we change priority and what the levels of priority are provided by .NET ?
66. What does Addressof operator do in background ?
67. How can you reference current thread of the method ?
68. What's Thread.Sleep() in threading ?
69. How can we make a thread sleep for infinite period ?
70. What is Suspend and Resume in Threading ?
71. What the way to stop a long running thread ?
72. How do i debug thread ?
73. What's Thread.Join() in threading ?
74. What are Daemon thread's and how can a thread be created as Daemon?
75. When working with shared data in threading how do you implement synchronization ?
76. Can we use events with threading ?
77. How can we know a state of a thread?
78. What is a monitor object?
79. What are wait handles ?
80. Twist :- What is a mutex object ?
81. what is ManualResetEvent and AutoResetEvent ?
82. What is ReaderWriter Locks ?
83. How can you avoid deadlock in threading ?
84. What’s difference between thread and process?
Remoting and Webservices
85. What is a application domain?
86. What is .NET Remoting ?
87. Which class does the remote object has to inherit ?
88. What are two different types of remote object creation mode in .NET ?
89. Describe in detail Basic of SAO architecture of Remoting?
90. What are the situations you will use singleton architecture in remoting ?
91. What is fundamental of published or precreated objects in Remoting ?
92. What are the ways client can create object on server in CAO model ?
93. Are CAO stateful in nature ?
94. In CAO model when we want client objects to be created by “NEW” keyword is there
95. any precautions to be taken ?
96. Is it a good design practice to distribute the implementation to Remoting Client ?
97. What is LeaseTime,SponsorshipTime ,RenewonCallTime and LeaseManagerPollTime?
98. Which config file has all the supported channels/protocol ?
99. How can you specify remoting parameters using Config files ?
100. Can Non-Default constructors be used with Single Call SAO?
101. Twist :- What are the limitation of constructors for Single call SAO ?
102. How can we call methods in remoting Asynchronously ?
103. What is Asynchronous One-Way Calls ?
104. What is marshalling and what are different kinds of marshalling ?
105. What is ObjRef object in remoting ?
106. What is a WebService ?
107. What is UDDI ?
108. What is DISCO ?
109. What is WSDL?
110. What the different phase/steps of acquiring a proxy object in Webservice ?
111. What is file extension of Webservices ?
112. Which attribute is used in order that the method can be used as WebService ?
113. What are the steps to create a webservice and consume it ?
114. Do webservice have state ?
Caching Concepts
115. What is application object?
116. What’s the difference between Cache object and application object?
117. How can get access to cache object?
118. What are dependencies in cache and types of dependencies?
119. Can you show a simple code showing file dependency in cache?
120. What is Cache Callback in Cache?
121. What is scavenging?
122. What are different types of caching using cache object of ASP.NET?
123. How can you cache different version of same page using ASP.NET cache object?
124. How will implement Page Fragment Caching?
125. What are ASP.NET session and compare ASP.NET session with classic ASP session variables?
126. Which various modes of storing ASP.NET session ?
127. Is Session_End event supported in all session modes ?
128. What are the precautions you will take in order that StateServer Mode work properly ?
129. What are the precautions you will take in order that SQLSERVER Mode work properly ?
130. Where do you specify session state mode in ASP.NET ?
131. What are the other ways you can maintain state ?
132. What are benefits and Limitation of using Hidden fields ?
133. What is ViewState ?
134. Do performance vary for viewstate according to User controls ?
135. What are benefits and Limitation of using Viewstate for state management?
136. How an you use Hidden frames to cache client data ?
137. What are benefits and Limitation of using Hidden frames?
138. What are benefits and Limitation of using Cookies?
139. What is Query String and What are benefits and Limitation of using Query Strings?
OOPS
140. What is Object Oriented Programming ?
141. What’s a Class ?
142. What’s a Object ?
143. What’s the relation between Classes and Objects ?
144. What are different properties provided by Object-oriented systems ?
145. Twist :- Can you explain different properties of Object Oriented Systems?
146. What’s difference between Association , Aggregation and Inheritance relationships?
147. How can we acheive inheritance in VB.NET ?
148. What are abstract classes ?
149. What’s a Interface ?
150. What is difference between abstract classes and interfaces?
151. What is a delegate ?
152. What are event’s ?
153. Do events have return type ?
154. Can event’s have access modifiers ?
155. Can we have shared events ?
156. What is shadowing ?
157. What’s difference between Shadowing and Overriding ?
158. What’s difference between delegate and events?
159. If we inherit a class do the private variables also get inherited ?
160. What are different accessibility levels defined in .NET ?
161. Can you prevent a class from overriding ?
162. What’s the use of “MustInherit” keyword in VB.NET ?
163. Why can not you specify accessibility modifier in Interface ?
164. What are similarities between Class and structure ?
165. What’s the difference between Class and structure’s ?
166. What does virtual keyword mean ?
167. What are shared (VB.NET)/Static(C#) variables?
168. What is Dispose method in .NET ?
169. Whats the use of “OverRides” and “Overridable” keywords ?
170. Where are all .NET Collection classes located ?
171. What is ArrayList ?
172. What’s a HashTable ?
173. Twist :- What’s difference between HashTable and ArrayList ?
174. What are queues and stacks ?
175. What is ENUM ?
176. What is nested Classes ?
177. What’s Operator Overloading in .NET?
178. In below sample code if we create a object of class2 which constructor will fire first ?
179. What’s the significance of Finalize method in .NET?
180. Why is it preferred to not use finalize for clean up?
181. How can we suppress a finalize method?
182. What’s the use of DISPOSE method?
183. How do I force the Dispose method to be called automatically, as clients can forget to call
184. Dispose method?
185. In what instances you will declare a constructor to be private?
186. Can we have different access modifiers on get/set methods of a property ?
187. If we write a goto or a return statement in try and catch block will the finally block execute ?
188. What is Indexer ?
189. Can we have static indexer in C# ?
190. In a program there are multiple catch blocks so can it happen that two catch blocks are
191. executed ?
192. What is the difference between System.String and System.StringBuilder classes?
.Net Framework 2.0 Advantages:-
The .Net Framework (version 2.0) includes 51 assemblies. The .Net Framework (version 2.0) includes 18,619 types; 12,909 classes; 401,759 public methods; 93,105 public properties and 30,546 public events.
It includes a new feature called Control State. Control state is similar to view state except that is used to preserve only critical information. For example the gridview control uses control state to store the selected row. Even if you disable the viewstate, the gridview control remembers which row is selected.
We can precompile an entire ASP.Net application by using the aspnet_compiler.exe command line tool. If you precompile an application, users do not experience the compilation delay resulting from the first page request.
AJAX and User Controls:-
AJAX (Asynchronous JavaScript and XML) enables you to update content in a page without posting back to the server. In the ASP.NET Framework, AJAX is referred to as ‘client callbacks’. To add AJAX support to a user control, you must implement the ICallBackEventHandler interface and add the necessary JavaScript scripts to process the results of the AJAX call.
Steps for implementing AJAX:-
? Create a client script for invoking the AJAX call. You can get this script with the Page.ClientScript.GetCallbackEventReference () method.
? Create a sever methods named RaiseCallbackEvent() and GetCallbackResult(), which returns a string value from the server.
? Create a client method that receives the value from the server RaiseCallbackEvent() method and does something with the value.
Post a Comment