Live Image Instructions

Explore Mono

This image contains demos for many mono based apps. The icons on your desktop will allow you to explore these ASP.NET, Windows.Forms, and Gtk# applications.

Try Moonlight

Moonlight (http://mono-project.com/Moonlight), the open source implementation of Silverlight (http://silverlight.net) for Linux and other Unix/X11 based operating systems, has been installed in Firefox on this machine. Moonlight currently has compatibility with Silverlight 1.0. Some sample sites that work with Moonlight 1.0 are linked to below.

  • Silverlight Pad (http://silverlight.net/samples/1.0/Silverlight-Pad/default.html)
  • Slide.Show (http://www.vertigo.com/SlideShow.aspx)
  • Sprawl (http://silverlight.net/samples/1.0/Sprawl/default.html)
  • tafiti (http://www.tafiti.com/)
  • Video.Show (http://videoshow.vertigo.com/)

Developing with Mono

Also included on this CD are several development tools, including the MonoDevelop IDE, and MonoDoc documentation browser, as well as Samba (file server), Apache (web server), MySQL (database), and PostgreSQL (database).

Running your own code

You can test your own applications by connecting with the file manager on this machine to the machine hosting your application, and copying over the directory containing application and its associated files.

To test your ASP.NET applications, copy your code to a new directory in /srv/www/htdocs , then visit the following url:

http://localhost/directoryname/page.aspx

Where directoryname is the directory where you deployed your application, and page.aspx is the initial page for your software, typically Default.aspx.

Porting your ASP.NET application to Linux

Porting ASP.NET applications from Windows to Linux is relatively easy. These are some useful hints that you can use when developing cross platform applications:

  • Linux file system is case sensitive: On Linux the files "readme" and "README" are two different files, that is, Linux has a case-sensitive file system.

This is an important distinction for many applications because you might have created a "Login.aspx" page, but you reference the page as "login.aspx" or "LOGIN.ASPX" from your source code. You must make sure that all references use the same file name casing.

  • Path Separator is different: On Windows, the path separator is "\" while on Linux it is "/", it is possible to create files that contain a "\" in their names on Linux.

To write portable software, you must make sure that you use the System.IO.Path.PathSeparator character when you must concatenate paths, or even better, use the System.IO.Path.Combine method to combine pathnames.

  • Mono lacks EnterpriseServices: If your application requires EnterpriseServices, your software will not likely run on Mono as we have not implemented it.
  • Mono lacks cross-process transactions: Mono currently supports only local-process transactions.

The following are a few resources that might be helpful:

We also have a number of mailing lists available, see the list of available lists.

Databases

You can continue using your SQL Server database with Mono, you do not have to migrate this. But if you want to replace SQL server with another database, Mono provides an extensive set of database connectors for MySQL, Postgress, Sybase, Oracle, IBM's DB2 and also the embedded SQLite database.

If you have questions about porting your software to Mono with ASP.NET, you can use the following resources:

Local Accounts

There are several local accounts in this VMware image:

Account Username Password
local login root mono
local login mono mono
PostgreSQL test test
Samba mono mono

ASP.NET Demo Application Accounts

ASP.NET demo applications on this machine come pre-configured with the following demo/administrator accounts:

Application Username Password
Blog Starter Kit test test
Classifieds Starter Kit test test
Club Web Site test test
mojoPortal admin@admin.com admin

Find out more

Retrieved from "http://www.mono-project.com/Main_Page" GNU Free Documentation License 1.2 Content is available under GNU Free Documentation License 1.2. Disclaimers About Mono