如何在ubuntu/linux上运行asmx webservice? [英] how to run asmx webservice on ubuntu/linux?

查看:389
本文介绍了如何在ubuntu/linux上运行asmx webservice?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个正在运行的带有ubuntu的网络服务器. (在ec2实例上)

i have a running webserver with ubuntu. (on ec2 instance)

我也有一个用c#创建的asmx Web服务.

i also have an asmx webservice i created with c#.

我想使用此设置在Web服务器和Couchbase之间进行连接. (但这对问题本身不是很重要)

i want use this setup to connect between the webserver and couchbase. (but its not very important for the question itself)

  1. 是否有可能(我猜是)加载要在ubuntu上运行的asmx(将其称为文件)?

  1. is it possible (im guessing yes) to load that asmx(lets call it a file) to run on ubuntu?

在ubuntu上部署asmx Web服务的最佳工具/框架是什么?

what are the best tools/frameworks to deploy asmx webservice on ubuntu?

我为什么不应该这样做,而是将其部署在基于Windows的服务器上? (例如性能,易用性等)

is there a reason why i should not do that, and deploy it on a windows based server instead? (like performance, ease of use etc)

感谢您的帮助!

推荐答案

1)是否有可能(我猜是)加载该asmx(让它称为文件)以在ubuntu上运行?

1) is it possible (im guessing yes) to load that asmx(lets call it a file) to run on ubuntu?

是的,您可以使用 Mono .

Yes, you could use Mono.

2)在ubuntu上部署asmx Web服务的最佳工具/框架是什么?

2) what are the best tools/frameworks to deploy asmx webservice on ubuntu?

很难谈论最佳工具或框架.但是您可以 run ASP.NET application on Apache .

Hard to talk about best tools or frameworks. But you could run ASP.NET application on Apache.

3)我为什么不应该这样做,而是将其部署在基于Windows的服务器上? (例如性能,易用性等)

3) is there a reason why i should not do that, and deploy it on a windows based server instead? (like performance, ease of use etc)

是的,.NET应用程序的本机目录是Windows. Mono只能遵循Windows的.NET框架中引入的演变和新功能.

Yes, the native home of .NET applications is Windows. Mono can only follow the evolution and new features that get introduced in the .NET framework on Windows.

这篇关于如何在ubuntu/linux上运行asmx webservice?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆