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

ASP.NETÒ³Ã滺´æ¼¼Êõѧϰ

      ÒÔǰд³ÌÐò´ÓÀ´¶¼Ã»Óùý»º´æ(ˮƽ̫²Ë)£¬ºÃÔÚÒÔÇ°×öµÄÍøÕ¾·ÃÎÊÁ¿¶¼·Ç³£µÄС£¬ËùÒÔÐÔÄÜÎÊÌâÒ²²»Í»³ö£¬µ«ÊÇÈç¹û×öÒ»¸öÕý¹æµÄÏîÄ¿£¬²»ÂÛ´óС£¬»º´æ¼¼ÊõÊDZØÐëҪʹÓõ½µÄ¡£½ñÌìѧϰÁËÈýÖÖ³£ÓõĻº´æ¼¼Êõ£¬·Ç³£µÄ¼òµ¥£¬ÏàÐÅ´ó¼ÒÒ»¶¨ÄÜ¿´Ã÷°×¡£
¡¡¡¡ÏÈ˵ÏÂΪʲôҪÓûº´æ£¬ÔÚÕý³£Çé¿öÏ£¬µ±Ò»¸öÓû§Òª·ÃÎÊwww.abc.com/index.aspxÕâ¸öÒ³Ãæʱ£¬ËûµÄIE»á¸øÎÒÃǵÄÍøÕ¾·þÎñÆ÷¶Ë·¢³öÒ»¸öä¯ÀÀÇëÇó£¬ÎÒÃǵķþÎñÆ÷ÊÕµ½ÇëÇóºó¾Í»áÖ´ÐÐindex.aspxÎļþÏà¹ØµÄ´úÂ룬ִÐÐÍê³ÉºóÉú³ÉÒ»¸öHTMLÎļþ£¬È»ºó·¢Ë͸øÓû§µÄIE£¬Èç¹ûÓÐ1000¸öÈË·ÃÎÊÕâ¸öÒ³ÃæµÄ»°£¬ÄÇ·þÎñÆ÷¾ÍÒª°Ñindex.aspxµÄ´úÂëÖ´ÐÐ1000´ÎÔÙ·¢ËÍ1000´Î£¬ÔÚʹÓÃÒ³Ã滺´æ¼¼ÊõÖ®ºóÎÒÃÇ°Ñindex.aspxÒ³Ã滺´æÆðÀ´£¬ÕâÑù¾ÍÓпÉÄÜ×öµ½1000¸öÈË·ÃÎÊ£¬·þÎñÆ÷Ö»Ö´ÐÐ200´Î´úÂ룬ÔÙ·¢ËÍ1000´Î£¬ÓëÇ°ÃæÏà±È½Ï·þÎñÆ÷ÉÙÖ´ÐÐ800´Î´úÂ룬´ó¼ÒÏëÏë¿´Õâ»á¶Ô·þÎñÆ÷µÄЧÂÊÓжàô´óµÄÌá¸ß°¡£¡ÈçºÎ×öµ½ÕâÒ»µãÄØ£¿Çë¿´“Ò³Ã滺´æ”
1.Ò³Ã滺´æ£¨OutPut Caching£©
¡¡¡¡Ò³Ã滺´æµÄʹÓ÷½·¨·Ç³£µÄ¼òµ¥£¬Ö»ÐèÒªÔÚaspxÒ³µÄ¶¥²¿¼ÓÒ»¾äÉùÃ÷<%@ OutputCache Duration="60" VaryByParam="none" %>Duration="60" µÄÒâ˼ÊÇÖ¸¶¨»º´æµÄʱ¼äΪ60Ã룬¿É¸ù¾ÝÇé¿ö×ÔÒÑÉ趨£¬VaryByParam="none" µÄÒâ˼ÊÇÉ趨ÎÞ²ÎÊý»º´æ£¨ÓвÎÊýµÄ»º´æÏÂÃæ»á½²µ½£©¡£ÕâÁ½¸ö²ÎÊýÊDZØÐëµÄ£¬²»ÄÜȱʡ¡£ÁíÍ⻹ÓÐÒ»¸öÖØÒªµÄ²ÎÊý£ºDiskCacheable="true|false" Òâ˼ÊÇÒª²»Òª°Ñ»º´æ·Åµ½Ó²ÅÌÉÏ£¬Èç¹ûÉèΪfalseÔò»º´æÊý¾Ý»á·Åµ½ÄÚ´æÖС£ÕâÀïÐèҪעÒâһϣ¬Èç¹ûÒ³ÃæÊý¾ÝºÜСµÄ»°¿ÉÒÔ°Ñ»º´æÊý¾Ý·Åµ½ÄÚ´æÖУ¬Èç¹ûÊý¾Ý½Ï´ó×îºÃ·Åµ½Ó²ÅÌÉÏ£¬·ñÔò»áÕ¼ÓôóÁ¿ÄÚ´æÓ°Ïì·þÎñÆ÷ÔËÐУ¬Èç¹ûÊý¾Ý»º´æµ½Ó²ÅÌÉϵĻ°£¬¼ÇµÃÒª°ÑDuration=""µÄÖµÉèµÄ´óһЩÈçDuration="3600"£¬Èç¹ûÉèµÄ̫С£¬·þÎñÆ÷»á¹ýÓÚƵ·±µÄÔÚÓ²ÅÌÉÏдÊý¾Ý·´¶ø»á½µµÍÐÔÄÜ£¬Èç¹ûÔÚÄÚ´æÖлº´æÊý¾ÝDuration""Ôò²»ÒªÉèµÄÌ«³¤£¬µ±È»¾ßÌåʱ¼ä³¤¶ÌÒª´ó¼Ò×Ô¼º¶à³¢ÊÔ²ÅÖªµÀ¡£
¡¡¡¡ÒÔÉϾÍÊÇÒ»¸ö×î¼òµ¥µÄÒ³Ã滺´æµÄʵÏÖ·½·¨£¬ÔÙÀ´»Ø¹ýÍ·½²Ò»ÏÂÔ­Àí£¬ÏÈ¿´¸öÀý×Ó£º
¡¡¡¡Ð½¨Ò»¸öcache1.aspxÎļþ£¬ÔÚÒ³Ã濪ʼ´¦¼ÓÒ»¾ä<%@ OutputCache Duration="60" VaryByParam="none"%>È»ºóÔÚ´úÂëÀïдһ¾äResponse.Write(DateTime.Now)£¬ÔËÐкóÏÔʾ³öÁ˵±Ç°Ê±¼ä£¬ºÃ£¬ÎÒÃÇ¿ªÊ¼Ë¢ÐÂÕâ¸öÒ³Ã棬Äã»á·¢Ï


Ïà¹ØÎĵµ£º

asp.net Ôö¼Ó²¥·Å¿Ø¼þ&²¥·ÅÊÓƵÎļþ

asp.net Ôö¼Ó²¥·Å¿Ø¼þ&²¥·ÅÊÓƵÎļþ2009-11-02 13:59/// <summary>//°ó¶¨ÊÓƵ²¥·Å
    /// °ó¶¨ÊÓƵ²¥·Å
    /// </summary>
    /// <param name="width">²¥·ÅÆ÷¿í¶È</param>
    /// <param name="height">²¥·ÅÆ÷¸ß¶ ......

ʹÓÃasp.net 2.0ÖеÄSqlBulkCopyÀàÅúÁ¿¸´ÖÆÊý¾Ý

½éÉÜ£º
ÔÚÈí¼þ¿ª·¢ÖУ¬°ÑÊý¾Ý´ÓÒ»¸öµØ·½¸´ÖƵ½ÁíÒ»¸öµØ·½ÊÇÒ»¸öÆÕ±éµÄÓ¦ÓᣠÔںܶ಻ͬµÄ³¡ºÏ¶¼»áÖ´ÐÐÕâ¸ö²Ù×÷£¬°üÀ¨¾Éϵͳµ½ÐÂϵͳµÄÒÆÖ²£¬´Ó²»Í¬µÄÊý¾Ý¿â±¸·ÝÊý¾ÝºÍÊÕ¼¯Êý¾Ý¡£ ASP.NET 2.0ÓÐÒ»¸öSqlBulkCopyÀ࣬Ëü¿ÉÒÔ°ïÖúÄã´Ó²»Í¬µÄÊý¾ÝÔ´¸´ÖÆÊý¾Ýµ½SQL SERVERÊý¾Ý¿â¡£ ±¾ÎÄÖÐÎÒ½«Ê¾·¶SqlBulkCopyÀàµÄ²»Í¬Ó¦Óá£
Êý¾ ......

ASP.NET Cookie

Cookie ÌṩÁËÒ»ÖÖÔÚ Web Ó¦ÓóÌÐòÖд洢Óû§Ìض¨ÐÅÏ¢µÄ·½·¨¡£ÀýÈ磬µ±Óû§·ÃÎÊÄúµÄÕ¾µãʱ£¬Äú¿ÉÒÔʹÓà Cookie ´æ´¢Óû§Ê×Ñ¡Ïî»òÆäËûÐÅÏ¢¡£µ±¸ÃÓû§ÔٴηÃÎÊÄúµÄÍøվʱ£¬Ó¦ÓóÌÐò±ã¿ÉÒÔ¼ìË÷ÒÔÇ°´æ´¢µÄÐÅÏ¢¡£
ʲôÊÇ Cookie£¿
Cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæ×ÅÓû§ÇëÇóºÍÒ³ÃæÔÚ Web ·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Cookie °üº¬Ã¿ ......

asp.netÁ¬½ÓaccessÊý¾Ý¿â½øÐÐÌí¼Ó¸üÐÂɾ³ý²éѯ²Ù×÷

Á¬½ÓaccessÊý¾Ý¿â´úÂ룬дÔÚÒ»¸öµ¥¶ÀµÄÀàÀï
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
namespace AppWebDLL
{
    public class ConnApp
    {
       ......

Flex Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ

Flex
Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ
Flex Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ (Ò»)http://hi.baidu.com/tsengyuen/blog/item/644e98a3353f7287471064ef.html
Flex Óë Asp.Net ͨ¹ý Remoting ·½Ê½½øÐÐͨѶ (¶þ)http://hi.baidu.com/tsengyuen/blog/item/af02730d58d6d7266059f3e8.html
Flex Óë Asp.Net ͨ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ