我可以用Linux /单声道部署ASPNET Web应用程序? [英] Can I use Linux/Mono to deploy aspnet web application?

查看:114
本文介绍了我可以用Linux /单声道部署ASPNET Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有工作在Windows与IIS的C#/ ASP.NET应用程序。但最近我很想改用Linux /单声道。它配备了一些问题:

I have a C#/ASP.NET application which works on windows with IIS. But recently I'm tempted to switch to Linux/Mono. It comes up with some questions:

我可以运行我的Visual Studio项目和源$ C ​​$ CS在单是否正确?

Can I run my Visual Studio projects and source codes in Mono correctly?

我的客户使用IIS用于ASP.NET。请问我的移民影响他们?换句话说我做单的项目运行在IIS中没有任何变化或问题?

My clients use IIS for ASP.NET . Does my migration affect them? In other words does my Mono projects runs in IIS without any change or problem?

我可以承载在Apache中单ASP.NET Web项目没有任何问题?

Can I host Mono ASP.NET web projects in Apache without any problem?

我可以用我的技能,在ASP.NET Web窗体中单到底是什么?

Can I use my skills in ASP.NET web forms in Mono exactly?

在等待您的宝贵建议和意见

waiting for your valuable suggestions and comments

推荐答案

是的,从广义上讲,你可以做一切你所要求的。

Yes, broadly speaking you can do all that you are asking.

一个很好的出发点是的单网站 ASP.NET页面,它涵盖了这些问题在相当长很多细节。

A good starting point is the ASP.NET page on the Mono website, it covers those questions in quite a lot of detail.

特定问题的答案:

我可以运行我的Visual Studio项目和源$ C ​​$ CS在单是否正确?

Can I run my Visual Studio projects and source codes in Mono correctly?

通常情况下,你不需要改变任何东西多,但它有可能为你写特定于平台的$ C $下ASP.NET(即使用P / Invoke或寻找C:\ Windows)中。单有一个迁移分析仪,可以检查,如果这会影响你。您可以在Windows上运行的Apache和单声道太多,如果你喜欢的。

Generally, you should not need to change anything much, but it is possible for you to write platform specific code for ASP.NET (i.e. using P/Invoke or looking for C:\Windows). Mono has a migration analyser that can check if this affects you. You can run Apache and Mono on Windows too if you like.

我的客户使用IIS用于ASP.NET。请问我的移民影响他们?换句话说我做单的项目运行在IIS中没有任何变化或问题?

My clients use IIS for ASP.NET . Does my migration affect them? In other words does my Mono projects runs in IIS without any change or problem?

您可以(也应该)测试每一个部署在平台上的code,但它应该是容易写code,它可以部署到单声道了。

You can (and should) test your code on every platform you deploy on, but it should be easy to write code that can be deployed to mono too.

我可以承载在Apache中单ASP.NET Web项目没有任何问题?

Can I host Mono ASP.NET web projects in Apache without any problem?

是的,使用是mod_mono 的Apache。

Yes, use mod_mono for Apache.

我可以用我的技能,在ASP.NET Web窗体中单到底是什么?

Can I use my skills in ASP.NET web forms in Mono exactly?

是的,单声道实现ASP.NET 2.0 Web表单,具体细节可以看出这里

Yes, Mono implements ASP.NET 2.0 web forms, exact details can be seen here

这篇关于我可以用Linux /单声道部署ASPNET Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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