- ASP.NET based Web services can only be accessed over HTTP.
- .NET Remoting can be used across any protocol. (TCP.Http)
- Web services work in a stateless environment where each request results in a new object created to service the request.
- .NET Remoting supports state management options and can correlate multiple calls from the same client and support callbacks.Web services are easy to create and use while .NET Remoting are complex to be created
- Web services serialize objects through XML contained in the SOAP messages and can thus only handle items that can be fully expressed in XML.
- .NET Remoting relies on the existence of the common language runtime assemblies that contain information about data types. This limits the information that must be passed about an object and allows objects to be passed by value or by reference.
- Web services support interoperability across platforms and are good for heterogeneous environments.
- .NET Remoting requires the clients be built using .NET, or another framework that supports .NET Remoting, which means a homogeneous environment.
Thursday, 27 January 2011
Difference Between WebService and .Net Remoting
Labels:
.Net Remoting
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment