Developing a web app with Mono (opensource .NET) any examples?

f#, linux, mono, spring.net, web-applications

Solution

To get F# dev environment for Mac/Linux setup:

- http://www.tryfsharp.org/Resources/GetMono.aspx

For Ubuntu 12.04 specifically:

- http://datachomp.com/archives/running-asp-net-mvc4-on-ubuntu-12-04/

To Get Fsharp to work with MonoDevelop 2.6 or greater you have to use one of forks of:

- https://github.com/fsharp/fsharpbinding

Nancy looks like a good URL routing option which is all I really need:

- https://github.com/NancyFx/Nancy

And for F# Mono stuff for Nancy including Djano templating:

- https://github.com/NancyFx/Nancy/wiki/Building-Nancy-on-Mono

You can use the command line NuGet install tool (which is basically like Javascripts npm or Java's maven):

- http://nuget.codeplex.com/releases/view/58939

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.

Problem

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)

Original source