Click here to Skip to main content
15,860,859 members
Articles / Web Development / ASP.NET
Article

Race to Linux - Race 3: Reports Starter Kit using Mono SqlServer/Firebird

Rate me:
Please Sign up or sign in to vote.
2.33/5 (2 votes)
30 Sep 20052 min read 52.4K   328   15   6
Reports Starter Kit port to Linux using Mono

Introduction


Here is my port to Linux of the Reports Starter Kit using
Mono.
Honestly, it is very little to be done to te original source files to make them work under Mono so congratullations to the Mono Team. I only had to chane some ASP.Net keywords of the datagrid control (headerstyle-cssclass, footerstyle-cssclass, itemstyle-cssclass and itemstyle-width) with the syntaxis understood by Mono (ItemStyle, HeaderStyle and FooterStyle). Perhaps the most difficult task was to proper case all files to make them Linux friendly.

Prerequisites

Linux I've used Fedora Core 1 and Fedora Core 4 but any "Mono enabled" distribution should work fine
Mono Version 1.1.8 does the job perfectly

Runninig Instructions

1. Unpack the zip file in a folder, this folder will be the application's root folder.
2. Edit the web.config file and change the database connection string.
3. Optionally execute the script buildAllCS.bat to compile the application. To do this cd to the application's root folder and run $sh buildallcs.bat. Mono path must be in your PATH environment varible.
4. Execute xsp to run the application. To do this cd to the application's root folder and run $xsp.
5. Point your browser to localhost:8080 and enjoy it!

FireBird Database support added

Besides Sql Server Database Access I've coded FireBird Database Access.
The Database engine to use must be configured using the DataProvider appSettings Key of the web.config file. To use Firebird just assign the value "FireBird" to this key, any other value will be asumed as Sql Server.
In the source zip file there is a FireBeird database backup. You can use Flamerobin to create and restore the backup.

Screenshots


Updates

-Pie Chart not showing FIXED. I don't know if it is a Mono bug, but to make it work I had to generate each pie in reverse order. I think it migth a problem with the mono implementation of the GDI+ function FillPie.
-All files names where converted to lowercase, even the documentation ones to make the application 100% linux friendly :-) -Screenshots added.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Uruguay Uruguay
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralDatabase Pin
Member 223943231-Oct-08 13:42
Member 223943231-Oct-08 13:42 
QuestionHow do you populate the database? Pin
Miguel de Icaza11-Oct-05 10:27
Miguel de Icaza11-Oct-05 10:27 
AnswerRe: How do you populate the database? Pin
idepaula12-Oct-05 4:41
idepaula12-Oct-05 4:41 
GeneralDoubts Pin
anarchyco30-Sep-05 23:11
anarchyco30-Sep-05 23:11 
GeneralRe: Doubts Pin
idepaula1-Oct-05 11:08
idepaula1-Oct-05 11:08 
GeneralRe: Doubts Pin
idepaula1-Oct-05 16:56
idepaula1-Oct-05 16:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.