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

ASP.NETÒ³Ãæ¶ÔÏó

   »ñÈ¡ÇëÇóµÄÒ³µÄHttpApplicationState ¶ÔÏó¡£
Ò»¡¢HttpApplicationState Àà
      ×÷ÓãºÆôÓà ASP.NET Ó¦ÓóÌÐòÖжà¸ö»á»°ºÍÇëÇóÖ®¼äµÄÈ«¾ÖÐÅÏ¢¹²Ïí¡£
      ASP.NET Ó¦ÓóÌÐòµÄ¸ÅÄÊǵ¥¸ö Web ·þÎñÆ÷ÉϵÄij¸öÐéÄâĿ¼¼°Æä×ÓĿ¼·¶Î§ÄÚµÄËùÓÐÎļþ¡¢Ò³¡¢´¦Àí³ÌÐò¡¢Ä£¿éºÍ´úÂëµÄ×ܺ͡£
      HttpApplicationState ÀàµÄµ¥¸öʵÀýÔÚ¿Í»§¶ËµÚÒ»´Î´Óij¸öÌض¨µÄ ASP.NET Ó¦ÓóÌÐòÐéÄâĿ¼ÖÐÇëÇóÈκΠURL ×ÊԴʱ´´½¨¡£¶ÔÓÚ Web ·þÎñÆ÷ÉϵÄÿ¸ö ASP.NET Ó¦ÓóÌÐò¶¼Òª´´½¨Ò»¸öµ¥¶ÀµÄʵÀý¡£È»ºóͨ¹ýÄÚ²¿ Application ¶ÔÏ󹫿ª¶Ôÿ¸öʵÀýµÄÒýÓá£
Application¶ÔÏóÊÇHttpApplicationStateÀàµÄÒ»¸öʵÀý£¬Ëü¿ÉÒÔ²úÉúÒ»¸öËùÓÐWebÓ¦ÓóÌÐò¶¼¿ÉÒÔ´æÈ¡µÄ±äÁ¿£¬Õâ¸ö±äÁ¿µÄ¿ÉÒÔ´æÈ¡·¶Î§º­¸ÇÈ«²¿Ê¹ÓÃÕߣ¬Ò²¾ÍÊÇ˵ֻҪÕýÔÚʹÓÃÕâ¸öÍøÒ³µÄ³ÌÐò¶¼¿ÉÒÔ´æÈ¡Õâ¸ö±äÁ¿¡£
Ó¦ÓóÌÐò״̬²»ÔÚÍøÂ糡£¨Ó¦ÓóÌÐò±»¶ą̀·þÎñÆ÷³ÐÔØ£©»òÍøÂçÔ°£¨Ó¦ÓóÌÐò±»Í¬Ò»Ì¨¼ÆËã»úÉϵĶà¸ö½ø³Ì³ÐÔØ£©Öй²Ïí¡£
 
¶þ¡¢HttpApplicationState ³ÉÔ±
HttpApplicationState ÀàÐ͹«¿ªÒÔϳÉÔ±¡£
 ·½·¨
Ãû³Æ
˵Ã÷
Add
½«ÐµĶÔÏóÌí¼Óµ½ HttpApplicationState ¼¯ºÏÖС£
BaseAdd
½«¾ßÓÐÖ¸¶¨¼üºÍÖµµÄÏîÌí¼Óµ½ NameObjectCollectionBase ʵÀýÖС£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseClear
ÒƳý NameObjectCollectionBase ʵÀýÖеÄËùÓÐÏî¡£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseGet
ÒÑÖØÔØ¡£
BaseGetAllKeys
·µ»Ø String Êý×飬¸ÃÊý×é°üº¬ NameObjectCollectionBase ʵÀýÖеÄËùÓмü¡£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseGetAllValues
ÒÑÖØÔØ¡£
BaseGetKey
»ñÈ¡ NameObjectCollectionBase ʵÀýµÄÖ¸¶¨Ë÷Òý´¦µÄÏî¼ü¡£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseHasKeys
»ñÈ¡Ò»¸öÖµ£¬Í¨¹ý¸Ãֵָʾ NameObjectCollectionBase ʵÀýÊÇ·ñ°üº¬¼ü²»Îª nullNothingnullptrnull ÒýÓã¨ÔÚ Visual Basic ÖÐΪ Nothing£© µÄÏî¡£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseRemove
ÒƳý NameObjectCollectionBase ʵÀýÖоßÓÐÖ¸¶¨¼üµÄÏî¡£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseRemoveAt
ÒƳý NameObjectCollectionBase ʵÀýµÄÖ¸¶¨Ë÷Òý´¦µÄÏî¡£ £¨¼Ì³Ð×Ô NameObjectCollectionBase¡££©
BaseSet
ÒÑÖØÔØ¡£
Clear
´Ó HttpApplicationState ¼¯ºÏÖÐÒƳýËùÓÐ


Ïà¹ØÎĵµ£º

Discuz!NTÓëasp.netÕûºÏ¼¯³ÉʵÀý½Ì³Ì

ÓÉÓÚÏîÄ¿ÐèÒªÒ»¸öÂÛ̳£¬±¾À´ÓÐCSµÄ£¬ÔÚ.netϺܳöÃûµÄ¹úÍ⿪ԴÂÛ̳¡£µ«ÎªÁËÊÊÓ¦¹úÄڵķçÆø£¬×îºóÑ¡ÓÃÔÚ¹úÄÚÈçÈÕÖÐÌìµÄDiscuz!NT¡£
½«DiscuzÓëasp.net¿ª·¢µÄÍøÕ¾ÕûºÏ£¬ÓкܶàÈËÒѾ­Íê³ÉÁË¡£
µ«ÔÚÍøÉÏûÓÐÕÒµ½½ÏÏêϸµÄÃèÊö¡£·½·¨µ¹ÊÇÓкܶàÖÖ¡£
ÔÚÏîÄ¿ÖÐ×¢²áÐÂÓû§Ê±£¬Ò²Í¬Ê±µ÷ÓÃÂÛ̳µÄÓû§×¢²á£¬ÕâÑù¾Íͬ²½×¢²áÁË¡£ÖÁÓÚɾ ......

ASP.NET ³ÉÔ±×ʸñÀàºÍ˵Ã÷


Membership
Ìṩ³£¹æ³ÉÔ±×ʸñ¹¦ÄÜ¡£
´´½¨Ò»¸öÐÂÓû§¡£
ɾ³ýÒ»¸öÓû§¡£
ÓÃÐÂÐÅÏ¢À´¸üÐÂÓû§¡£
·µ»ØÓû§ÁÐ±í¡£
ͨ¹ýÃû³Æ»òµç×ÓÓʼþÀ´²éÕÒÓû§¡£
ÑéÖ¤£¨Éí·ÝÑéÖ¤£©Óû§¡£
»ñÈ¡Áª»úÓû§µÄÈËÊý¡£
ͨ¹ýÓû§Ãû»òµç×ÓÓʼþµØÖ·À´ËÑË÷Óû§¡£
MembershipUser
ÌṩÓйØÌض¨Óû§µÄÐÅÏ¢¡£
»ñÈ¡ÃÜÂëºÍÃÜÂëÎÊÌâ¡£
¸ü¸ÄÃÜÂë ......

asp.net »ØÖ´(postback)ºó¶¨Î»ÎÊÌâ

ÓÃasp.net µÄ»ØÖ´(postback)ÊǺÜˬ£¬µ«ÈôÒ»¸ö³¤³¤µÄÒ³Ã棬һ»ØÖ´ºó£¬Ìøµ½ÁËÒ³Ê×£¬ÌåÑ鲻ˬ¡£ µ«ÔÚasp.netµÄpageÒ³ÃæÀïÃæÓÐÒ»¸öºÜˬµÄÊôÐÔPage.MaintainScrollPositionOnPostBack ÊôÐÔ£¬ÉèΪtrue¼´¿É¡£ »ñÈ¡»òÉèÖÃÒ»¸öÖµ£¬¸Ãֵָʾ»Ø·¢ºóÊÇ·ñ½«Óû§·µ»Øµ½¿Í»§¶Ëä¯ÀÀÆ÷ÖеÄͬһλÖᣠ<%@ Page Title="" Lang ......

asp.netÏòÎļþдÈëÈÕÖ¾

 using System;
using System.IO;
namespace WriteLog
{
    /// <summary>
    /// WriteInLog µÄժҪ˵Ã÷¡£
    /// </summary>
    public class WriteInLog
......

ASP.NETÒ³Ãæ¶ÔÏó

   »ñÈ¡ÇëÇóµÄÒ³µÄ HttpRequest ¶ÔÏó¡£
Ò»¡¢HttpRequest Àà
ʹ ASP.NET Äܹ»¶ÁÈ¡¿Í»§¶ËÔÚ Web ÇëÇóÆڼ䷢Ë굀 HTTP Öµ¡£
      ÏÂÃæµÄ´úÂëʾÀýʹÓà StreamWriter ÀཫÈô¸É HttpRequest ÀàÊôÐÔÖµµÄֵдÈëÎļþ¡£¶ÔÓÚÊÇ×Ö·û´®ÀàÐ͵ÄÊôÐÔ£¬ÊôÐÔÖµ±»Ð´ÈëÎļþʱ½«±»±àÂëΪ HTML¡£±íʾ¼¯ºÏµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ