[Mono-list] ASP.Net MVC 2

jmalcolm malcolm.justin at gmail.com
Fri May 14 19:37:12 EDT 2010


MVC2 works with trunk (the next major version after 2.6).  In fact, it is
included.

I have used it for some small projects and it worked well.

One thing to be aware of though is that it is built against the 3.5
libraries and not the 4.0 ones.  This can cause a few hassles.  For example,
using "<%: something" instead of "<%= HtmlEncode(something)" only works when
using the 4.0 profile on Mono but System.Web.Mvc.dll is 3.5.

You can of course edit the Mono code to eliminate the #ifdef that makes
"<%:" 4.0 only.  I did that for one project.   Of course that means that the
app is tied to this custom build of Mono.  Running it under real .NET or
vanilla Mono would break.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/ASP-Net-MVC-2-tp2217366p2217380.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list