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

Showing Answers 1 - 13 of 13 Answers

santosh

  • Aug 28th, 2005
 

when there is no .Net framework installed in one of the communicating applications.

  Was this answer useful?  Yes

Anil

  • Sep 26th, 2005
 

Not always... we can use for a centeralized data. Hiding the business logic etc....

  Was this answer useful?  Yes

Marikanna Narayanan

  • Oct 27th, 2005
 

If we dont know what the client environment will be then it better to use webservice

.net guy

  • Mar 23rd, 2006
 

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.

yadyhunjan

  • Jan 23rd, 2008
 

Web service should be used when communicating through a Firewall. When building a distributed application with 100s/1000s of users are spread over multiple locations.

  Was this answer useful?  Yes

manudharm

  • May 11th, 2009
 

Web service is one of main component in Service Oriented Architecture. You could use web services when your clients and servers are running on different networks and also different platforms.

This provides a loosely coupled system. And also if the client is behind the firewall it would be easy to use web service since it runs on port 80 (by default) instead of having some thing else in Service Oriented Architecture applications.

  Was this answer useful?  Yes

mrp100461

  • Aug 6th, 2009
 

I would use a webservice if any other application or Website was going to use it, but if I was doing an internal programming that was going to be used in the website that is when I would use a non serviced .net componet(dll), this would be repeated code functionalty within the website.  With the new SOA architecture this says that webservices should be used, with the new WCF I can se the benefit in this

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions