Thursday, July 5, 2007

QUE



1. what is GAC?
2. How do you create a shared assembly?
(What is the content of snk - strong name key file)
3. Contents of an assembly
4. Reflection?
5. What is meta-data?
6. Delegates means what?
7. Asynchronous call backs means what? How delegates & asynchronous call backs are interrelated?
8. Difference between user control & custom control
9. Can we use controls like dropdownlist etc. in custom control?
10. Do you know anything about Microsoft ApplicationBlocks? (For database interaction this component is used)
11. What do you mean by AJAX? (partial page rendering is the key concept of Ajax)
12. xmlhttprequest in AJAX
var req;


if (window.XMLHttpRequest) { // Non-IE browsers

req = new XMLHttpRequest();

} else if (window.ActiveXObject) { // IE

req = new ActiveXObject("Microsoft.XMLHTTP");

}

13. what is Common Type System
14. What is Finalize method
15. What is Dispose?
16. When do finalize method will be called. When do dispose be called?
17. Garbage Collection?
18. Best practices to be followed in project development
19. What do you mean by design patterns? Singleton design pattern?
20. Differences between Dataset & DataReader
21. Does 3-tier architecture increases performance? No.
22. What do you mean by XML serialization? Writing an object (public data & properties) to xml file. that is the object state information can be saved to xml & can be


retrieved back by deserializing.
Serialization is used for transportation. For accessing between different contexts (app domains) we go for object serialization.
23. What are the differences between Abstract base class & interface?
24. New features in .net framework 2.0
25. what do you mean by partial classes?


sql server
1.how can you return values from stored procedure. In how many ways can u do this.
return
out parameter
select statement


2.Exception Handling in stored procedures
Raise Error
@@ERROR





1. What is inheritance. Where did you use inheritance in your project.
2. What is overloading. Where did you use overloading in your project.
3. Why should I inherit a class from another class. I can just copy & paste the code from parent class. Isn't it?
answer: Yes you can do. But for maintenance & to reduce code redundancy you go for inheritance eventhough you can do copy & paste to the child class.
4. what is the difference between dataset & data reader.
5. can you tell the methods of a page class (init, prerender, load, error, unload etc.)
6. can u explain page execution life cycle. What happens when a page is executed
7. Why should we go for .NET framework, y can't we do with other development tools (like j2ee etc.)
8. differences between sql server 2000 & sql server 2005.
9. whats web.config file good for?
10. whats global.asax file
11.

No comments: