Web services provide programmers with a new way to sell and distribute the code they create. In this chapter, you examined ways you can offer trial versions of your services to other programmers across the Web. The programmers can use the trial versions to ensure that your code “works as advertised” and that the code solves the programmers’ needs.
To manage the programmers to whom you have authorized use of your web services, you learned ways you can grant unique identifiers (keys) to each programmer who registers to use your code. You also examined some web services you can extend to manage the users’ keys (providing ways to update keys after programmers buy your code or to send keys to programmers who have misplaced their access code). To control the programmers’ use of your trial versions, you learned ways you can restrict access to the web service to a specific number of days (such as a 30-day limit), to given hours of the day, or to a limited number of calls per day.
To manage the programmers who try or buy your code, you will need to use a database. For simplicity, this chapter’s web services created datasets on the fly from XML data. Chapter 7 examines ways you can use ADO.NET-based databases within web services.
In Chapter 16, “Putting It All Together,” you will use many of the techniques you have examined throughout this book to create a Jobs web service that job seekers can use to post resumes and that employers can use to post job openings.