answersLogoWhite

0


Best Answer

XML Web services offer a simpler model for distributed applications than that provided by .NET Remoting. XML Web services are fine-tuned for internet scenarios and cross-platform use. Although you can apply .NET Remoting in these scenarios, thanks to its SOAP formatter and HTTP channel, .NET Remoting is more suitable as a high-speed solution for binary communication between proprietary .NET components, usually over an internal network. And although XML Web services can't match the communication speed of .NET Remoting over a binary channel, they still lend themselves to high-performance designs thanks to their stateless nature and ASP.NET's multithreaded hosting service. Here's a quick overview of the major differences between the XML Web service and .NET Remoting technologies: * XML Web services are more restricted than objects exposed over .NET Remoting. An XML Web service works in a similar way to a SingleCall .NET Remoting object. It isn't possible to create a singleton or a client-activated object. * Because of the restricted nature of XML Web services, the design issues are simplified. XML Web services are generally easier to create than remotable components (and easier to design well). * Communication with .NET Remoting can be faster than XML Web service communication if you use a binary formatter. XML Web services support only SOAP message formatting, which uses larger XML text messages. * XML Web services support open standards that target cross-platform use. For example, each .NET XML Web service has an associated WSDL document that describes how a client can interact with the service. Therefore, any client that can parse an XML message and connect over an HTTP channel can use an XML Web service, even if the client is written in Java and hosted on a UNIX computer. * XML Web services are designed for use between companies and organizations. They can use a dynamic discovery mechanism or a UDDI registry that "advertises" services to interested parties over the Internet. * XML Web services don't require a dedicated hosting program because they are always hosted by ASP.NET. That also means that they gain access to some impressive platform services, including data caching, Web farm-ready session state management, authentication, and an application collection for global, shareable objects. These features, if required, can be extremely difficult to re-create by hand in a component exposed through .NET Remoting. * Because XML Web services work through Microsoft Internet Information Services (IIS) and ASP.NET, they can communicate with clients using the default HTTP channel (usually port 80). This means that consumers can use XML Web services just as easily as they can download HTML pages from the Internet. There's no need for an administrator to open additional ports on a firewall. source - http://www.microsoft.com/mspress/books/sampchap/6723.aspx [utsav.verma at gmail.com]

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between xml web services using asmx and net remoting using soap?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How did the ancient Romans tell the difference between days and months?

The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.The Romans told the difference between days and months by using a calendar, just as we do.


How do you find the distance between two integers using the difference?

The difference (greater minus lesser) is the distance between them.


What is the difference between cellular telephones and cordless telephones?

Cellular Telephones is using the Integrated Services Digital Network ISDN while the Cordless Telephone is using the Public Switched Telephone Network PSTN, same with ordinary telephone.


What is the difference between speed and rate?

The difference is, speed is how much you are going or using but rate is how much you have been going or using.


What is the difference between an LCD monitor using a VGA 15 PIN port and using dvi-d plug?

What is the difference between an LCD monitor using a VGA 15 PIN port and using dvi-d plug?


What is the difference between hearing and sight?

Hearing is audio, using your ears. Sight is visual, using your eyes.


What is the difference between a heterotrophic and a autotrophic?

Whats the difference between autotroph and a heterotroph?


What is the difference between human and animal communications?

The difference is that humans speak using words and body language and animals speak using body language and noises.


What is the difference between using 100 watts for 2 hours or 50 watts for 4 hours?

In theory, no difference.


What the difference between objective lens and the ocular lens when using a microscope?

the name


What is the difference between inequalities and equations using adding?

equations have an = sign, inequalities do not


What is the difference between using a solar cell for electricity and using a windmill?

WHEN it works - solar by day, wind when its blowing.