在Ubuntu服务器上托管ASP.NET [英] Hosting ASP.NET on Ubuntu Server

查看:94
本文介绍了在Ubuntu服务器上托管ASP.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我一直在使用Visual Studio在Windows上开发Web表单应用程序.要托管它,我有一台Ubuntu 12.04机器.它将对数据库使用PostgreSQL.我目前正在使用.Net 4.0,但不确定是否需要.Net 2.0

我已经阅读了有关如何安装mod-mono,mod-asp.net,mono,postgresql等所有内容的教程.
但我找不到:
1)与我的情况完全相关的东西
2)符合条件的教程
3)很多有意义的信息

我只有一年的Linux经验,并且没有太多的技术时间.

我将不胜感激.非常欢迎在这方面有经验的任何人提供帮助.

Hi,

I''ve been developing a web forms application on Windows with Visual Studio. To host it, I have a Ubuntu 12.04 machine. It will use PostgreSQL for a database. I''m currently using .Net 4.0 but I''m not sure if I need .Net 2.0

I have read oodles of tutorials on how to install mod-mono, mod-asp.net, mono, postgresql, all that stuff.
But I''m not finding:
1) Stuff that''s completely relevant to my situation
2) Tutorials that match
3) Much info that makes sense

I have only up to a year''s experience with Linux and not much technical time with it.

I would appreciate any help with this. Anyone with experience in this area is more than welcome to help. Thanks!

推荐答案

对于ASP.NET,您不需要.NET,而是CLR的替代实现,Mono:
http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],
http://www.mono-project.com/Main_Page [ http://en.wikipedia.org/wiki/Common_Language_Runtime [ http://en.wikipedia.org/wiki/Common_Language_Infrastructure [ http://en.wikipedia.org/wiki/Base_Class_Library [ http://en.wikipedia.org/wiki/Mod_mono [ http://www.mono-project.com/Mod_mono [
For ASP.NET, you will need not .NET, but alternative implementation of CLR, Mono:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

Mono has a lot of documentation, but when it comes to programming, you can use .NET documentation. There are incompatibilities, but you mostly need Base Class Library (BCL), whuich is a part of ECMA standard.

Please see:
http://en.wikipedia.org/wiki/Common_Language_Runtime[^],
http://en.wikipedia.org/wiki/Common_Language_Infrastructure[^],
http://en.wikipedia.org/wiki/Base_Class_Library[^].

To use ASP.NET, you will also need Apache with the module mod_mono:
http://en.wikipedia.org/wiki/Mod_mono[^],
http://www.mono-project.com/Mod_mono[^].

—SA


这篇关于在Ubuntu服务器上托管ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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