When we release Delphi 2005 year ago, I did one example named Page Counter, the purpose of this example was to explain how to use the events on Global.asax and at the same time show how to use pictures and access the database with BDP.
Now with RAD Studio 2007 and ASP.NET 2.0 we have a lot of cool features for .NET Web Development and them I move this example to ASP.NET 2.0 and migrate from BDP to ADODbxClient.
This new version of Page Counter explores some of these news features in RAD Studio 2007, like:
- Ajax Web-based Application
- ADODbxClient
- Master Page
- Site Maps
- Themes
- Blackfish SQL
Also explains the 8 events in the global.asax file. These events are used to create application access, page access and logged users counters.
- Application_Start
- Session_Start
- Application_BeginRequest
- Application_EndRequest
- Application_AuthenticateRequest
- Application_Error
- Session_End
- Application_End
This application was tested with two databases, InterBase 2007 and Blackfish SQL, so I’m using ADODbxClient that you can created the same database structure in other databases.
The complete source code is available on CodeCentral, after download read the Readme.html file.
Enjoy with RAD Studio!!!
Post a Comment