Setting up the IIS web site
The UMRA project is now ready and the (empty) web site exists. You can now set up the web site contents to complete the configuration.
For demonstration purposes, the web site is kept very simple and contains only 2 pages:
CreateAccount.asp: The page that shows the input fields for first and last name and a button to submit the form. This is the first page the end-user connects to when accessing the web site.
ShowResults.asp: The page that actually creates the account using UMRA COM and shows the results (%UserName% and %Password%) to the end-user in the browser. The page is generated as a response when the end-user clicks the submit button of the previous page.
Since the web site pages contain ASP code, the pages have the .ASP extension. You can create the pages with your favorite editor or copy and edit the pages from the location
.\Example Projects\Automation\ASP\CreateAccount
relative to the UMRA Console program directory. The resulting ASP pages must be stored in the specified home directory of the new web site.
Note that an ASP page generates HTML code that is presented in a browser. Instead of the literal HTML text, the ASP page can contain script sections that produce HTML. The UMRA COM objects are used in the ASP script sections.
|