I am a Java, Scala, Python web app Linux guy. I want to play around with Mono (particularly F#) for web development.
I am just looking for an example web application written in Mono perhaps in Github (any CLI language is fine). I have tried googling and cannot find a good starting point (or if its even possible).
From what I gather I could sort of combine:
- Fast CGI (nginx, lighttpd)
- Mono
- Spring framework .NET (I can't even tell if it will work on Mono)
Advanced apologies if there is a glaringly obvious resource (web site) that I missed.
(useful site: http://www.tryfsharp.org/Resources/GetMono.aspx)
Check out XSP (about halfway down this page)
Mono & ASP.NET
And besides WebSharper which Daniel mentioned there's also Bistro.
Hope that helps.
To get F# dev environment for Mac/Linux setup:
For Ubuntu 12.04 specifically:
To Get Fsharp to work with MonoDevelop 2.6 or greater you have to use one of forks of:
Nancy looks like a good URL routing option which is all I really need:
And for F# Mono stuff for Nancy including Djano templating:
You can use the command line NuGet install tool (which is basically like Javascripts npm or Java's maven):
Once I install the Fsharp Powerpack I should have in theory LINQ to use for persistence.
And If Nancy does not work out there appears to be a standard called OWIN (it appears to be analogous to Python's WSGI).
Other OWIN compliant projects: http://owin.org/#projects
UPDATE
Looks like ServiceStack has some good stuff also and seems to be gaining some traction. In terms of Mono you mainly want to look at daemon doc.