ASP.NET Web Services Can be accessed only over HTTP but .Net Remoting Can be accessed over various protocols like TCP, HTTP, SMTP etc.
Web Services are based on stateless service architecture but .Net Remoting support for both stateful and stateless environment.
Web Services support heterogeneous environments means interoperability across platforms but .Net remoting requires .Net on both server and client end.
.NET Remoting provides the fast communication than Web Services when we use the TCP channel and the binary formatter.
Web services support only the objects that can be serialized but .NET Remoting can provide support to all objects that inherit MarshalByRefObject.
Web Services are reliable than .Net remoting because Web services are always hosted in IIS.
Web Services are ease to create and deploy but .Net remoting is bit complex to program.
Showing posts with label Questions And Answers. Show all posts
Showing posts with label Questions And Answers. Show all posts
Thursday, February 23, 2012
Friday, February 26, 2010
Difference b/w UDFs and Stored Procedures
1>Procedure can return zero or n values whereas function can return one value which is mandatory.
2>Procedures can have input,output parameters for it whereas functions can have only input parameters.
3>Procedure allow select as well as DML statement in it whereas function allow only select statement in it.
4>Functions can be called from procedure whereas procedures cannot be called from function.
5>Exception can be handled by try-catch block in a procedure whereas try-catch block cannot be used in a function.
6>We can go for transaction management in procedure whereas we can't go in function.
7>Procedures can not be utilized in a select statement whereas function can be embedded in a select statement.
2>Procedures can have input,output parameters for it whereas functions can have only input parameters.
3>Procedure allow select as well as DML statement in it whereas function allow only select statement in it.
4>Functions can be called from procedure whereas procedures cannot be called from function.
5>Exception can be handled by try-catch block in a procedure whereas try-catch block cannot be used in a function.
6>We can go for transaction management in procedure whereas we can't go in function.
7>Procedures can not be utilized in a select statement whereas function can be embedded in a select statement.
Subscribe to:
Posts (Atom)