使用Mono(开源.NET)开发Web应用程序有什么例子吗? [英] Developing a web app with Mono (opensource .NET) any examples?

查看:94
本文介绍了使用Mono(开源.NET)开发Web应用程序有什么例子吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Java,Scala,Python网络应用Linux专家.我想和Mono(尤其是F#)一起进行Web开发.

I am a Java, Scala, Python web app Linux guy. I want to play around with Mono (particularly F#) for web development.

我只是在寻找一个可能用Github用Mono语言编写的示例Web应用程序(任何CLI语言都可以).我尝试了谷歌搜索,但是找不到一个好的起点(或者甚至是不可能的).

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:

  • 快速CGI(nginx,lighttpd)
  • 单音
  • Spring框架.NET(我什至无法确定它是否适用于Mono)

如果我错过了一个显而易见的明显资源(网站),请向我道歉.

Advanced apologies if there is a glaringly obvious resource (web site) that I missed.

(有用的网站: http://www.tryfsharp.org/Resources/GetMono.aspx )

推荐答案

要为Mac/Linux安装程序获取F#开发环境:

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

专门针对Ubuntu 12.04:

For Ubuntu 12.04 specifically:

要使Fsharp与MonoDevelop 2.6或更高版本一起使用,您必须使用以下其中一个分支:

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

南希看起来是一个不错的URL路由选项,这是我真正需要的:

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

对于Nancy的F#Mono东西,包括Djano模板:

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

您可以使用命令行NuGet安装工具(基本上类似于Javascript npm或Java的maven):

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

一旦我安装了Fsharp Powerpack,理论上我应该具有LINQ以用于持久性.

Once I install the Fsharp Powerpack I should have in theory LINQ to use for persistence.

如果Nancy无法解决问题,那么似乎有一个称为OWIN的标准(它似乎类似于Python的WSGI).

And If Nancy does not work out there appears to be a standard called OWIN (it appears to be analogous to Python's WSGI).

其他符合OWIN的项目: http://owin.org/#projects

Other OWIN compliant projects: http://owin.org/#projects

更新

看起来像 ServiceStack 的东西也不错,而且似乎正在获得一些好处牵引力.在Mono方面,您主要要查看 daemon doc .

这篇关于使用Mono(开源.NET)开发Web应用程序有什么例子吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆