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 autopostback in asp net?
Which asp.net objects encapsulate the state of the client and the browser?
Is there any alternative to avoid name collisions other then Namespaces?
What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?
What are server side controls?
Explain how does asp page work?
What is the advantage of mvc over asp.net? : Asp.Net MVC
Define view state.
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?
Which two new properties are added in asp.net 4.0 page class?
How to display validation messages in one control?
What is the purpose of App_Code folder in ASP.NET? Why we this?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What is IPostBack? How to use it?
WSDL means?