ASP.NET 2.0 Question:
Download Questions PDF

Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component?

Answer:

If you are developing an intranet app and you want to display the current stock price of your company, its best to consume a webservice the provide that service. IOW, when you want to get 'outside' data throuh a corporate firewall

If, say, you want to display latest news from HR deartment in your portal, better to have a .NET DLL that connect to corporate HR Database and get the info.

Download ASP.NET 2.0 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain What is an abstract class?Trace and Debug belongs to which namespaces?