Mono XSP 服务器可以工作吗?
我花了一周的时间尝试让我的 XSP 服务器处理简单的静态内容:html 页面、js 文件、gif、jpegs 等...没有 ASP.NET。当使用浏览器浏览此页面时,该服务器总是随机崩溃。 我的环境是:Mono 2.6.1,Windows Vista。我还尝试在 Linux 上构建 XSP(使用 Novell 的 make 文件),但结果相同。 那么,XSP 是否可以使用呢?有没有人能让 XSP 正常工作而不崩溃?如果是,请告诉我怎么做。如果没有,是否还有另一个开源 ASP.NET http 服务器?
I'm trying for a week to make my XSP server work with simple static content: html-pages, js-files, gifs, jpegs etc... No ASP.NET. And this server always randomly crashes while navigating this pages with browser.
My Environment is: Mono 2.6.1, Windows Vista. I also tried to build XSP on linux (with Novell's make-files) but same result.
So, could XSP be used anyhow? Is there anybody who made XSP work fine without crashes? If yes, please tell me how. If no, is there another open-source ASP.NET http-server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试 xsp2 而不是 xsp,因为它更新。 Tomi 也是对的,您应该使用 mod-mono 进行生产,但是,这现在不适用于 Windows(至少我读到的最后一件事是 mod_mono 尚未在 Windows 上与 Apache 一起使用)。 XSP2 肯定可以在 Linux 上运行,虽然我还没有在 Windows 上尝试过,但是如果它出现问题,您可能应该向 Mono 团队提交错误报告。 Xsp肯定不能与我编写的某些代码一起工作,所以我认为它仅用于.Net 1.1时代的asp,而不是asp2.0。
Try xsp2 not xsp, as it is newer. Also Tomi is right and you should be using mod-mono for production, however, that is not going to work on Windows right now (at least the last thing I read was that mod_mono was not yet working with Apache on Windows). XSP2 definately works on Linux, and although I haven't tried it on Windows, but if there are problems with it you should probably file a bug report with the Mono team. Xsp definately does not work with some of the code I have written, so I think it is only used for Net 1.1 era asp, not asp2.0.
例如,您可以将 Apache 与 mod_mono 或 Linux 上的 Nginx。我不建议将 XSP 用于生产用途,因为它主要用作与 MonoDevelop 结合使用的开发 Web 服务器。
You can use for example Apache with mod_mono or Nginx on Linux. I wouldn't recommend using XSP for production use since it's used mostly as development web server in conjuction with MonoDevelop.