Hi,
What is remoting. What is difference between remoting and web service?
Thanks.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Alok PandeyPosted Feb 1, 2012, 3:23 AM
Satyapriya NayakPosted Feb 1, 2012, 12:32 AM
.NET remoting you can make remote object calls which lie in different Application Domains.
Use remoting for more efficient exchange of information when you control both ends of the application. Use Web services for open-protocol-based information exchange when you are just a client or a server with the other end belonging to someone else.
ASP.NET Web Services
.NET Remoting
Protocol
Can be accessed only over HTTP
Can be accessed over any protocol (including TCP, HTTP, SMTP and so on)
State Management
Web services work in a stateless environment
Provide support for both stateful and stateless environments through Singleton and SingleCall objects
Type System
Web services support only the datatypes defined in the XSD type system, limiting the number of objects that can be serialized.
Using binary communication, .NET Remoting can provide support for rich type system
Interoperability
Web services support interoperability across platforms, and are ideal for heterogeneous environments.
.NET remoting requires the client be built using .NET, enforcing homogenous environment.
Reliability
Highly reliable due to the fact that Web services are always hosted in IIS
Can also take advantage of IIS for fault isolation. If IIS is not used, application needs to provide plumbing for ensuring the reliability of the application.
Extensibility
Provides extensibility by allowing us to intercept the SOAP messages during the serialization and deserialization stages.
Very extensible by allowing us to customize the different components of the .NET remoting framework.
Ease-of-Programming
Easy-to-create and deploy.
Complex to program.
Thanks