Describe the term Channel in .Net Remoting

 Posted by Charugoel on 2/4/2009 | Category: Web Services, Remoting Interview questions | Views: 5008

In .Net Remoting, an application use Channel to send message to another application which is running in different domain or process. Before sending message, Channel converts message into appropriate format like XML or binary format. The channel that carries message(Mashalled parameter) can use protocal like TCP and HTTP. Channel can be HTTPChannel and TCPChannel. The HTTPChannel use soapFormatter to serialize messages into the XML format using SOAP protocal. Using SOAP method allows the client to call method on the remote object that might not be using .Net framework. The TCPChannel use binaryFormatter to serialize message into binary stream.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response