Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NETÖÐʹÓÃweb.configÅäÖÃÊý¾Ý¿âÁ¬½Ó

ASP.NETÖÐʹÓÃweb.configÅäÖÃÊý¾Ý¿âÁ¬½Ó 
 ÔÚweb.configÎļþÖб£´æÊý¾Ý¿âÁ¬½ÓÅäÖÃÐÅÏ¢,¿ÉÒÔÈÃÄãÎÞÐëÖØбàÒëÓ¦ÓóÌÐò¼´¿É¸üÐÂÓ¦ÓóÌÐòµÄijЩÊôÐÔ¡£µ±ÄãÏë°ÑÊý¾Ý¿âǨÒƵ½ÁíÒ»¸ö²»Í¬µÄ·þÎñÆ÷£¬ÄãÖ»ÐèÒªÐÞ¸Äweb.configÎļþÖеÄÊý¾Ý¿âÁ¬½ÓÅäÖÃÐÅÏ¢¶øÒÑ£¬²¢²»ÐèÒªÖØбàÒëºÍÖØв¿ÊðÕâ¸öÓ¦ÓóÌÐòÒÔÊÊӦеķþÎñÆ÷µÄÒªÇó¡£
       Äã»á¾­³£Åöµ½ÕâÖÖÇé¿ö£º¼¸ºõÔÚÍøÕ¾µÄÿ¸öÒ³ÃæÉÏ,´æ´¢Ò»Ð©È«¾Ö´¦ÀíÐÅÏ¢¡£ÀíÏëµÄ×ö·¨Êǽ«ÕâЩÐÅÏ¢Ò»´ÎÐԵļ¯Öд洢ÔÚ×ÊÁϵµ°¸¿âÖУ¬¶ø²»ÊÇÔÚÍøÕ¾µÄÿ¸öÒ³ÃæÉ϶¼Öظ´ÕâÑùµÄ²Ù×÷¡£±ÈÈç˵Êý¾Ý¿âÁ¬½Ó´®¾ÍÊÇÕâÑùµÄÐÅÏ¢£¬Èç¹ûÕâЩÐÅÏ¢²»ÊǼ¯Öд洢ÔÚÌض¨ÇøÓòÖУ¬¶øÊÇÔÚÍøÕ¾µÄÿ¸öÐèÒªÁ¬½ÓÊý¾Ý¿âµÄÒ³ÃæÉÏÊÖ¹¤ÊäÈ룬¿ÉÒÔÉèÏ룺µ±Êý¾Ý¿âÁ¬½Ó´®¸Ä¶¯Ê±½«»áÁîÈËÍ·Í´£¬Äã±ØÐë±éÀúÍøÕ¾ÖÐËùÓÐÁ¬½ÓÊý¾Ý¿âµÄÒ³ÃæÈ¥Ð޸ģ¡
ÔÚASP.NETÖУ¬Í¨¹ýWeb.config£¬Äã¿ÉΪʹÓÃ<appSettings>±ê¼Ç£¬ÔÚÕâ¸ö±ê¼ÇÖУ¬Äã¿ÉÓÃ<add.../>±ê¼Ç¶¨Òå0µ½¶à¸öÉèÖᣱ¾ÎÄÖÐÎÒÃÇÖ÷ÒªÌÖÂÛÁËÈçºÎʹÓÃweb.configÀ´ÅäÖÃÒ»¸öwebÓ¦ÓóÌÐòÖеÄÊý¾Ý¿âÁ¬½Ó¡£
web.configÎļþÊDZê×¼µÄxmlÎļþ£¬ÎÒÃÇ¿ÉÒÔʹÓÃËüÀ´ÎªÒ»Ì¨»úÆ÷ϵÄÿһ¸öwebÓ¦ÓóÌÐò»òij¸öÓ¦ÓóÌÐò»òÒ»¸öĿ¼ÏµÄasp.netÒ³ÃæÀ´½øÐÐÉèÖ㬵±È»£¬ËüÒ²¿ÉÒÔΪһ¸öµ¥¶ÀµÄwebÒ³Ãæ½øÐÐÉèÖá£
È磺ÍøÕ¾µÄÖ÷Ŀ¼ÊÇinetpubwwwroot£¬ÄÇôÎÒÃǽ«web.config·ÅÖÃÓÚÆäÏ£¬ÄÇôÕâ¸öÍøÕ¾ÖеÄÓ¦ÓóÌÐò½«±»web.configÖеÄÉèÖÃËùÓ°Ïì¡£
e.g.£º
<?xmlversion="1.0"encoding="gb2312"?>
<configuration>
<system.web>
<compilationdefaultlanguage="vb"debug="true"/>
<customerrorsmode="remoteonly"defaultredirect="js/error.htm">
 <errorstatuscode="404"redirect="js/filenotfound.aspx"/>
 <errorstatuscode="500"redirect="js/error.htm"/>
</customerrors>
<authenticationmode="windows"/>
<authorization>
 <allowusers="*"/>
</authorization>
<httpruntimemaxrequestlength="4000"usefullyqualifiedredirecturl="true"executiontimeout="45"/>
<traceenabled="false"requestlimit="10"pageoutput="false"tracemode="sortbytime"localonly="true"/>
<sessionstatemode="inproc"stateconnectionstring="tcpip=127.0.0.1:43444"cookieless="false


Ïà¹ØÎĵµ£º

ASP.NET AJAX ½Ìѧ±Ê¼Ç(Èý) 1

Ajax¿ª·¢ÈËÔ±ÐèÒªµÄJavaScript֪ʶ
  JavaScriptµ®ÉúÓÚ1995 Ä꣬×î×³ÉÔÚNetsCape Navigatorä¯ÀÀÆ÷ÖС£Microsoft ÔÚIE3Öм¯³É¡£1998Äê±»±ê×¼»¯ÎªECMAScript.
  Microsoft Ajax Library¸ÄÉÆÁËJavaScriptµÄÃæÏò¶ÔÏóÄ£ÐÍ¡£
3.1ʹÓöÔÏó
   JavaScriptÖеĶÔÏó²¢²»ÊÇÀàÐ͵ÄʵÀý£¬ÒòΪJavaScript²»Ö§³ ......

ASP.NET AJAX ½Ìѧ±Ê¼Ç(Èý) 2

3.4Àí½â¼Ì³Ð
Ò»£®»ùÓÚÔ­Ð͵ļ̳Уº  
²½Ö裺
(1)ÔÚ×ÓÀ๹Ô캯ÊýÖе÷ÓûùÀ๹Ô캯Êý£¬´Ó¶ø¼Ì³Ð»ùÀàµÄÊôÐÔ¡£
(2)½«»ùÀàµÄÒ»¸öÐÂʵÀý¸³¸ø×ÓÀ࣬´Ó¶ø¼Ì³Ð»ùÀàµÄ·½·¨¡£
 Samples.Cat=function() 
  {
     Samples.Pet.call(this);
   }
   Sample ......

ASP.NET SQL ×¢ÈëÃâ·Ñ½â¾ö·½°¸

 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 ......

ASP.NETµÄformsÉí·ÝÑéÖ¤

Asp.netµÄÉí·ÝÑéÖ¤ÓÐÓÐÈýÖÖ£¬·Ö±ðÊÇ"Windows | Forms | Passport"£¬ÆäÖÐÓÖÒÔFormsÑéÖ¤ÓõÄ×î¶à£¬Ò²×îÁé»î¡£
Forms ÑéÖ¤·½Ê½¶Ô»ùÓÚÓû§µÄÑéÖ¤ÊÚȨÌṩÁ˺ܺõÄÖ§³Ö£¬¿ÉÒÔͨ¹ýÒ»¸öµÇ¼ҳÃæÑéÖ¤Óû§µÄÉí·Ý£¬½«´ËÓû§µÄÉí·Ý·¢»Øµ½¿Í»§¶ËµÄCookie£¬Ö®ºó´ËÓû§ÔÙ·ÃÎÊÕâ¸öwebÓ¦ÓþͻáÁ¬Í¬Õâ¸öÉí·ÝCookieÒ»Æð·¢Ë͵½·þÎñ¶ ......

SocketͨÐÅδÍê³É£¬×ÔѧASP.NETСÓгÉЧ£¬³õʶAjax

½øÈ¥º®¼Ù£¬ÓÉÓÚÒ»¸ö»ë»ëججµÄѧÆÚ½áÊøÁË£¬²»ÏëÁî×Ô¼º¼ÌÐø³ÁÄçÔÚÄÇ»èÌìºÚµØÖ®ÖУ¬ÓÚÊÇÈ¥Library½èÁËÒ»±¾ºÜºñºÜÖصÄC# ASP.NETµÄÊ飬¸½¹âÅÌ¡£ÓÐȤµÄ£¬ÎÒÓÃÀúÀ´Ñ§Ï°¿Î±¾ÖªÊ¶µÄ·ÅѧѧϰC#ºÍÊìϤVS»·¾³£¬»¹×öÁ˲»ÉÙ¶ÁÊé±Ê¼Ç£¬°¥£¬ÕæµÄûÄǸö±ØÒª°¡£¬²»¹ý¿´ÁË1-2ÖÜÖ®ºó£¬¶ÔÓÚ·þÎñÆ÷¶Ë¿Ø¼þµÄÈ·ÊÇÊìϤ²»ÉÙ£¬¶ÔÓڱ߽߱ŽŵÄһЩҳÃæ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ