Click here to Skip to main content
6,596,602 members and growing! (21,168 online)
Email Password   helpLost your password?
Web Development » ASP.NET » General     Intermediate

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

By idepaula

Reports Starter Kit port to Linux using Mono
C#, Windows, Linux, .NET 1.1, ASP.NET, Visual Studio, WebForms, Dev
Posted:30 Sep 2005
Views:24,562
Bookmarked:12 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
2 votes for this article.
Popularity: 0.70 Rating: 2.33 out of 5
1 vote, 50.0%
1

2
1 vote, 50.0%
3

4

5

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

About the Author

idepaula


Member

Occupation: Web Developer
Location: Uruguay Uruguay

Other popular ASP.NET articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 6 of 6 (Total in Forum: 6) (Refresh)FirstPrevNext
GeneralDatabase PinmemberMember 223943214:42 31 Oct '08  
GeneralHow do you populate the database? PinmemberMiguel de Icaza11:27 11 Oct '05  
GeneralRe: How do you populate the database? Pinmemberidepaula5:41 12 Oct '05  
GeneralDoubts Pinmemberanarchyco0:11 1 Oct '05  
GeneralRe: Doubts Pinmemberidepaula12:08 1 Oct '05  
GeneralRe: Doubts Pinmemberidepaula17:56 1 Oct '05  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 30 Sep 2005
Editor:
Copyright 2005 by idepaula
Everything else Copyright © CodeProject, 1999-2009
Web18 | Advertise on the Code Project