[Mono-devel-list] Running a C# MWF app over a network

Rafael Teixeira monoman at gmail.com
Mon Jan 24 08:11:20 EST 2005


inline

On Sun, 23 Jan 2005 17:56:25 +0000, Paul F. Johnson
<paul at all-the-johnsons.co.uk>
wrote:

> MWF app and have
> that launched over the network with the questions being stored in an SQL
> database.

Looks like you are going to use the "smart client" launching (URL to
server located executables)? That should work as long as you keep all
your client machines in Windowsland (with IE as a browser for page
embedding the main form in the browser). Mono does not support running
such clients embedded in some browser.

> Do I need mod_mono installing into apache2 before I can do this or
> anything running on the client side (all XP boxes - the server is an FC3
> box) in order for it to work?

Only if your apps will talk with the server via webservices. If your
clients will use the on-demand loading from urls for the smart client
scenario, the app will run on the client connecting to the database
directly (modulo CAS-imposed limitations).

> and what is the current state of play with
> MySQL and Mono? 

You have two choices of MySQL ADO.NET providers to use: Mono's older
ByteFX, and the newer (GPL) version from MySQL proper. Both should
work, but namespace/organization changes in the later mean client code
compiled for one must be rewritten/recompiled for the other.

> Do they work happily and are there any code examples
> which I could play around with to get the hang of it?

They work. Examples are scattered all-over-the-internet.  Some
googling may help but you can start at:

http://www.go-mono.com/mysql.html



-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.



More information about the Mono-devel-list mailing list