有没有人有任何关于获得当前版本的ASP.NET MVC(预览5)在Mono 2.0上工作的信息?有旧版本的信息(预览2,也许预览3),但我没有看到有关使预览5实际工作的细节.
在Mono项目的路线图显示ASP.NET 3.5(明年)单声道2.4.有关如何在此之前获得此功能的任何想法?
更多细节:基本的MVC Preview 5模板似乎可以工作,只要我避开根目录.如果我请求root,我得到:
Server Error in '/' Application
The virtual path '' maps to another application.
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.HttpException: The virtual path '' maps to another application.
at System.Web.HttpContext.RewritePath (System.String filePath, System.String pathInfo, System.String queryString, Boolean setClientFilePath) [0x00000]
at System.Web.HttpContext.RewritePath (System.String path, Boolean rebaseClientPath) [0x00000]
at System.Web.HttpContext.RewritePath (System.String path) [0x00000]
at MvcApplication1._Default.Page_Load (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at …Run Code Online (Sandbox Code Playgroud) 试图让MVC在Mono 2.4上运行(根据这里的一些线程,这是可能的)没有太多运气.我无法理解:
Compilation Error
Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.
Compiler Error Message: : ** (/usr/local/lib/mono/2.0/gmcs.exe:5232): WARNING **: The class System.Web.Management.WebRequestErrorEvent could not be loaded, used in System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
~/Global.asax
Show Detailed Compiler Output: //etc
Run Code Online (Sandbox Code Playgroud)
我已经将System.Web.dll(以及项目中的每个引用)添加到bin文件夹中 - 仍然没有去.
有任何想法吗?
链接:
我从未在Linux上进行任何Web开发,我即将启动一个需要它的项目.我喜欢ASP.Net MVC,那么我在Linux上有哪些可用的选项遵循相同的原则?
该项目是一个非常简单的"电子商务"网站(两三个产品).可能还有其他网站会更复杂.
想想Ruby on Rails.还有别的吗?想法?思考?优点?缺点?
编辑:这个项目只是个人偏好,没有PHP,Java或Mono.