[英]Deploying ASP.Net Web Forms project to Fedora 24
Here is my current setup: 这是我当前的设置:
The problem is, the dotnet cli relies on a project.json
and is not compatible with WebForms . 问题是,dotnet cli依赖于
project.json
并且与WebForms不兼容 。 .Net Core is basically not an option . .Net Core基本上不是一个选择 。 When I use mod_mono, I get an
Error 500
(see below) if I connect to https://localhost:9000/ while running the server using the command xsp4 --port 9000
. 当我使用mod_mono时,如果使用命令
xsp4 --port 9000
运行服务器时连接到https:// localhost:9000 / ,则会收到Error 500
(请参见下文)。 I can't use xsp4 --port 80
or xsp4 --port 443
because then it claims Address is already in use
even though httpd
is the only process listening on those ports. 我不能使用
xsp4 --port 80
或xsp4 --port 443
因为即使httpd
是监听这些端口的唯一进程,它也声称Address is already in use
。 Note that I can sucessfully build the project using the xbuild
command . 请注意,我可以使用
xbuild
命令 成功构建项目 。
How can I take my project from github or my local computer and deploy it on to my server computer? 如何从github或本地计算机上获取我的项目并将其部署到我的服务器计算机上? Am I missing something?
我想念什么吗? Here is my virtual hosts configuration for reference: httpd.conf .
这是我的虚拟主机配置供参考: httpd.conf 。 I typically get no errors when starting httpd.service.
启动httpd.service时,通常不会出现任何错误。
EDIT: 编辑:
I've also used nginx
with fastcgi-mono-server4
with this configuration instead with nginx, which I got straight from here , but still no luck. 我也将
nginx
与fastcgi-mono-server4
一起使用此配置,而不是将nginx与nginx配合使用,我从这里直接得到了它 ,但是仍然没有运气。 I usually get this Error 500
: 我通常会收到此
Error 500
: other times I can get other types of
Error 500
. 其他时候我可以得到其他类型的
Error 500
。 If there is a solution that works with either apache or nginx, please let me know. 如果有适用于apache或nginx的解决方案,请告诉我。
Your code is Full NET and not even NET Core and trying to deploy it to Mono Framework . 您的代码是Full NET ,甚至不是NET Core,并尝试将其部署到Mono Framework 。 This may not work, Convert your project into Mono or NET Core and retry.
这可能不起作用,请将您的项目转换为Mono或NET Core,然后重试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.