我回答了下面提到的问题
Host ServiceStack, MVC3 or MVC4 on mono or windows and what is the state of mono
答案是:"ServiceStack.net一直运行在Linux/Mono上“,这不是我想知道的:
我想知道如何部署它。有很多关于如何创建服务堆栈应用程序的示例,但关于如何部署它的示例并不多。
我的情况如下:我已经下载了MS VS 2013 (web速成版)。
我想在其中编写一个服务堆栈服务(已经通过web上的helloworld示例实现了),然后将此代码部署到Ubuntu服务器12.4上,在Apache上运行mono。
请任何人解释一下怎么做(请按部就班)。任何指向深坑瀑布的指针都将受到欢迎。
谢谢。
发布于 2014-06-14 20:02:22
有一个如何在单声道https://github.com/ServiceStack/ServiceStack/wiki/Mono上运行ServiceStack的文档
顺便说一下,如果你打算把apache改成nginx作为你的前端,最好使用HyperFastCgi而不是mono-server-fastcgi。HyperFastCgi不会泄漏内存,并且运行速度更快。
here描述了标准的单服务器快速are的问题。
要在单声道机器上安装HyperFastCgi,您应该获取源代码并编译它们:
git clone https://github.com/xplicit/HyperFastCgi.git
cd HyperFastCgi
#if you have got mono installed not in /usr/bin/mono, change the prefix
#to the directory, where mono is located (without 'bin' part)
./autogen.sh --prefix=/usr
make
sudo make installhttps://stackoverflow.com/questions/24219126
复制相似问题