ASP.NET和Linux [英] ASP.NET and Linux

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

问题描述

我可以从Linux机器上运行我的aspx页面吗?

这些页面能否连接到SQL服务器?


谢谢

解决方案

不是真的。 ASP.NET被设计为在WinOS平台上运行,因为它需要.NET框架和IIS。

可能有一些解决方法。但它最多只是一个kludge。


-

Curt Christianson

所有者/首席开发人员,DF软件

网站: http://www.Darkfalz.com

博客: http://blog.Darkfalz.com
" Mark Goldin" <毫安******** @ comcast.net>在消息中写道

新闻:O7 ************** @ TK2MSFTNGP11.phx.gbl ...

我可以运行我的aspx Linux框中的页面?
这些页面能否连接到SQL服务器?



< blockquote>嗨Mark:


简短的答案是:


是的,你可以在Linux上使用Mono运行ASP.NET( http://www.go-mono.com)

至少有一些流行的开源ASP.NET应用程序(dasBlog,

FlexWiki)在Linux上运行,只需进行一些调整。


是的,有可用的SQL Server提供程序

http:/ /www.go-mono.com/sqlclient.html)


更长的答案取决于您的应用程序的具体用途。

如果您的应用程序写入注册表或使用COM +事务

然后你需要改变一些代码。即使是很小的东西(比如说有/ b $ ba区分大小写的敏感文件系统)也可能会破坏代码。


-

Scott
http://www.OdeToCode.com


2004年7月26日星期一18:20:14 -0500,Mark Goldin

< ma ******** @ comcast.net>写道:

我可以从Linux盒子运行我的aspx页面吗?
这些页面能否连接到SQL服务器?

谢谢




" Mark Goldin" <毫安******** @ comcast.net>在新闻中写道:O72Tdc2cEHA.2436

@ TK2MSFTNGP11.phx.gbl:

我可以从Linux盒子运行我的aspx页面吗?
这些页面能够连接到SQL服务器吗?




是的,请查看Mono项目。


-

Lucas Tam(RE********@rogers.com)

请删除删除来自回复时的电子邮件地址。
http://成员。 ebay.com/aboutme/coolspot18/


Can I run my aspx pages from Linux box?
Will these pages be able to connect to SQL server?

Thanks

解决方案

not really. ASP.NET is designed to run on the WinOS platform since it
requires the .NET framework and IIS.
There may be some "workaround" but it will be a kludge at best.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Mark Goldin" <ma********@comcast.net> wrote in message
news:O7**************@TK2MSFTNGP11.phx.gbl...

Can I run my aspx pages from Linux box?
Will these pages be able to connect to SQL server?

Thanks



Hi Mark:

The short answers are:

Yes, you can run ASP.NET on Linux with Mono (http://www.go-mono.com).
At least a couple popular open source ASP.NET applications (dasBlog,
FlexWiki) run on Linux, with a few tweaks.

Yes, there is a SQL Server provider available
(http://www.go-mono.com/sqlclient.html).

The longer answer would depend on exactly what your application does.
If your application writes to the registry or uses COM+ transactions
then you''ll need to change some code. Even little things (like having
a case sensitive file system) might trip up the code.

--
Scott
http://www.OdeToCode.com

On Mon, 26 Jul 2004 18:20:14 -0500, "Mark Goldin"
<ma********@comcast.net> wrote:

Can I run my aspx pages from Linux box?
Will these pages be able to connect to SQL server?

Thanks




"Mark Goldin" <ma********@comcast.net> wrote in news:O72Tdc2cEHA.2436
@TK2MSFTNGP11.phx.gbl:

Can I run my aspx pages from Linux box?
Will these pages be able to connect to SQL server?



Yup, check out the Mono project.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/


这篇关于ASP.NET和Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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