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

Ó°ÏìASP.NetÓ¦ÓÃÐÔÄܵÄÅäÖÃ



Ó°ÏìASP.NetÓ¦ÓÃÐÔÄܵÄÅäÖÃ

1¡¢É¾³ý²»±ØÒªµÄHttpModule£¬Ã¿Ôö¼ÓÒ»¸öHttpModule£¬Ã¿¸öÇëÇó´¦Àí¾Í¶àÒ»µã¿ªÏú¡£
È磺
<httpModules>
         <!-- Remove unnecessary Http Modules for faster pipeline -->
         <remove name="Session" /><!--²»ÐèÒªSessionµÄ¿ÉÒÔɾµô-->
         <remove name="WindowsAuthentication" />
         <remove name="PassportAuthentication" />
         <remove name="AnonymousIdentification" />
         <remove name="UrlAuthorization" />
         <remove name="FileAuthorization" />
</httpModules>
£¨web.config£©
2¡¢ÐÞ¸ÄĬÈϵÄProcessModule£¬È磺
<processModel 
   enable="true" 
   timeout="Infinite" 
   idleTimeout="Infinite" 
   shutdownTimeout="00:00:05" 
   requestLimit="Infinite" 
   requestQueueLimit="5000" 
   restartQueueLimit="10" 
   memoryLimit="60" 
   webGarden="false" 
   cpuMask="0xffffffff" 
   userName="machine" 
   password="AutoGenerate" 
   logLevel="Errors" 
  &nbs


Ïà¹ØÎĵµ£º

¹ØÓÚASP.NET¿Ø¼þÔÚ±àÒëʱÕÒ²»µ½µÄ½â¾ö·½°¸

     ±¾ÈË¿ª·¢ASP.NETÒÑÓÐÁ½Äê¶àÁË¡£Ì¸ÆðASP.NETÕæÊÇÈÃÎÒ»¶Ï²ÈÃÎÒÓÇ¡£×òÌìÓÖ³öÏÖÁËÄǸöÆæ¹ÖµÄÎÊÌ⣬¾ÍÊÇÔÚÒ³ÃæÍêȫдºÃºó£¬ÖØÐÂÉú³Éʱ±¨:XXX(Ò³ÃæÃû)²»°üº¬(XXX)µÄ¶¨Òå¡£ÔÚCSÎļþÏÂÊÇ¿ÉÒÔÓà this.xxx д³öÀ´µÄ£¬Ò³ÃæÉÏҲûÎÊÌâ¡£ÔÚ½â¾ö·½°¸ÖÐÖØÐÂÉú³ÉÒ³ÓÖ¿ÉÒÔ£¬ÖØÐÂÉú³ÉÍøÕ¾¾Í»á±¨Õâ¸ö´íÎó¡£½«this.XXX ......

asp.netÖС°Ïß³ÌÕý±»ÖÐÖ¹¡±Òì³£µÄ½â¾ö·½·¨

asp.netÖГÏß³ÌÕý±»ÖÐÖ¹”Òì³£µÄ½â¾ö·½·¨
ÔÚÏîÄ¿À︺ÔðÒì³£´¦Àí²¿·Ö£ºÒì³£ÐÅÏ¢µÄдÈ룬¶ÁÈ¡£¬²é¿´£¬Òò´Ë¾Í¿ÉÒÔ¿´µ½¸÷ÖÖÒì³££¬ÊÜÒæ·Ëdz
¿´µ½ÓÐN¶àµÄ“Ïß³ÌÕý±»ÖÐÖ¹”Òì³££¬¶øÇÒÀ´×Ôͬһ¸öÒ³Ãæ¡£
System.Threading.ThreadAbortException: Ïß³ÌÕý±»ÖÐÖ¹¡£
at System.Threading.Thread.AbortInternal( ......

ASP.NET Êý¾Ý°ó¶¨³£ÓôúÂë

ÓÃDataBinder.eval °ó¶¨Êý¾Ý²»±Ø¹ØÐÄÊý¾ÝÀ´Ô´(Dataread»òdataset)Ò²²»±Ø¹ØÐÄÊý¾ÝµÄÀàÐÍ,eval»á°ÑÕâ¸öÊý¾Ý¶ÔÏóת»»ÎªÒ»¸ö×Ö·û´®¡£Êǵײã°ó¶¨×öÁ˺ܶ๤×÷£¬Ê¹ÓÃÁË·´ÉäÐÔÄÜ¡£ÕýÒòΪʹÓ÷½±ãÁË£¬µ«È´Ó°ÏìÁËÊý¾ÝÐÔÄÜ¡£µ±Óëdataset°ó¶¨Ê±£¬DataItemÆäʵÊÇÒ»¸öDataRowView£¨Èç¹û°ó¶¨µÄÊÇÒ»¸öÊý¾Ý¶ÁÈ¡Æ÷£¨dataread£©Ëü¾ÍÊÇÒ»¸öIdat ......

ASP.NETÖ®ÐÔÄÜÓÅ»¯

¡¡1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯
¡¡¡¡Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
¡¡¡¡·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø± ......

ASP.NET FileUploadÓ¦ÓÃʵÀý

Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ