Can a DataAdapter.Fill method take DataTable as parameter or it works only for DataSet?

It has 5 different overloads and of course it can take DataSet as well as DataTable as parameter to fill data in from database.

Read more http://www.dotnetfunda.com/interview/exam111_can_a_dataadapterfill_method_take_datatable_as_parameter_or_it_works.aspx

Author: Raja

What security measures exist for .NET Remoting in System.Runtime.Remoting?

None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level.

Read more http://www.dotnetfunda.com/interview/exam108_what_security_measures_exist_for_net_remoting_in_systemruntimeremot.aspx

Author: Raja

What’s a proxy of the server object in .NET Remoting?

It’s a fake copy of the server object that resides on the client side and behaves as if it was the server. It handles the communication between real server object and the client object. This process is also known as marshaling.

Read more http://www.dotnetfunda.com/interview/exam103_what’s_a_proxy_of_the_server_object_in_net_remoting.aspx

Author: Raja

What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?

Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. 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.

Read more http://www.dotnetfunda.com/interview/exam109_what_are_the_consideration_in_deciding_to_use_net_remoting_or_aspnet.aspx

Author: Raja

What’s Singleton activation mode?

A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.

Read more http://www.dotnetfunda.com/interview/exam107_what’s_singleton_activation_mode.aspx

Author: Raja

What are remotable objects in .NET Remoting?

Remotable objects are the objects that can be marshaled across the application domains. 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.

Read more http://www.dotnetfunda.com/interview/exam104_what_are_remotable_objects_in_net_remoting.aspx

Author: Raja

What’s SingleCall activation mode used for?

If the server object is instantiated for responding to just one single request, the request should be made in SingleCall mode.

Read more http://www.dotnetfunda.com/interview/exam106_what’s_singlecall_activation_mode_used_for.aspx

Author: Raja

What is a formatter?

A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.

Read more http://www.dotnetfunda.com/interview/exam105_what_is_a_formatter.aspx

Author: Raja

Explain what a diffgram is, and a good use for one?

The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. A good use is reading database data to an XML file to be sent to a Web Service.

Read more http://www.dotnetfunda.com/interview/exam101_explain_what_a_diffgram_is_and_a_good_use_for_one.aspx

Author: Raja

What is the lifespan for items stored in ViewState?

Item stored in ViewState exist for the life of the current page. This includes postbacks (to the same page).

Read more http://www.dotnetfunda.com/interview/exam102_what_is_the_lifespan_for_items_stored_in_viewstate.aspx

Author: Raja