1.

What are .NET Web services and .NET Remoting? Write the difference between them.

Answer»

.NET Remoting: It is a method that enables objects to communicate or interact with each other across application DOMAINS, processes, and machine boundaries, whether application components are present in one computer or different computers across the entire world. 

.NET Web service: It is a method that enables cross-platform integration by USING XML, HTTP, and SOAP for communication among two devices over WWW. It simply shares BUSINESS logic, processes, and data through programmatic interfaces across a network.

Both of them are powerful TECHNOLOGIES that provide SUITABLE frameworks and thus support the development of distributed technologies and application integration. There is some difference between these two technologies as given below. 

Web Services.NET Remoting
It uses HTTP protocol. It uses TCP/HTTP/SMTP protocol. 
Its performance is slow as compared to .NET Remoting. It provides faster communication and performance when one uses the TCP channel and the binary formatter. 
These services are hosted using IIS and therefore, are more reliable. It is less reliable as compared to .NET Web services. 
It supports the XML Schema type system and provides a very simple programming model along with broad cross-platform reach.It supports a runtime type system and provides a complex programming model along with very limited reach. 


Discussion

No Comment Found