When we use web service and when we use Remoting?
Answers were Sorted based on User's Feedback
Answer / ankit dass
.NET remoting is specifically used when you are using only
Microsoft platform. Remoting cannot be used between .net
client and non .NET clients.
Web services though can be used for communication on
MIcrosoft technologies, but their main feature is Platform
Interoperability.
So if you are using client and server supporting .NET
framwork, iwould recommend to use .NET remoting because
you can customise it to great detail and also its faster.
If you are developing for cross platform technologies, you
cannot use .NET remoting. So the only option you have is ot
use web services
| Is This Answer Correct ? | 30 Yes | 0 No |
Answer / ganesh
WebService is Platform,Object ,Programming Language
indepedent while remoting depends on platform means client
to be built using .NET Framework or other framework that
supports .NET Remoting
webservice can be accessed on http protocol and soap based
message formating while remoting supports tcp/http with
binary and soap based formating.
webservice is based on singlecall method means for every
request remote object is loaded, while remoting supports
singlecall and singleton method.
webservice lies under unbrella of Remoting.
| Is This Answer Correct ? | 18 Yes | 1 No |
Explain the types of .net remoting?
What are static assemblies and dynamic assemlies. Differences between them ?
Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs? In what way it is best?
Explain how does assembly versioning in .net prevent dll hell?
What is asynchronous programming?
What is the difference between the RegisterWellknownServiceType(), RegisterWellknownClientType(), RegisterActivatedServiceType() and RegisterActivatedClientType() in .net?
What are the security features in .net remoting?
What are the situations you will use singleton architecture in remoting ?
What are the steps to publish an object outside the service domain
What are the different types of channels used by .net remoting?
How do you define the lease of the object?
About performance issues on retrieving records ?