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 ......
数字/字母混合很简单的,看着比较舒服,前台生成的aspx文件我就不贴出来了,默认的,我也未作修改。下面只贴出后台的cs代码。仅供参考。
public partial class CheckCode : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.CreateCheckCodeImage( ......
ASP.NET页面跳转有什么方法呢?,现在给大家介绍三种方法,他们的区别是什么呢?让我们开始吧:
ASP.NET页面跳转1、response.redirect 这个跳转页面的方法跳转的速度不快,因为它要走2个来回(2次postback),但他可以跳转到任何页面,没有站点页面限制(即可以由雅虎跳到新浪),同时不能跳过登录保护。但速度慢是其最大缺陷! ......
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 ......