Using the new <%:%> / Razor syntax with Mono & ASP.NET MVC`

Mono 2.8 claims to have C # 4.0 / ASP.NET MVC 2 support.

However, the new syntax <%: %>does not work.

Also not used Razor.

Is there a way to make them work, or am I just waiting for Mono 3?

+3
source share
3 answers

The release notes for Mono 2.8 appear to indicate ASP.NET 4.0 is now supported. It also indicates that the syntax is <%: %>working (indicated as Html Encoded Code Expressions).

, Mystere Man, Razor - MVC3. MVC3 , Mono .

Mono- , MVC3 Mono 2.8.

+3

bin MVC3 mono master mono devs mvc3, , System.Web. Mvc sourceless

+1

- , Razor MVC , Razor, Mono 2.8.1, / , BuildManager.

http://tqcblog.com/2011/01/23/precompiled-razor-for-shared-views-and-mono/

0

Source: https://habr.com/ru/post/1783029/


All Articles