JScript .NET, Part VIII: Consuming IsPrime from ASP.NET
add Web service in particular. In this column, we'll explain how to consume another specific Web service, the
IsPrime Web service.
Web services are getting very popular. You can consume them from both clients and servers. We showed you in other columns (97, 98, 99, 105, and 106) how to consume them from clients. In Column 113 we showed you how to consume them from servers, using the
add Web service. In this column, we'll show you how to use the
IsPrime Web service from an ASP.NET page.
Please refer to Column 113 for a primer on ASP.NET. In this column, we'll focus on the
IsPrime example. We'll show you in detail how to create the Web service's class, namespace, and
.dll files. We'll show you how to write your ASP.NET file, including the script section to handle the button events. We'll demonstrate by GIFs how to use the ASP.NET page on your Web server.
In this column you will learn:
- How to create a proxy
- How to create a .dll file
- How to write ASP.NET controls
- How to write JScript .NET for ASP.NET
- How to consume the
The following files were zipped for you:
IsPrime Web service) and
isPrimeConsumer.aspx (a consumer of the
IsPrime Web service).
Next: How to create a proxy