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

Will session work if cookies is disabled?

517


Who is using asp.net?

496


How you can return View from ASP.NET Web API method?

539


Difference between web user control and web custom control?

495


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

587






Name the two properties are on every validation control?

536


What is the difference between a candidate key and primary key?

516


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

534


Explain the advantages of asp.net.

539


What is difference between web config and global asax?

439


What is the difference between web.config and machine.config in ASP.NET?

588


8. Why do you want to work here?

1468


What is the difference between c# and .net?

573


What does it mean your session has timed out?

519


Why session is used in asp.net?

524