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

ASP.net µÄ¹¤×÷Ïß³ÌÓëÇëÇó¶ÓÁÐ

µ± ASP.NET ½ÓÊÕÕë¶ÔÒ³µÄÇëÇóʱ£¬Ëü´ÓÏ̳߳ØÖÐÌáȡһ¸öÏ̲߳¢½«ÇëÇó·ÖÅ䏸¸ÃÏ̡߳£
Ò»¸öÆÕͨµÄ£¨»òͬ²½µÄ£©Ò³ÔÚ¸ÃÇëÇóÆÚ¼ä±£ÁôỊ̈߳¬´Ó¶ø·ÀÖ¹¸ÃÏß³ÌÓÃÓÚ´¦ÀíÆäËûÇëÇó¡£Èç¹ûÒ»¸öͬ²½ÇëÇó³ÉΪ I/O bound£¨ÀýÈ磬Èç¹ûËüµ÷ÓÃÒ»¸öÔ¶³Ì Web ·þÎñ»ò²éѯһ¸öÔ¶³ÌÊý¾Ý¿â£¬²¢µÈ´ýµ÷Ó÷µ»Ø£©£¬ÄÇô·ÖÅ䏸¸ÃÇëÇóµÄÏß³ÌÔÚµ÷Ó÷µ»ØÖ®Ç°´¦ÓÚ¹ÒÆð״̬¡£ ÕâÓ°ÏìÁË¿ÉÉìËõÐÔ£¬Ô­ÒòÊÇÏ̳߳صĿÉÓÃÏß³ÌÊÇÓÐÏ޵ġ£
Õâ¸öÊý×ÖµÄÉèÖÃÊÇÔÚ machine.config µÄ ÏÂÊö½ÚµãµÄ maxWorkerThreads ÊôÐÔ
<system.web>
 <processModel requestQueueLimit="num|Infinite" maxWorkerThreads="num"  />
system.web> 
maxWorkerThreads
°´ CPU ÅäÖÃÓÃÓÚ½ø³ÌµÄ¸¨ÖúÏ̵߳Ä×î´óÊýÄ¿¡£ÀýÈ磬Èç¹ûµ¥´¦ÀíÆ÷·þÎñÆ÷ÉϵĸÃֵΪ 25£¬ASP.NET ʹÓÃÔËÐÐʱ API ½«½ø³ÌÏÞÖÆÉèÖÃΪ 25¡£ÔÚË«´¦ÀíÆ÷·þÎñÆ÷ÉÏ£¬¸ÃÏÞÖÆÉèÖÃΪ 50¡£¸ÃÊôÐÔµÄÖµ±ØÐëµÈÓÚ»ò´óÓÚ httpRuntime ÅäÖýÚÖÐµÄ minFreeThread ÊôÐÔÉèÖᣠ¸ÃÊôÐԵķ¶Î§ÊÇ´Ó 5 µ½ 100¡£
ASP.netÇëÇó¶ÓÁÐÉÏÊöÉèÖÃÖУ¬»¹ÓÐÒ»¸ö¶ÓÁÐÉèÖã¬ÈçÏ£ºrequestQueueLimit Ö¸¶¨¶ÓÁÐÖÐÔÊÐíµÄÇëÇóÊý£¬³¬¹ý´ËÊýÄ¿ºó£¬ASP.NET ½«¿ªÊ¼ÏòÐÂÇëÇ󷵻ؓ503 - ·þÎñÆ÷̫æ”ÏûÏ¢¡£  ĬÈÏÇé¿öÏÂ,Õâ¸ö¿ÉÓ÷ÖÏß³ÌÊýΪ1000¡£ÏÂͼΪIIS6ºÍIIS7ÖÐÕâ¸ö²ÎÊýµÄÉèÖõط½¡£
IIS 7 µÄ¿ÉÓÃÏß³ÌÊýÉèÖÃ
IIS 6 µÄ¿ÉÓÃÏß³ÌÊýÉèÖÃ
Èç¹ûËùÓÐÇëÇó´¦ÀíÏß³ÌÈ«²¿×èÈûÒԵȴý I/O ²Ù×÷Íê³É£¬ÔòÆäËûÇëÇóÅÅÈë¶ÓÁеȴýÏß³ÌÊÍ·Å¡£
×îºÃµÄÇé¿öÊÇÍÌÍÂÁ¿¼õÉÙ£¬ÒòΪÇëÇóµÈ´ý½Ï³¤µÄʱ¼ä²ÅÄܵõ½´¦Àí¡£
×µÄÇé¿öÔòÊǸöÓÁÐÌîÂú£¬²¢ÇÒ ASP.NET Òò 503“Server Unavailable”´íÎóʹºóÐøÇëÇóʧ°Ü¡£
²Î¿¼×ÊÁÏ:
ÔÚ·þÎñÆ÷¶Ë Web ´úÂëÖÐʹÓÃÏ̺߳ÍÉú³ÉÒì²½´¦Àí³ÌÐò
http://msdn.microsoft.com/zh-cn/library/aa686076.aspx
ASP.NET 2.0 ÖеÄÒì²½Ò³ http://www.microsoft.com/china/msdn/library/webservices/asp.net/issuesWickedCodetoc.mspx
IIS 6.0 ¼Ü¹¹
http://blog.csdn.net/heaven_pl/archive/2008/02/19/2106572.aspx http://blog.csdn.net/heaven_pl/archive/2008/02/19/2106579.aspx
IIS 7.0 ¼Ü¹¹
http://blog.csdn.net/SKY_VID/archive/2008/03/04/2147732.aspx
Á˽âASP.NETµ×²ã¼Ü¹¹
http://blog.csdn.net/fanweiwei/archive/2007/04/10/1558912.aspx


Ïà¹ØÎĵµ£º

asp.netÓï¾ä

   1¡¢¿ØÖÆGridView¿Ø¼þÖÐÄÚÈݵĻ»ÐÐ
GridView1.Attributes.Add("style","word-break:keep-all;word-wrap:normal");//Õý³£»»ÐÐ
GridView1.Attributes.Add("style","word-break:break-all;word-wrap:break-word");//×Ô¶¯»»ÐÐ
2¡¢É¾³ýGridView¿Ø¼þÐÐÐÅÏ¢µ¯³öÈ·ÈÏÌáʾ¿ò
ÔÚGridViewµÄRowDataBound()ʼþÖÐÌ ......

asp.net DataGridViewµ¼³öµ½ExcelµÄÈý¸ö·½·¨

http://hi.baidu.com/%E5%EB%B3%DF%C8%CB%C9%FA/blog/item/58a1540bbf0bb437b1351d9a.html
#region DataGridViewÊý¾ÝÏÔʾµ½Excel
/// <summary>
/// ´ò¿ªExcel²¢½«DataGridView¿Ø¼þÖÐÊý¾Ýµ¼³öµ½Excel
/// </summary>
/// <param name="dgv">DataGridView¶ÔÏó </param>
/// <param na ......

´úÂë±àд¹æ·¶ËµÃ÷Ê飨c#.netÓëasp.net£©

1   Ä¿µÄ
2   ·¶Î§
3   ×¢Ê͹淶
3.1   ¸ÅÊö
3.2   ×Ô½¨´úÂëÎļþ×¢ÊÍ
3.3   Ä£¿é£¨ÀࣩעÊÍ
3.4   ÀàÊôÐÔ×¢ÊÍ
3.5   ·½·¨×¢ÊÍ
3.6   ´úÂë¼ä×¢ÊÍ
4   ......

½÷É÷Asp.netÖÐstatic±äÁ¿µÄÓ÷¨

ÔÚ.Netƽ̨ϽøÐÐCSÈí¼þ¿ª·¢Ê±,ÎÒÃǾ­³£Óöµ½ÒÔºó»¹ÒªÓõ½Ä³Ð©±äÁ¿ÉÏ´ÎÐ޸ĺóµÄÖµ,ΪÁ˼òµ¥Æð¼û,ºÜ¶àÈ˶¼Ï°¹ßÓÃstaticÀ´¶¨ÒåÕâЩ±äÁ¿,ÎÒÒ²ÊÇ¡£ÕâÑù·Ç³£·½±ã£¬ÏÂÒ»´Îµ÷ÓÃij¸öº¯Êýʱ¸Ã±äÁ¿ÈÔÈ»±£´æµÄÊÇ´¦Àí¹ýµÄÖµ£¬Ö±½ÓÄÃÀ´ÓþͿÉÒÔÁË¡£
        ÏÖÔÚתÈëÁËBSÈí¼þ¿ª·¢£¬ÎÒÃǺÜ×ÔÈ»µØ»áÑØÓ ......

asp.netÖÐ'***\ASPNET' µÇ¼ʧ°ÜµÄÔ­ÒòÓë½â¾ö°ì·¨

1¡¢Èç¹ûÕâÖÖÇé¿ö³öÏÖÔÚ±¾»ú£¬ÔòÔÚsql server µÄÆóÒµ¹ÜÀíÆ÷µÄ¿ØÖÆÌ¨Ä¿Â¼ÀïÑ¡ÔñÏàÓ¦µÄÊý¾Ý¿â£¬ÔÚÆäϵÄÓû§½ÚµãµãÓÒ¼üн¨Êý¾Ý¿âÓû§£¬½«***\ASPNETÓû§¼ÓÈ룬²¢¸³ÓèpublicȨÏÞ¡£
2¡¢Èç¹û³öÏÖÔÚÆäËûµÄµçÄÔ£¬Ôò¼ì²é ³ÌÐòÁ¬½ÓSQLServerµÄÁ¬½Ó×Ö·û´®ÊDz»ÊÇÓÃÁËwindows¼¯³ÉµÇ½£¬Ò»°ã³öÏÖ´ËÎÊÌâµÄ×´¿ö¶¼ÊÇÒòΪʹÓÃÁËwindows¼¯³Éµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ