GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 6 of 161    Print  
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

  
Total Answers and Comments: 7 Last Update: August 06, 2009   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 28, 2005 21:19:12   #1  
santosh        

RE: Can you give an example of when it would be appropriate to use a web service as opposed to a non-ser...
when there is no .Net framework installed in one of the communicating applications.
 
Is this answer useful? Yes | No
September 26, 2005 03:39:10   #2  
Anil        

RE: Can you give an example of when it would be approp...
Not always... we can use for a centeralized data. Hiding the business logic etc....
 
Is this answer useful? Yes | No
October 27, 2005 18:17:13   #3  
Marikanna Narayanan        

RE: Can you give an example of when it would be approp...
If we dont know what the client environment will be then it better to use webservice
 
Is this answer useful? Yes | No
March 23, 2006 13:01:30   #4  
.net guy        

RE: Can you give an example of when it would be approp...

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.


 
Is this answer useful? Yes | No
January 23, 2008 17:49:36   #5  
yadyhunjan Member Since: January 2008   Contribution: 1    

RE: Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
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.
 
Is this answer useful? Yes | No
May 11, 2009 01:42:47   #6  
manudharm Member Since: May 2009   Contribution: 1    

RE: Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
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.

 
Is this answer useful? Yes | No
August 06, 2009 05:52:44   #7  
mrp100461 Member Since: January 2008   Contribution: 11    

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

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


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape