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
What is the file extension of web service?
What are the new data controls in asp.net 2.0?
Is asp.net is a programming language?
What does occur first in ASP.Net, Authentication or Authorization?
How to handle errors in Web API?
What is the difference between localization and globalization?
How use Xml data in ASP.net?
Explain the use of duration attribute of @outputcache page directive.
What are custom controls?
Explain client side state management system.
How do I upload a file from my ASP.NET page?
Can one dll file contains the compiled code of more than one .net language?
How are sessions stored?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
How we can force all the validation controls to run?