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 are session cookies?
To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?
What are session state modes in asp.net?
What are the advantages of asp.net?
In which event of the page life cycle, is the viewstate available?
What is redirecting behavior?
Why do I get error message "could not load type" whenever I browse to my asp.net web site?
Explain the difference between value type and reference type?
Contrast OOP and SOA. What are tenets of each ?
What is the maximum number of classes that can be contained in one dll file?
What are Master Pages in ASP.NET? or What is a Master Page?
What is server side routing?
What is the application pool?
What is rending process in ASP.NET?
Explain the working of passport authentication.