English 中文(简体)
如何管理协会。 相对于Microsoft-centric标准解决办法而言,Net on-030?
原标题:How does running ASP.Net on Linux compare to the standard Microsoft-centric solution?

我知道,它有可能发展和主办一次伙伴关系会议。 http://www.mono-project.com 我更喜欢开放的消息来源,但对于这一项目,我希望找到最迅速、最容易、最可靠的解决办法。

The site I ll be building will be a fairly basic ASP.Net site using MySQL.

我很想知道,在像我国这样的局势中,是否有其他人使用莫诺的经验,以及该项目是如何进行的。 如何比较使用以微软为中心的解决办法?

我知道Mono 仍然有些不完整,但I m hoping I获胜t需要它缺乏的特点。

This question may be a bit "polarizing". Most similar questions seem to have responses from people who are either very pro-Microsoft or pro-Linux. I m hoping for some unbiased responses, preferably from people with experience using both.

最佳回答

我从一年半前的以管理为中心的解决办法转而来,现在,我所在的网站和网络项目都设在了Lt/Mono/Apache/MySQL的虚拟服务器(我最初使用的是原始服务器,而不是一个pache,但单法斯特西-服务器随机造成,因此我选择一个pache作为网络服务器。 我可以总结一下我对这一组合的(主观)经验:

  • It can take some time to get used to difference between Linux and MS based environments (if you never used Linux before), but I do not regret this decision. What helped me a lot was creating installation and configuration procedures for particular technologies (for example mono parallel environments, apache virtual hosts configurations, dealing with certain issues) which are mostly repeatable and can be automated.

  • 你们仍然能够利用视觉演播室开发你的应用,然后将其部署在含水层机器上。 如果你采用这一方法,那么你就有一个很好的习惯,即定期对自己的能力进行测试,以防可能不兼容。

  • I deploy web applications via FTP which is probably the easiest way of doing it (well maybe WinSCP is even easier, because you don t have to set up FTP server, but it depends on your preferences).

  • 到目前为止,我已经处理2起案件,其中有Mono/Apache,因记忆泄露导致网站无法上网。 这可能是由博赫姆垃圾收集器造成的,我在旧的单一装置上使用了这种收集器。 我在最近发行的单体新基因组中也有类似问题。

  • 与MS st相比,我最喜欢独一无二的是,在开展行政工作时,你不必点击。 壳牌是供我使用的统一行政接口,可以加快事情(如果你有某种做法的话)。

问题回答

主办伙伴关系。 从我的经验来看,单单靠网络是非常容易和快捷的。 i) 主办我的多个项目 Mono ASP。 NET MVC 1 / 2 using MySQL and PostgreSQL, service by Papa mod_mono.

与Windows服务器上的部署相比。 在使用现代轴心分配时,这种分配已经为部署单一伙伴关系提供所有一揽子方案。 NET。 唯一的缺点是,你必须确保你在互联网上的应用能够从国际独立组织获得足够时间,而且只有很短的学习曲线和必要的经验来辩论和公布你的项目。

用于在欧伦特部署我们的项目。 如果电离层完全控制服务器,则很容易使用诸如Mecurial或Gite等版本控制。 如果U在继续融合方面拥有更多经验,情况就会更好。 我主要使用mer子,是通常采取的步骤,但我认为这在吉特几乎是类似的:

  • Install mercurial, and configure mod_wsgi, hgweb.wsgi and hgwerb.config
  • Init VS repo and publish at hgweb.config and configure hook to update and invoke xbuild to automatically build when u push it
  • publish the repo (web part) as mono application at mod_mono.conf
  • So u just need to code at visual studio, commit and push your changes using tortoiseHg without event login to server (set repo url, user and password at your repo hgrc)

请注意,虽然你可以通过莫诺这样的东西在六氯环己烷上部署环境伙伴关系,但如果你使用像视频演播室、网络矩阵或视觉网络开发商这样的微软化物,那么你的许可只能允许你在微软服务器上部署这些设备!





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签