English 中文(简体)
.NET Remoting over WCF?
原标题:

Why would you use .NET Remoting over WCF?

I understand that WCF has its distinct advantages, but what advantages would .NET Remoting offer you over the more modern WCF technology?

最佳回答

WCF provides the ability to essentially do exactly what .NET Remoting does through the choice of binding you use when configuring your WCF service.

WCF abstracts the idea of a service from the transport technology that is used to implement that service. You can define a WCF service and then change the transport technology used to provide that service through configuration, one of these being net/tcp which is essentially the technology .NET Remoting uses.

WCF is more of a replacement for .NET Remoting than an alternative.

问题回答

WCF is .NET Remoting s replacement. It can do HTTP based transport and also TCP/IP based tranport, both secure or not secure, (you can plug in to WCF any serializing engine you want) and it s easier to define and maintain. So I don t think .NET Remoting have anything over WCF, maybe it helps you to go deep and low level, but why go the hard way?





相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...

热门标签