wapÁ÷Á¿Í³¼Æ·ÖÎöƽ̨(ת)
ÔÚ¡¶Ëû¾ËÍø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µÄÖµconnStr±ØÐëÓëÉÏÃ涨ÒåµÄÁ¬½Ó´®½ÚµãnameµÄÖµÏàͬ-->
<a
Ïà¹ØÎĵµ£º
×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®½çÃæ¼Ü¹¹Æª(ÊÖ°ÑÊÖ½ÌÄãiphone¿ª·¢ – ½ø½×ƪ)
×÷ÕߣºËﶫ·ç 2009-12-28£¨×ªÔØÇë×¢Ã÷³ö´¦£©
ÔÚ±ÊÕßµÄÉÏƪÎÄÕ¡¶×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®BSD SocketÒýÇæƪ¡·ÖÐÒѾ³É¹¦½âÎö³öÀ´ÁËwmlÒ³ÃæÖеÄtag£¬Èç¹û¶ÁÕß×ÐϸµÄ»°¿ÉÄܻῴµ½ÀïÃæÖÐÎĵÄtagÏÔʾΪÂÒÂ룬ÕâÊÇÒòΪÔÚiPhoneÉÏĬÈϵÄÖÐÎı ......
wap.71now.com
Ãâ·ÑwapÍøÖ·´óÈ«
wap.feiku.com ·É¿âÊé³Ç
fywap.net ·çÓïС˵Íø
3gyd.net 3GÒƶ¯Êé³Ç
book.11222.cn ÊéÆìÍø
bookwap.net µÆ»ðÊé³Ç
wap.my236.cnÊÖ»ú×ÊÔ´Íø
kong.net/book¿ÕÖÐÍø
good13.cn 13ºÅÊéÕ¾
wx.cmfu.com ÆðµãÍø
zzwx.netÖ¸ÕÆÎÄѧÍø
bbokk.comÌì¿ÕÎÄѧ
wapgd.cn¹ã¶«ÊéÎÝ
wap.tdwap.cnÌìµ ......
£¨Ê®¶þ.2£©WCSSÊäÈëÀ©Õ¹
Èç¹ûÖµÓï·¨´íÎó£¬ÔòWAPä¯ÀÀÆ÷ºöÂÔ¸ÃÊôÐÔ¡£
Ò²¿ÉÒÔ°üº¬×ªÒå×Ö·û£º’\’ÔÚWCSSÖÐÊÇÌØÊâ×Ö·û£¬Ê¹ÓÃ’\\’¡£
¿ØÖÆÎı¾¿òÊÇ·ñ¿ÉÒÔÁô¿Õ£º-wap-input-required£¨ÖµÎª£ºfalseºÍtrue £©£¬°ïÖú¿ØÖÆÎı¾¿òÊÇ·ñ¿ÉÒԿհס£Ê¹ÓÃÔªËØͬÉÏ¡£
&n ......
ʹÓÃwap css¿ÉÒÔ°ÑÄÚÈݺͱíʾ·ÖÀ룬ºÃ´¦£º
1.ʹÓÃwcssʹÄÚÈݺÍÑùʽ·ÖÀ룬¿ÉÒÔΪ²»Í¬ÊÖ»ú£¬Éè¼Æ¼¸¸ö°æ±¾wap css style sheet ºÍÖ¸¶¨²»Í¬ÆÁ
Ä»´óС¡£ÄÚÈÝÈ´²»ÐèÒªÐ޸ġ£
2.Ϊ²»Í¬É豸£¬ÈçPC,PDA,MOBILE PHONE£¬×¼±¸²»Í¬Ñùʽ±í£¬ÄÚÈݲ»ÐèÒª¸Ä±ä¡£
3.¼õÉÙά»¤Ò»¸öwapÕ¾µã£¬µ±ÓÐеĵ绰£¬Ö»ÐèÒªÔö¼ÓеÄÑùʽ±í£¬ÄÚÈݲ»ÐèÒ ......