About remoting and web services. Difference between them?

Answer Posted / madhavi latha

asp.net web services are accessed using HTTP only.while
remoting accessed over any protocal like TCP,SMTP,HTTP.

webservices are stateless,where as remoting has support
both stateless and with state,which is achieved using
singleton,singlecall.

singlecall:object doesn't maintain any state bitween calls.
bcoz it maintains instance instance for every call.

singleton:it maintains single instance for all client
request.it is useful when you need to maintain shared data
or resources b/w clients.ex:-windows media player

no need to build webservices in .net it allows other
platforms webservices also.where as remoting build in same
platform only.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the file extension of web service?

641


What are the new data controls in asp.net 2.0?

616


Is asp.net is a programming language?

568


What does occur first in ASP.Net, Authentication or Authorization?

650


How to handle errors in Web API?

735






What is the difference between localization and globalization?

663


How use Xml data in ASP.net?

651


Explain the use of duration attribute of @outputcache page directive.

725


What are custom controls?

619


Explain client side state management system.

643


How do I upload a file from my ASP.NET page?

683


Can one dll file contains the compiled code of more than one .net language?

634


How are sessions stored?

633


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

619


How we can force all the validation controls to run?

622