Chapter 8
Using Remoting to Build and Consume Web Services
Practically every modern development platform provides a distributed object infrastructure that allows a client to communicate with a remote object. Prior to Microsoft .NET, this role was fulfilled by DCOM. The distributed object infrastructure for .NET is called Remoting. You can use it to build and consume Web services because one of the message formats it supports is SOAP.
In the previous chapter, I discussed how you can use ASP.NET to build and consume Web services. In some respects, ASP.NET provides a more complete platform for building Web services than Remoting does. For example, Remoting supports only RPC-style messages. Microsoft is also hyping ASP.NET as the preferred platform for building Web services. So when should you consider using Remoting instead of ASP.NET?