Q. What is Dipose method?Ans. Dispose is the method, which we call usually when we want the object to be garbage collected. If u r calling Dispose() on inbuilt classes like Form, It'll call a method Finalize() method, which will usually used to cleanup any resources used with in the form. With in this Finalize method, we call the garbage collector to recycle the memory. So, when u r using dispose method, it is used to mark the object to Garbage Collectable. Calling the Dispose ose't means, that object will be garbage collected immediately. GC will monitor the Managed memory for objects Marked 4 garbage collectable. The recycling of memory depends on when the GC will pay the visit. Purely the Dispose method is not used for reseting the values in the object. It is used to mark the Object to b collected by the GC
Q. When can all the session state data be retrieved. Choices are:
2) during prerender
3) during load event..
Ans. Page init event will occur, when the request will b handled by the worker process on server. Page_init is the first event which will instantiate the page. Here itself u can get the session state data if it is the first time request to the server. The pre-render is the one of the stage in the page life cycle where the page content will be converted to the browser specific. The server can get the information about the browser which made the request. Rendering means placing the controls on the browser. Page_Pre-render event will fire just before the page_render event. B4 the page render page load event fire.
Q. How many types of JIT compilers are available?
Ans. There are Two types of JIT compilers.
Standard JIT compiler.
Econo JIT compiler.
Q. What are the different types of assemblies – name them?
Q. What is GAC? What are the steps to be taken to pick up the latest version from GAC?
Q. Different methods of using a legacy COM component in .NET framework?
Q. How do you implement SSL?
Q. Is it possible to debug java-script in .NET IDE? If yes, how?
(CLR) never calls the Finalize method on any structure; classes are terminated by the garbage collector (GC), which calls Finalize on a class when it detects there are no active references remaining.
Q. Under what circumstances do you use DOM parser and SAX parser
Q. What is a well-formed XML and is the purpose of Diffgram?
Ans. Textual object is a well-formed XML document if it satisfies all the following points
1. Taken as a whole, it matches the production labeled document.
2. It meets all the well-formedness constraints given in this specification.
3. Each of the parsed entities which is referenced directly or indirectly within the document is well-formed.
The purpose of Diffgram is the Ability to pass parameters. It contains the tags that specify the original and new state of data
Q. Differentiate between legacy ADO recordset and .NET dataset.
What are typed datasets?
Ans. Recordset provides data one row at a time. Connection is open.
Dataset is a data structure which represents the complete table data at same time. Dataset is just a data store and manipulation is done through
DataAdapters in .NET
DataSet in Type-safe manner. It will raise error at compile time if any mismatch of column data type.