Asp .Net Interview Question and Answer | Web Application | Session 08

71. Can you give an example of when you might use it?  
Ans: When you want to inherit (use the functionality of) another class. Base Class Employee. A Manager class could be derived from the Employee base class.
 
72. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?  
Ans: 1.  A DataSet can represent an entire relational database in memory, complete with     tables, relations, and views.
          2.  A DataSet is designed to work without any continuing connection to the original data source.
          3.  Data in a DataSet is bulk-loaded, rather than being loaded on demand. 

73. What is the difference between Server.Transfer and Response.Redirect?
 
Ans: Both are used for transfer auser form one page to another page.But they are syntecticaly different .

74. What is Singleton activation mode?
Ans: A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.
 
75. What security measures exist for .NET Remoting? 
Ans: None.
 
76. What are channels in .NET Remoting? 
Ans: Channels represent the objects that transfer the other serialized objects from one application domain to another and from one computer to another, as well as one process to another on the same box.
 
77. What are remotable objects in .NET Remoting? 
Ans: 1. They can be marshaled across the application domains.
         2. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where  just a reference to an existing object is passed.
 
78. Do you know the proxy of the server object in .NET Remoting? 
Ans: This process is known as marshaling. It handles the communication between real server object and the client object. We can say that It’s a fake copy of the server object that resides on the client side and behaves as if it was the server.

79. Give your idea when deciding to use .NET Remoting or ASP.NET Web Services?
 
Ans: 1. Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. 
         2. Web Services provide an open-protocol-based exchange of informaion.  Web Services are best when you need to communicate with an external organization or another (non-.NET) technology.

80. Define the possible implementations of distributed applications in .NET? 
Ans: .NET Remoting and ASP.NET Web Services. If we talk about the Framework Class Library, noteworthy classes are in System.Runtime.Remoting and System.Web.Services. 


Previous Next


:: Click the links below for similar type Questions and answers ::

0 comments:

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes