JScript .NET, Part VII: Consuming add from ASP.NET: A Final Word - Doc JavaScript
JScript .NET, Part VII: Consuming add from ASP.NET
A Final Word
In this column, we showed you how to consume Web services from ASP.NET. We first explained ASP.NET's role in server interactions, and its similarities to HTML's role in client interactions. We guided you through the process of defining a default Web site and linking it to the directory where your files reside on your hard drive. We went through the flow of generating the proxy for the add
Web service, its class, namespace, and .dll
file. We taught you how to write the ASP.NET consumer, with its two ASP.NET controls, ASP:TEXTBOX
and ASP:BUTTON
. We showed the JScript .NET portion of the page, how to call the Web service from within the consumer, and what the page looks like in the browser.
In this column you have learned:
- How to use ASP.NET
- How to define a virtual directory
- 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
add
Web service
The following files were zipped for you: simpleCalc.asmx
(the add
Web service) and simpleCalcConsumer.aspx
(a consumer of the add
Web service).
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: June 30, 2002
Revised: June 30, 2002
URL: https://www.webreference.com/js/column113/9.html