WapÁ÷Á¿Í³¼Æ¿ª·¢ÖÐʹÓÃCacheÐĵÃ
ÔÚ¡¶Ëû¾ËÍøwapÁ÷Á¿Í³¼Æ·ÖÎöƽ̨¡·¿ª·¢ÖÐΪÁËÌá¸ßϵͳµÄÐÔÄÜ£¬ÎÒÃÇÀûÓÃCacheÀ´±£´æÊý¾Ý£¬ÀýÈç°ÑÓû§µÄһЩȨÏÞÐÅÏ¢·ÅÔÚCacheÖУ¬µ«ÕâÑù×ö»áÓÐ
ЩÎÊÌ⣬ºÎʱÇå³ýCacheÓëÊý¾Ý±£³Öͬ²½£¬ÏÂÃæÎÒÔÚÏîÄ¿ÖÐʹÓÃCacheµÄÐĵã¬Óë´ó¼Ò·ÖÏí¡£
Ò»¡¢ÀûÓÃCacheDependency
Àà
¡¡¡¡ËüÔÚÃüÃû¿Õ¼äSystem.Web.CachingÖС£CacheDependencyÀà»áÓëÎļþÖ®¼ä½¨Á¢ÒÀ¸½ÐÔ¹Øϵ¡£ÔÚÎļþ¸ü¸Äʱ£¬¸Ã
CacheÏî»á×Ô¶¯ÒƳý¡£
·½·¨:
¡¡¡¡°ÑÓû§È¨ÏÞÐÅÏ¢±£Áô³ÉXMLÎļþ£¬µ±¹ÜÀíÔ±¸üÐÂÊý¾Ýʱ£¬Í¬Ê±¸üÐÂÕâ¸öXMLÎļþ¡£
´ú
Â룺
//CahceֵΪXMLÎļþÄÚÈÝ
XmlDocument doc = Cache["user"] as
XmlDocument;
if (doc == null)
{
doc = new XmlDocument();
string filePath =
Server.MapPath("user.xml");
¡¡¡¡//½¨Á¢ÒÀÀµÏî
CacheDependency c
= new CacheDependency(filePath);
doc.Load(filePath);
¡¡
¡¡//½¨Á¢ÒÀÀµ¹Øϵ
Cache.Insert("skin", doc, c
,Cache.NoAbsoluteExpiration
,TimeSpan.fromMinutes(30)
);
}
¶þ¡¢ÀûÓÃSqlCacheDependencyÀà
¡¡¡¡ËüÒ²ÔÚÃüÃû¿Õ¼ä
System.Web.CachingÖУ¬SqlCacheDependency»áÓëÊý¾Ý¿â±í»òSQL
Server²éѯ½á¹û½¨Á¢ÒÀÀµ¹Øϵ£¬ÕâÖÖ·½·¨²Ù×÷±È½Ï¸´ÔÓ¡£
²½¾Û1:
ÔÚWeb.ConfigÎļþÖÐÔö¼ÓÊý¾Ý¿âÁ¬½Ó´®ÓëCache
ÅäÖýڵ㡣
<configuration>
<appSettings/>
<connectionStrings>
<add name="connStr"
connectionString="server=192.168.1.24;uid=sa;pwd=l23;database=CacheTest;"/>
</connectionStrings>
<system.web>
<caching>
<sqlCacheDependency>
<databases>
<!--½ÚµãconnectionStringNamµÄÖµco
Ïà¹ØÎĵµ£º
ʹÓÃwap css¿ÉÒÔ°ÑÄÚÈݺͱíʾ·ÖÀ룬ºÃ´¦£º
1.ʹÓÃwcssʹÄÚÈݺÍÑùʽ·ÖÀ룬¿ÉÒÔΪ²»Í¬ÊÖ»ú£¬Éè¼Æ¼¸¸ö°æ±¾wap css style sheet ºÍÖ¸¶¨²»Í¬ÆÁ
Ä»´óС¡£ÄÚÈÝÈ´²»ÐèÒªÐ޸ġ£
2.Ϊ²»Í¬É豸£¬ÈçPC,PDA,MOBILE PHONE£¬×¼±¸²»Í¬Ñùʽ±í£¬ÄÚÈݲ»ÐèÒª¸Ä±ä¡£
3.¼õÉÙά»¤Ò»¸öwapÕ¾µã£¬µ±ÓÐеĵ绰£¬Ö»ÐèÒªÔö¼ÓеÄÑùʽ±í£¬ÄÚÈݲ»ÐèÒ ......
The XHTML Mobile Profile document type is an XHTML document type based upon the module framework and the
modules defined by [XHTMLMod].
The XHTML Mobile Profile document type is defined as a strict superset of [XHTMLBasic]. XHTML Mobile Profile
consists of the XHTML modules specified in this s ......
1¡¢WAPtor ˵Ã÷: WAPtor ÊÇÒ»¿î·Ç³£¼òµ¥Ò×ÓÚʹÓõÄWML ±à¼Æ÷£¬ËäÈ»ËüûÓаÚÍÑ´úÂë¸ñʽµÄÊø¸¿£¬µ«±È¹ýÈ¥µÄHTML ´úÂë¼òµ¥µÄ¶à¡£¼´Ê¹Äã²»¼ÇµÃWMLÓïÑԵıêÇ©ºÍÊôÐÔ£¬Ò²ÄÜÀûÓÃWAPtorÖÆ×÷³ö·Ç³£³öÉ«µÄWMLÍøÒ³£¬WAPtorÄÜÈÃÄãËæʱԤÀÀWMLÒ³ÃæµÄЧ¹û£¬Ê®·Ö·½±ã¡£ WAPtorÊʺϳõѧWMLÍøÒ³µÄÈËʹÓã¬Ç¿Á¦ÍƼö¡£ >> waptor23.exe ......
´ÓÖйúÒƶ¯¹ã¸æÖ÷Ҫϸ·ÖÊг¡¹æÄ£À´¿´£¬2006ÄêWAP¹ã¸æÊг¡¹æģΪ0.6ÒÚÔª£»ÖÁ2007Ä꣬WAP¹ã¸æÊг¡¹æÄ£Ô¤¼Æ½«´ïµ½1.7ÒÚÔª£¬Ôö³¤183%£»·¢Õ¹µ½2008Ä꣬WAP¹ã¸æÊг¡¹æÄ£Ô¤¼Æ½«´ïµ½3.5ÒÚÔª£¬Ôö³¤106%£»ÖÁ2010Ä꣬ÖйúWAP¹ã¸æÔ¤¼Æ½«´ïµ½7ÒÚÔªÊг¡¹æÄ£¡£2006-2010ÄêÖйúWAP¹ã¸æÊг¡¹æÄ£Äêƽ¾ù¸´ºÏÔö³¤ÂÊ´ïµ½85%£¬Êг¡±íÏÖ½«³¬¹ýÕûÌ ......
ÖйúµçÐÅWap¡¢Net¡¢²ÊÐŲÎÊýÉèÖÃ
WAPÏà¹Ø²ÎÊý£¨Ð£©£º
APNºÅ£ºÁô¿Õ»òÈÎÒâÃüÃû£¬È绥ÁªÐÇ¿Õ
µç»°ºÅÂ룺#777
Óû§Ãû£ºctwap@mycdma.cn
ÃÜÂ룺vnet.mobi£¨»òwap¡¢wap2£©
WAP´úÀí·þÎñÆ÷10.0.0.200£º
HTTP 10.0.0.200:80
WAP 10.0.0.200:80
Wap protal£ºwap.vnet.mobi
»¥ÁªÍøÁ¬½Ó-InternetÉèÖãº
netÏà¹Ø²ÎÊý£º
APNº ......