ÔÚASP.NETÖÐweb.configÅäÖÃÊý¾Ý¿â
´ó¼ÒÖªµÀÔÚÍøÕ¾µÄÿ¸öÒ³ÃæÉÏ,´æ´¢Ò»Ð©È«¾Ö´¦ÀíÐÅÏ¢£¬ÀíÏëµÄ×ö·¨Êǽ«ÕâЩÐÅÏ¢Ò»´ÎÐԵļ¯Öд洢ÔÚ×ÊÁϵµ°¸¿âÖУ¬¶ø²»ÊÇÔÚÍøÕ¾µÄÿ¸öÒ³ÃæÉ϶¼Öظ´ÕâÑùµÄ²Ù×÷¡£
±ÈÈç˵Êý¾Ý¿âÁ¬½Ó´®¾ÍÊÇÕâÑùµÄÐÅÏ¢£¬Èç¹ûÕâЩÐÅÏ¢²»ÊǼ¯Öд洢ÔÚÌض¨ÇøÓòÖУ¬¶øÊÇÔÚÍøÕ¾µÄÿ¸öÐèÒªÁ¬½ÓÊý¾Ý¿âµÄÒ³ÃæÉÏÊÖ¹¤ÊäÈ룬¿ÉÒÔÉèÏ룺µ±Êý¾Ý¿âÁ¬½Ó´®¸Ä¶¯Ê±½«»áÁîÈËÍ·Í´£¬Äã±ØÐë±éÀúÍøÕ¾ÖÐËùÓÐÁ¬½ÓÊý¾Ý¿âµÄÒ³ÃæÈ¥Ð޸ģ¡
ÔÚASP.NETÖУ¬Í¨¹ýWeb.config£¬Äã¿ÉΪʹÓà <appSettings> ±ê¼Ç£¬ÔÚÕâ¸ö±ê¼ÇÖУ¬Äã¿ÉÓà <add ... /> ±ê¼Ç¶¨Òå0µ½¶à¸öÉèÖᣱ¾ÎÄÖÐÎÒÃÇÖ÷ÒªÌÖÂÛÁËÈçºÎʹÓÃweb.configÀ´ÅäÖÃÒ»¸öwebÓ¦ÓóÌÐòÖеÄÊý¾Ý¿âÁ¬½Ó¡£
web.configÎļþÊDZê×¼µÄxmlÎļþ£¬ÎÒÃÇ¿ÉÒÔʹÓÃËüÀ´ÎªÒ»Ì¨»úÆ÷ϵÄÿһ¸öwebÓ¦ÓóÌÐò»òij¸öÓ¦ÓóÌÐò»òÒ»¸öĿ¼ÏµÄasp.netÒ³ÃæÀ´½øÐÐÉèÖ㬵±È»£¬ËüÒ²¿ÉÒÔΪһ¸öµ¥¶ÀµÄwebÒ³Ãæ½øÐÐÉèÖá£
È磺ÍøÕ¾µÄÖ÷Ŀ¼ÊÇ\inetpub\wwwroot\£¬ÄÇôÎÒÃǽ«web.config·ÅÖÃÓÚÆäÏ£¬ÄÇôÕâ¸öÍøÕ¾ÖеÄÓ¦ÓóÌÐò½«±»web.configÖеÄÉèÖÃËùÓ°Ïì¡£
e.g.£º
<?xml version="1.0" encoding="gb2312" ?>
<configuration>
<system.web>
<compilation defaultlanguage="vb" debug="true" />
<customerrors mode="remoteonly" defaultredirect="js/error.htm">
<error statuscode="404" redirect="js/filenotfound.aspx" />
<error statuscode="500" redirect="js/error.htm" />
</customerrors>
<authentication mode="windows" />
<authorization>
<allow users="*" />
</authorization>
<httpruntime maxrequestlength="4000" usefullyqualifiedredirecturl="true" executiontimeout="45" />
<trace enabled="false" requestlimit="10" pageoutput="false" tracemode="sortbytime" localonly="true" />
<sessionstate mode="inproc" stateconnectionstring="tcpip=127.0.0.1:43444" cookieless="false" timeout="20" />
<globalization r
Ïà¹ØÎĵµ£º
Ajax¿ª·¢ÈËÔ±ÐèÒªµÄJavaScript֪ʶ
JavaScriptµ®ÉúÓÚ1995 Ä꣬×î×³ÉÔÚNetsCape Navigatorä¯ÀÀÆ÷ÖС£Microsoft ÔÚIE3Öм¯³É¡£1998Äê±»±ê×¼»¯ÎªECMAScript.
Microsoft Ajax Library¸ÄÉÆÁËJavaScriptµÄÃæÏò¶ÔÏóÄ£ÐÍ¡£
3.1ʹÓöÔÏó
JavaScriptÖеĶÔÏó²¢²»ÊÇÀàÐ͵ÄʵÀý£¬ÒòΪJavaScript²»Ö§³ ......
3.4Àí½â¼Ì³Ð
Ò»£®»ùÓÚÔÐ͵ļ̳Уº
²½Ö裺
(1)ÔÚ×ÓÀ๹Ô캯ÊýÖе÷ÓûùÀ๹Ô캯Êý£¬´Ó¶ø¼Ì³Ð»ùÀàµÄÊôÐÔ¡£
(2)½«»ùÀàµÄÒ»¸öÐÂʵÀý¸³¸ø×ÓÀ࣬´Ó¶ø¼Ì³Ð»ùÀàµÄ·½·¨¡£
Samples.Cat=function()
{
Samples.Pet.call(this);
}
Sample ......
UrlScanµÄ3.1ÊÇÒ»¸ö°²È«µÄ¹¤¾ß£¬ÏÞÖÆÁËIISµÄHTTPÇëÇ󽫴¦ÀíÀàÐÍ¡£ ͨ¹ý×èÖ¹Ìض¨µÄHTTPÇëÇó£¬ÔÚURLScan 3.1°²È«¹¤¾ßÓÐÖúÓÚ·ÀÖ¹¶Ô·þÎñÆ÷Ó¦ÓóÌÐò¿ÉÄÜÓꦵÄÇëÇó¡£ UrlScanµÄ3.1ÊÇURLScan 2.5µÄ¸üа汾¡£Ö§³ÖIIS 5.1ÖУ¬IIS 6.0ºÍIIS 7.0ÔÚWindows VistaºÍWindows Server 2008¡£ÏÂÔصØÖ·http://download.csdn.net ......
×î½üµÄÏîÄ¿ÀïÓõ½AjaxControlToolkit 3.5,ÏîÄ¿Íê³ÉÒÔºóÔÚ±¾µØ²âÊÔûÎÊÌ⣬·Åµ½·þÎñÆ÷ÉÏÈ¥ÔÚIE6¾Í³öÏÖAjax ¿Í»§¶Ë¿ò¼ÜδÄܼÓÔصÄÎÊÌ⣬ÔÚFF£¬IE7£¬Opera£¬SafariµÈä¯ÀÀÆ÷¶¼Ã»ÎÊÌ⣬ÕæÊǸ㲻¶®MSÔõô¸ãµÃ£¬ÏÖÔÚ ¾ÍÏëÅ×ÆúIE6£¬ÕҵĺÃÐÁ¿à°¡£¬ÍøÉÏ˵µÄ½â¾ö·½°¸¶¼ÊÔ¹ýÁË£¬¶¼Ã»Óã¬×îºóÕÒµ½µÄ´ð°¸ÊÇ£ºÓ¦ÓóÌÐòµÄ±àÂëÎÊ Ì⣬ֻҪÔÚ ......
¹ÛÆä´óÂÔ£º
1.
Asp.netÊÇÒÀ´æÓÚ IISµÄÒ»¸ö·þÎñ£¬Ëµµ½ Asp.netµÄ°²È«Ïà¹ØµÄ»°Ì⵱ȻҪÓÐÒ»¸öÕûÌåÉϵÄ˼·£º IIS½ÓÊÕ —¡· IISÑéÖ¤ —¡· IISÊÚȨ ---¡· ASP.netÑéÖ¤ ---¡· Asp.netÊÚȨ ---¡·×ÊÔ´·µ»Ø¸øÓû§
IIS´ÓÍøÂçÉϽÓÊÕµ½Ò»¸ö HTTP WEBÇëÇó¿ÉÒÔʹÓà SSL¼¼ÊõÀ´±£Ö¤·þÎñÆ÷µÄÉí·Ý£¬´ËÍâ SSLÒ²¿ÉÒÔÌṩһ¸ö°²È ......