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

asp.netÔÊÐíÉÏ´«µÄÎļþµÄ×î´óΪ4M

asp.netÔÊÐíÉÏ´«µÄÎļþµÄ×î´óΪ4M
Èç¹ûÏëÒª´«¸ü´óµÄÐèÒª¸ü¸Äweb.configÎļþ
<system.web>
    <httpRuntime   maxRequestLength="1048576"   executionTimeout="3600"   />
</ststem.web>


Ïà¹ØÎĵµ£º

ASP.NETÖеÄÊý¾Ý¿â²Ù×÷Ààsqlhelper¼°·½·¨Ê¹ÓÃÖ¸ÄÏ

ÒªÔÚVS2005ÖÐʹÓÃsqlhelperÀà,±ØÐë°ÑMicrosoft.ApplicationBlocks.Data.dllÒýÓõ½ÏîÄ¿ÖÐ.
1.ͨ¹ý´æ´¢¹ý³Ì²éѯµÄ·½·¨SqlHelper.ExecuteDataset(Êý¾Ý¿âÁ¬½Ó×Ö·û, ´æ´¢¹ý³Ì×Ö·û, ²ÎÊýÊý×é);
2.ͨ¹ý×Ö·û´®²éѯµÄ·½·¨SqlHelper.ExecuteDataset(Êý¾Ý¿âÁ¬½Ó×Ö·û, CommandType.Text , ²éѯ×Ö·û´®,²ÎÊýÊý×é);
3.ͨ¹ý´æ´¢¹ý³Ì²åÈëµ ......

asp.netÃæÊԴ𰸲¹³ä1

 ±»ÃæÊÔµÃÓÐÒ»²¿·ÖÌâÊ«Ö÷¹ÛµÄ£¬ÊÓ×ÔÉíÇé¿ö°É£¬ÏÂÃæÊÇÎÒ²»»áµÄÁË£¬²éÒ»²é¼ÇÏÂÁË¡£
1¡¢net³£ÓÃÀà¿â£¬ÍøÂçµÄÀà¿â£º
      £¨1£© ASP.NET×Ô¶¯µ¼ÈëµÄ£º
     System
     System.Collections
     System.Text
 &nb ......

ʹÓÃASP.NET Global.asax Îļþ

       Global.asax Îļþ£¬ÓÐʱºò½Ð×ö ASP.NET Ó¦ÓóÌÐòÎļþ£¬ÌṩÁËÒ»ÖÖÔÚÒ»¸öÖÐÐÄλÖÃÏìÓ¦Ó¦ÓóÌÐò¼¶»òÄ£¿é¼¶Ê¼þµÄ·½·¨¡£Äã¿ÉÒÔʹÓÃÕâ¸öÎļþʵÏÖÓ¦ÓóÌÐò°²È«ÐÔÒÔ¼°ÆäËüһЩÈÎÎñ¡£ÏÂÃæÈÃÎÒÃÇÏêϸ¿´Ò»ÏÂÈçºÎÔÚÓ¦ÓóÌÐò¿ª·¢¹¤×÷ÖÐʹÓÃÕâ¸öÎļþ¡£
¸ÅÊö
Global.asax λÓÚÓ¦ÓóÌÐò¸ùĿ¼Ï¡£ ......

ASP.NETÖÐÓû§¿Ø¼þÓëHttpHandler,HttpModule

ʲôÊÇÓû§¿Ø¼þ£¨User Control£©£¿
Óû§¿Ø¼þÆäʵ¾ÍÊÇÒ»ÖÖ×Ô¶¨ÒåµÄ×éºÏ¿Ø¼þ£¬Í¨³£ÓÉϵͳÌṩµÄ¿ÉÊÓ»¯¿Ø¼þ×éºÏ¶ø³É£¬
Óû§¿Ø¼þÖв»½ö¿ÉÒÔ¶¨ÒåÏÔʾҳÃ棬»¹¿ÉÒÔ±àдʼþ´¦Àí´úÂë¡£µ±¶à¸öÍøÒ³ÖаüÀ¨
Óв¿·ÖÏàͬµÄÓû§½çÃæʱ£¬¿ÉÒÔ½«ÕâЩÄÚÈÝÏàͬµÄ²¿·ÖÌáÈ¡³öÀ´£¬×ö³ÉÓû§¿Ø¼þ¡£
HttpHandler:ÊÂʵÉÏ£¬µ±Ò»¸öHTTPÇëÇóµ½´ïHttp ......

asp.net¶ÏµãÐø´«¼¼Êõ

¶ÏµãÐø´«µÄÔ­Àí
  ÔÚÁ˽âHTTP¶ÏµãÐø´«µÄÔ­Àí֮ǰ£¬ÏÈÀ´ËµËµHTTPЭÒ飬HTTPЭÒéÊÇÒ»ÖÖ»ùÓÚtcpµÄ¼òµ¥Ð­Ò飬·ÖΪÇëÇóºÍ»Ø¸´Á½ÖÖ¡£ÇëÇóЭÒéÊÇÓÉ¿Í»§»ú(ä¯ÀÀÆ÷)Ïò·þÎñÆ÷(WEB SERVER)Ìá½»ÇëÇóʱ·¢Ëͱ¨ÎĵÄЭÒé¡£»Ø¸´Ð­ÒéÊÇÓÉ·þÎñÆ÷(web server)£¬Ïò¿Í»§»ú(ä¯ÀÀÆ÷)»Ø¸´±¨ÎÄʱµÄЭÒé¡£ÇëÇóºÍ»Ø¸´Ð­Ò鶼ÓÉÍ·ºÍÌå×é³É¡£Í·ºÍÌåÖ® ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ