Returning Simple Data from Web Services
Chapter 13 demonstrated the technologies that support Web Services and how to implement a very basic Web Service, the Commissions Web Service. I will pick up from there and show you how to create a Web Service that returns simple data in a practicable way.
Prime numbers—numbers divisible only by themselves or by the number 1—are useful in a tremendous variety of mathematics equations as well as encryption. (Unbreakable encryption relies on huge numbers that are the product of two very large primes. The idea is that by the time any known algorithm can factor the product, the data is no longer relevant.) The Web Service in Listing 14.1 demonstrates how to determine whether a number is prime by using a 2,000-year-old ...
Get Visual Basic® .NET Power Coding 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.