当前位置:编程学习 > asp >>

.NET运行环境Mono 2.10发布

Mono是一个开源的跨平台的.NET运行环境,支持Unix, Windows, MacOS等操作系统。

Mono 2.10是基于mono在github上的主分支Mono 2.8的一个重要升级,发布于2011年2月15日。

Mono 2.10主要更新和改进:

Google Native Client Support

支持Google本地客户端,允许本地代码在浏览器中运行。Mono虚拟机,垃圾收集器和Just-in-Time编译器可以运行于本地客户端的沙箱中。

New Profiler engine

新版Profiler解决了原先的Profiler在处理多线程、multi-appdomain应用程序以及大数据量时的诸多问题,GC新增的触发事件让开发者可以针对自己的程序编写更先进的profiling工具和GC tracking工具。

Faster socket stack

更快的socket堆栈,Socket异步操作直接发送至IO池,节约了内存和CPU时间。SocketAsyncEventArgs支持每个操作使用一个线程。

Improved Parallel Framework

增加的并行框架。

SGen Precise Stack Scanning and Many performance improvements.

SGen(mono的垃圾收集器)的精确堆栈扫描和性能增强,欲更多了解SGen,请阅读这里。

Unified MonoTouch/Monodroid runtime support

统一的MonoTouch/Monodroid运行时支持。

Cecil/Light

Cecil是一个可以生成ECMA CIL的类库(有点类似于.NET中的Reflector),可以用它加载存在的程序集,浏览其中的类型,修改其中的代码,并将修改后的代码保存至程序集中。

New C# Compiler backend (can now use any custom mscorlib)

新的C#后台编译器,基于 IKVM.Reflection API ,允许开发者引用第三方的mscorlib.dll、或者自己定制的mscorlib.dll、或者来自其他项目的(比如:微软的 MicroFramework)。下一版本的mono,batch compilers (gmcs, smcs与dmcs)将全部切换至IKVM.Reflection。

VB Compiler can now compile to both 2.0 and 4.0 profiles.

VB编译器用cecil/light取代原来的Reflection,这样可以通过一个编译器生成使用不同版本运行时的程序集。

Supports ASP.NET MVC3, Razor and new WebPages.

支 持ASP.NET MVC 3, Razor, WebPages。虽然ASP.NET MVC 3是开源的,但它依赖一些非开源的类库,而且这些类库并不是.NET Framework的一部分。Mono中没有这些类库的开源实现,所以ASP.NET MVC 3应用程序不能无缝地运行于mono,你需要移除对Microsoft.Web.Infrastructure.dll的引用,使用mono自己的实现。 Razor与WebPages可以直接使用微软.NET的程序集运行于mono。

New WebMatrix.Data database API.

微软WebMatrix.Data的mono实现。通过这个API,可以利用C# 4.0的动态特性编写数据库访问代码(代码示例)。欲了解更多WebMatrix.Data, 推荐阅读re-introducing WebMatrix.Data。

Improved OSX Mono

提供了一些OSX Mono的更新。

F# and IronRuby

从Mono 2.10开始,将F#编译器和工具打包进来。在Linux安装包和Mac安装器中包含了IronRuby 和IronPython。

其他改进:

Winforms bug fixes

Updates to msbuild

Improved Moonlight support, and faster build times for Moonlight

WCF:

System.ServiceModel.Discovery

WCF 4.0-style configuration

ASP.NET 4.0:

BaseMenuRenderer

Sytem.Xaml: significant improvements on serialization of complex types and properties in .NET compatible format. Now it can be built on mobile profiles.

More 4.0 APIs implemented

Version tolerant serialization

C# 4.0 significantly improved based on the Microsoft test suites for Silverlight

 

补充:Web开发 , ASP.Net ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,