New Mono

Mono 1.0.2 has been released1. Descriptions of the changes are noticably lacking, but the biggy for me is that there is now a package for mod_mono provided. Lack of this has put me off playing with Mono’s implementation of ASP.NET, but now…

One quick upgrade later…

Copied an ASP.NET app off my IIS box, and although I had to play with a few paths to get it working correctly it worked! :) Sort of. :( The application itself worked, but it appears that some of the backend logic fails…

Still, it’s promising, and now I can seriously look at developing sites on Linux on Mono. Cool.

Multiple applications with mod_mono

I didn’t twig this straight away (I didn’t read the docs, just the examples), but if you want to host multiple mod_mono applications you need to separate them with a comma in your MonoApplications directive.

E.g.

 Alias /app1 "/path/to/app1"
 Alias /app2 "/path/to/app2"

 MonoApplications "/app1:/path/to/app1,/app2:/path/to/app2"

 <Directory /path/to/app1>
     SetHandler mono
     DirectoryIndex Default.aspx
 </Directory>

 <Directory /path/to/app2>
     SetHandler mono
     DirectoryIndex SomePage.aspx
 </Directory>

Will enable both http://servername/app1 and http://servername/app2 to work.


1 The release notes refer to installing 1.1.12 though…

2 Mono 1.1.1 (development) has also been released – I’ve not looked at it yet though.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Comments are closed.