C4Swimmers Newsletter  

(Interview) .net Interview Questions: Caching Concepts

.NET INTERVIEW QUESTIONS

Caching Concepts


1. What is application object ?
2. What’s the difference between Cache object and application object ?
3. How can get access to cache object ?
4. What are dependencies in cache and types of dependencies ?
5. Can you show a simple code showing file dependency in cache ?
6. What is Cache Callback in Cache ?
7. What is scavenging ?
8. What are different types of caching using cache object of ASP.NET?
9. How can you cache different version of same page using ASP.NET cache object?
10. How will implement Page Fragment Caching ?
11. What are ASP.NET session and compare ASP.NET session with classic ASP session variables?
12. Which various modes of storing ASP.NET session ?
13. Is Session_End event supported in all session modes ?
14. What are the precautions you will take in order that State Server Mode work properly?
15. What are the precautions you will take in order that SQL SERVER Mode work properly?
16. Where do you specify session state mode in ASP.NET?
17. What are the other ways you can maintain state ?
18. What are benefits and Limitation of using Hidden fields?
19. What is ViewState ?
20. Do performance vary for viewstate according to User controls?
21. What are benefits and Limitation of using Viewstate for state management?
22. How an you use Hidden frames to cache client data ?
23. What are benefits and Limitation of using Hidden frames?
24. What are benefits and Limitation of using Cookies?
25. What is Query String and What are benefits and Limitation of using Query Strings?

Remoting and Webservices


1. What is a application domain?
2. What is .NET Remoting ?
3. Which class does the remote object has to inherit ?
4. What are two different types of remote object creation mode in .NET ?
5. Describe in detail Basic of SAO architecture of Remoting ?
6. What are the situations you will use singleton architecture in remoting ?
7. What is fundamental of published or precreated objects in Remoting ?
8. What are the ways client can create object on server in CAO model ?
9. Are CAO stateful in nature ?
10. In CAO model when we want client objects to becreated by “NEW” keyword is there
11. any precautions to be taken ?
12. Is it a good design practice to distribute the implementation to Remoting Client ?
13.What is LeaseTime,SponsorshipTime,Renewon CallTime and Lease Manager Poll Time?
14. Which config file has all the supported channels/protocol?
15. How can you specify remoting parameters using Config files ?
16. Can Non-Default constructors be used with Single Call SAO ?
17. Twist :- What are the limitation of constructors for Single call SAO ?
18. How can we call methods in remoting Asynchronously?
19. What is Asynchronous One-Way Calls ?
20. What is marshalling and what are different kinds of marshalling ?
21. What is ObjRef object in remoting ?
22. What is a WebService ?
23. What is UDDI ?
24. What is DISCO ?
25. What is WSDL?
26. What the different phase/steps of acquiring a proxy object in Webservice ?
27. What is file extension of Webservices ?
28. Which attribute is used in order that the method can be used as WebService?
29. What are the steps to create a webservice and consume it ?
30. Do webservice have state ?