finger Web Service in C#
As mentioned previously, the old Unix finger command reached into a user's account and retrieved a file that contained user information. This information then was returned to the caller—perhaps the caller needed to know a phone number or location where the user could generally be found. This example won't access individual Window user accounts, but it will show you how to access a database using ADO.NET and C#.
NOTE
If you've done any database programming at all, you know that it's far better to place your SQL queries in a stored procedure than inline in your business layer. Yet that's exactly what we've done for this example. The reason for this is simply that it's easier to distribute a self-contained Access database ...
Get Applied SOAP: Implementing .NET XML Web Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.