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.
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.
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.
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