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 http pipeline in asp.net?
Why do we use datasource in asp.net?
What is the use of worker process in asp.net?
What is the difference between viewstate and hidden field in asp.net?
Is sql backend or frontend?
how to retrieve property settings from xml .config file.
Write some code using interfaces, virtual methods, and an abstract class`
What is enableviewstatemac in asp net?
Difference between using directive vs using statement?
What are the server control tags in asp.net.?
What is the sequence in which ASP.NET events are processed?
What is the use of autowireup in asp.net?
What are cookies in your browser?
What are the asp.net security controls?
Difference between Response.redirect vs server.transfer?