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
Will session work if cookies is disabled?
Who is using asp.net?
How you can return View from ASP.NET Web API method?
Difference between web user control and web custom control?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
Name the two properties are on every validation control?
What is the difference between a candidate key and primary key?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
Explain the advantages of asp.net.
What is difference between web config and global asax?
What is the difference between web.config and machine.config in ASP.NET?
8. Why do you want to work here?
What is the difference between c# and .net?
What does it mean your session has timed out?
Why session is used in asp.net?