欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Mono
来自开放百科 - 灰狐
您可以在Wikipedia上了解到此条目的英文信息 Mono Thanks, Wikipedia. |
Mono是一个由Novell公司主持的开源(GPL、LGPL、MIT X11、MPL)项目。该项目的目标是创建一系列符合ECMA标准(Ecma-334和Ecma-335)的.NET工具,包括C#编译器和共通语言执行平台。与微软的.NET Framework不同,Mono项目不仅可以运行于Windows系统上,还可以运行于Linux,FreeBSD,Unix,Mac OS X和Solaris。
Mono IDE: MonoDevelop,单元测试:NUnit
目录 |
规范实现
兼容性
.NET 4.0 完全实现:
- C# 4.0
- ASP.Net 4.0
- ASP.Net MVC 1 and MVC 2
- System.Numerics
- Managed Extensibily Framework - Shared with .NET via MS-PL license
- Dynamic Language Runtime - Shared with .NET via MS-PL license
- Client side OData - Shared with .NET via MS-PL license
- Parallel Framework and PLINQ
.NET 3.5 完全实现:
- C# 3.0
- System.Core
- LINQ
- ASP.Net 3.5
- ASP.Net MVC
- LINQ to SQL - Mostly done, but a few features missing
macOS
brew install mono
Debian
apt-get install mono-2.0-devel // on Lenny (5.0). apt-get install mono-devel // on Squeeze (6.0), Wheezy (testing), Sid (unstable), or Experimental.* apt-get install mono-complete // complete Mono on Squeeze (6.0), Wheezy (testing), Sid (unstable), or Experimental. mono-csc -help
apt-get install openssh-server //安装oen ssh远程管理 apt-get install apache2 //安装apache apt-get install mono-gmcs mono-xsp2 libapache2-mod-mono mono-apache-server2 //安装mono a2enmod mod_mono
//命令会被打断 手动运行dpkg --configure -a 纠正问题
vim /etc/apache2/mods-available/mod_mono.conf //配置.net引擎目录 AddType appliction/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx .axd DirectoryIndex index.aspx MonoAutoApplication enable MonoServerPath "/usr/bin/mod-mono-server2"
Include /etc/mono-server2/mono-server2-hosts.conf
/etc/init.d/apache2 resuart //重启apache
Windows
在 Windows、Windows Server 上安装 Mono、替换 IIS 6、IIS 7、IIS 8。
Apache
ASP.NET 4.0
ASP.NET 3.5
Mono 实现了 ASP.NET 2.0, ASP.NET MVC and ASP.NET AJAX
通过mod_mono运行在Apache Server上
apt-get install mono-apache-server2 asp.net-examples libapache2-mod-mono vim /etc/apache2/httpd.conf Alias /webmsg "/var/www/webmsg" MonoApplications "/webmsg:/var/www/webmsg" <Location /webmsg> SetHandler mono </Location> 然后 /etc/init.d/apache2 restart http://localhost/webmsg/Login.aspx
XSP
apt-get install mono-xsp2 mono-xsp2-base asp.net-examples /usr/bin/mono /usr/lib/mono/2.0/xsp2.exe --port 8082 --address 0.0.0.0 --appconfigdir /etc/xsp2 --nonstop http://192.168.1.100:8082/samples/
Nginx
apt-get install nginx apt-get install mono-fastcgi-server4 fastcgi-mono-server4 /version fastcgi-mono-server4.exe 2.10.0.0 (c) 2007 Brian Nickel FastCGI Backend for XSP fastcgi-mono-server4 /applications=/:/web/aspx /socket=tcp:192.168.1.131:9000 &
Nginx配置
server { listen 80; server_name 192.168.1.131; access_log /var/log/nginx/192.168.1.131.access.log; location / { root /web/aspx; index index.html index.htm default.aspx Default.aspx; fastcgi_index Default.aspx; fastcgi_pass 192.168.1.131:9000; include /etc/nginx/fastcgi_params; } }
在Nginx运行 ASP.NET 和 ASP.NET MVC web 应用
Android
iOS
MoMA
Mono Migration Analyzer (MoMA)
PostgreSQL
相关项目
Code
图集
链接
分享您的观点