| Setting up the BDSWebExample Delphi 8 (ASP.NET) demo application | |||||||||||||||||||||
| Page 2: Configuring the virtual directory on a web server - using IIS and/or Cassini. | |||||||||||||||||||||
Ok, we now have a database for the BDSWebExample set up. Our next task is to create a virtual directory.
IIS, virtual directory, Web Server? Most Web designers/developers start out by learning client-side technologies like HTML, JavaScript, CSS, etc. When a browser requests a web page created with client-side technologies, the Web server simply serves the (HTML) files that the browser requests.
Server-side technologies like ASP.NET are different. The code in the ASP.NET Web page is read by the server and used to dynamically generate standard HTML (and JavaScript, CSS, ...) that is then sent to the browser.
The next steps show you how to mark a directory as an (web) application root directory using Internet Information Services (IIS).
Note: the steps show how to build a virtual directory for the BDSWebExample application.
1. Run IIS (Start - Run - inetmgr.exe)
4. In the "Virtual Directory Creation Wizard", click Next.
After you have compiled the Cassini web server, you can start it by running the CassiniWebServer.exe in the "C:\Program Files\Borland\BDS\2.0\Demos\Cassini" folder.
"Applications directory" should point to "C:\Inetpub\wwwroot\BDSWebExample", leave the "Server Port" on 80, set "Virtual root" to "/BDSWebExample":
If you are using IIS, simply start your browser, and in the address bar write "http://localhost/bdswebexample/default.aspx" ... This is what you should see (browse around, get accustomed with the pages):
![]() That does it! Luckily this is the *last* time you'll need to restore the database, and create a virtual folder (all manually) in this course :) To the next chapter: A Beginner's Guide to ASP.NET Programming for Delphi developersIf you need any kind of help at this point, please post to the Delphi Programming Forum where all the questions are answered and beginners are treated as experts.First page > Restoring the database > Page 1, 2 A Beginner's Guide to ASP.NET Programming for Delphi developers: Next Chapter >> |
|||||||||||||||||||||


