【问题标题】:How can I get an ASP.NET MVC site running on Mono?如何让 ASP.NET MVC 站点在 Mono 上运行?
【发布时间】:2013-08-05 11:30:49
【问题描述】:

我发现了很多关于此的问题/博客文章,但我还没有看到一个可重复的让 MVC 站点在 Mono 上运行的方法。经过数小时的尝试,我也无法让 MVC 站点在 Mono 上运行。

我可以启动所需的任何发行版的任何版本,并且可以使用 MVC3 或 MVC4。我更喜欢使用 nginx,但也可以使用 mod_mono。我可以从源代码构建或使用包。

谁能逐步介绍如何让 MVC 在 Mono 上运行?

示例错误

这是我尝试在 fastcgi 或 xsp 上运行准系统应用程序时得到的结果:

Missing method .ctor in assembly 
/tmp/root-temp-aspnet-0/eaee30a1/assembly/shadow/bef1c25f
/a2978c47_1c664e18_00000001/System.Web.Providers.dll, 
type System.Data.Objects.DataClasses.EdmRelationshipAttribute

Can't find custom attr constructor image: 
/tmp/root-temp-aspnet-0/eaee30a1/assembly/shadow/bef1c25f
/a2978c47_1c664e18_00000001/System.Web.Providers.dll mtoken: 0x0a000012

【问题讨论】:

标签: asp.net-mvc linux nginx mono mod-mono


【解决方案1】:

【讨论】:

  • 感谢您的链接。然而,它没有帮助。看到上面的错误。
猜你喜欢
  • 2014-10-07
  • 1970-01-01
  • 2011-06-28
  • 2014-02-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多