top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Difference between web service and remoting.net?

+3 votes
403 views
Difference between web service and remoting.net?
posted Feb 9, 2015 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

.NET REMOTING:

1.In this programs and software components interact across application domains, processes, and machine boundaries. This helps applications to use remote resources in a networked environment.

2.In .NET remoting, the remote object is implemented in a class derived from System.MarshalByRefObject and MarshalByRefObject class provides the core foundation for enabling remote access of objects across application domains.

3.Remote object is confined to the application domain where it is created. In .NET remoting, a client doesn't call the methods directly; instead a proxy object is used to invoke methods on the remote object. Every public method that we define in the remote object class is available to be called from clients.

enter image description here

WEB SERVICES:

1.It enables cross-platform integration by using HTTP, XML and SOAP for communication thereby enabling true business-to-business application integrations across firewalls. Because Web services rely on industry standards to expose application functionality on the Internet, they are independent of programming language, platform and device

2.To create a Web service create a Web service class derived from the System.Web.Services.WebService class and add the methods (functionality) with the WebMethod attribute. These methods can be invoked by sending HTTP requests using SOAP.

3.You can very easily create a proxy class for your Web service using either wsdl.exe utility or the Add Web Reference option in VS.NET. The Web service proxy hides all the network and marshaling plumbing from the application code, so using the Web service looks just like using any other local object

enter image description here

answer Feb 10, 2015 by Manikandan J
...