apache + asp.net
作者:敖士伟
在Fedora 12上的安装过程
一、mono安装
yum install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libgdiplus Cairo
wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.6.1.tar.bz2
tar jxvf mono-2.6.1.tar.bz2
cd mono-2.6.1
./configure --prefix=/usr
make
make install
安装好可以用mono -V查看版本
二、安装xsp-2.6
tar jxvf xsp-2.6.tar.bz2
cd xsp-2.6
./configure --prefix=/usr
make
make install
安装成功,在终端中输入 xsp --root /usr/lib/xsp/test 回车后,
打开网页浏览器,输入 http://localhost:8080/,会出现XSP的欢迎页面 作者:敖士伟
三、安装mod_mono-2.6.tar.bz2
tar jxvf mod_mono-2.6.tar.bz2
cd mod_mono-2.6
./configure --prefix=/usr --with-apxs=/opt/apache22/bin/apxs
make
make install
说明:with-apxs指定apache目录
四、配置(自动方式)
在httpd.conf后加入
LoadModule mono_module modules/mod_mono.so
Include conf/mod_mono.conf
MonoServerPath "/usr/bin/mod-mono-server2"
MonoAutoApplication enabled
五、把aspx放入/opt/apache22/htdocs下就可以运行了
相关文档:
译文原文地址
http://www.cnblogs.com/hl13571/archive/2008/01/28/1056671.html
英文原文地址
Understanding Single Sign-On in ASP.NET 2.0
理解ASP.NET 2.0中的单点登录
Published: 16 Jan 2008
摘要
在这篇文章中,Masoud讨论了应用ASP.NET中统一身份验证模型进行跨应用程序验证的问题,包括:Membership Prov ......
大家知道,Microsoft为了更好地预防恶意用户和攻击者的攻击,在默认情况下,没有将 IIS6.0 安装到 Windows Server 2003 家族的成员上。而且,当我们最初安装 IIS6.0 时,该服务在高度安全和"锁定"模式下安装。在默认情况下,IIS6.0 只为静态内容提供服务即,诸如 ASP、ASP.NET、在服务器端的包含文件、WebDAV 发布和 FrontP ......
ASP.NET 2.0服务器控件开发----控件生命周期
服务器控件生命周期简介
服务器控件的生命周期是创建服务器控件最重要的概念。作为开发人员,必须对服务器控件生命周期深刻理解。当然,这不是一朝一夕就可以做到的。对于学习控件开发技术的初学者,可以不必掌握得非常详细深入,只需对服务器控件的生命周期中的不同 ......
3 mistakes to avoid when using jQuery with ASP.NET AJAX
AJAX, ASP.NET, JavaScript, jQuery By Dave Ward on June 5th, 2008
Over the past few weeks, I think I have definitely embodied Jeff Atwood’s claim that we’re all amateurs, learning together. Despite my best efforts to thoroughly tes ......
1、直接在前台调用 javascript 函数
很简单,在 head 元素之间加入 script 元素,将 type 元素设置为 " text/javascript "
如:
<head runat="server">
<mce:script type="text/javascript" ><!--
function ShowName(str)
{
alert("您的名字为:("+str+")");
}
// --></mce:script>
< ......