Writing Web Pages with Dyalog.Net

Introduction

These pages are hosted by a computer running in Dyadic's Basingstoke office, England. The computer is running Microsoft Internet Information Services (IIS) Version 5.0 (web server software) under Windows 2000 Server, with the Microsoft .NET Framework and Dyalog.Net installed.

ASP.NET web pages are files stored in an IIS Virtual Directory which have the extension .aspx. When a client browser requests a .aspx file,  IIS calls ASP.NET to process the file. ASP.NET web pages typically contain HTML page layout and a script. The script, which may be written in any .NET language is executed on the server under the control of ASP.NET and before the page is sent to the browser. The script may contain code that initialises dynamic content on the page,  and/or code that is executed when you post the page back to the server. A postback operation happens, for example, when you click a Submit button on the page.

It is important to realise that the code in the script is never transmitted or downloaded to your browser. The code runs on the server, in this case, our computer in Basingstoke. The script's job is typically to generate dynamic content on the page, for example from a database lookup, or to display results from your previous input. This dynamic content is merged with any HTML on the page before being sent to the browser. The script itself is stripped out before the page is sent.

Running the Tutorial

After this introduction, each of the pages you will see is generated by a .aspx file containing HTML and Dyalog.Net code. To this is added a command bar like the one below. This is used to move from one example to another, and to display an explanation of how the script works. The explanation is displayed in a separate window and includes the source code for the page, so you can see exactly what is being run on the server. The program that displays the explanation and source is also implemented by a Dyalog.Net web page, but that's another story ...


Explanation
Previous 1 2 3 4 5 6 7 8 9 10 11 12 13 Next