You must Sign In to post a response.
  • Category: WCF

    Queries Regarding .net remoting

    Hi All,

    Recently i have had the chance to work with .net remoting. What I understood is that .net remoting is done using Serialization or by using MarshallByRefObject.
    My questions are as follows:

    i need to know the difference between these two Serialization and MarshallByRefObject?(in depth explanation is appreciated)

    Also why is WCF preffered over Remoting ?

    Even if we create a secure channel in Remoting which is more prefferable in terms of security(WCF/Remoting)?
  • #758637
    Hi Tarun.

    There are many things to discuss if your question was "why wcf instead of remoting".
    There are different approaches to work with distributed technology given by different people.
    DCOM->RMI->CORBA->REMOTING->WEBSERVICE->WCF
    Definitely WCF has overcome all those and preferred now a days.
    Below links explains you why wcf than remoting.

    http://stackoverflow.com/questions/3164023/does-wcf-really-replace-net-remoting

    http://www.codeproject.com/Articles/45698/WCF-Comparison-with-Web-Services-and-NET-Remoting

    Difference between serialization and marshalling
    http://www.c-sharpcorner.com/uploadfile/GemingLeader/serialization-vs-marshaling/

    http://stackoverflow.com/questions/19315786/difffrence-between-serializable-and-marshalbyrefobject
    Regards

    Sridhar.
    DNS Member.
    "Hope for the best.. Prepare for the worst.."

    Sridhar Thota.
    Editor: DNS Forum.

  • #758680
    The main thing over WCF migration is security, .NET Remoting is a legacy product and not secure in untrusted environments, it is not safe to expose public .NET Remoting endpoints
    WCF is good when you want to increase your choice for communication channels from TCP and HTTP to also include MSMQ and a considerably faster named pipes channel.

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]


  • Sign In to post your comments