Yes there is a performance difference.
Remoting in IIS can use binary format (not just SOAP).
Some links on this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdadotnetarch14.asp
http://www.thinktecture.com/Resources/Articles/REMOTINGVS.ASP.NETWEBSERV.html
Yes there is a big difference between the SOAP format used by Remoting and the SOAP format used by Web Service. The SOAP format used by Remoting is very custom to MS, so do not try to connect non .NET application using Remoting SOAP format. ka
In order to make sure you are writing an app that can be easily upgraded in future when Indigo arrives make sure you take a look at the following two blogs:
http://blogs.msdn.com/richardt/archive/2004/03/05/84771.aspx
http://blogs.msdn.com/mattavis/
Regards,
Vikram
http://dotnetupdate.blogspot.com/
Here are some links which have the analysis that you need:
Guidance on "How to Choose" ? Performance Comparison: .NET Remoting vs. ASP.NET Web Services
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdadotnetarch16.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdadotnetarch14.asp
Remoting Vs WebServices.
http://www.thinktecture.com/Resources/Articles/REMOTINGVS.ASP.NETWEBSERV.html
Also note that .NET Remoting is deprecated once Indigo is released:
Is .NET Remoting Dead?
http://blogs.msdn.com/richardt/archive/2004/03/05/84771.aspx
Regards,
Vikram
--
Mark the reply as an answer if you found it helpful
--
Hi,
Additionally, you have remember that with .NET remoting you can levearge the usage of Generics (as part of .NET 2.0 Visual Studio 2005). Since the Generics are microsoft specific, these are not supported Web services.
Once you are using generics, then .NET removing either tcp or http needs to binary and not soap driven.
Regards,
Ravi Vishnubhotla,
Infosys Technologies Ltd.
Hi HBOne,
In summary, according to me, if you are using microsoft techs on both the ends (provider and consumer) then go for remoting else go for web services. As both ends are microsoft centric in remoting, it provides some performance advantages as it can communicate in binary format while other communicates in SOAP.
Keep an eye on WCF to make sure you get maximum out of your investment.
Cheers,
Kanaiya
I am trying a weird thing.
Since web services transmits only certain data types, I am serializing an object into a stream and then converting it into Byte[]. This then is the return type of the web method. The consumer of this web service can deserialize the byte array provided it has dotnet on it.
This way I am able to transfer custom objects over wire using web services and NOT remoting even when they are part of inheritance chains !. Object graphs are no hindrance this way.
So why then does everybody talk of this limitation of web services ?
Am I missing something ?