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

Building a Web 2.0 Portal with asp.net ajax µÚÒ»ÕÂ


[Òë]µÚÒ»Õ ½éÉÜ Web ÃÅ»§ÒÔ¼° Dropthings.com
ÔÚÕâ±¾ÊéÖУ¬ÎÒ½«»á¸øÄúչʾÔõÑù½éÉÜÒ»¸ö Ajax£¬Web 2.0 ʽµÄÃÅ»§¡£Õâ¸öÃÅ»§Ê¹Óà ASP.NET 3.5 , ASP.NET AJAX ºÍ .NET 3.5 , ҲʹÓÃÁË LINQ ºÍ SQL Server 2005.ÔÚ´´½¨Ó¦ÓóÌÐòÖУ¬Äã¿ÉÒÔÁ˽⵽£º
±ØÐëÒª×öµÄÉè¼Æ¾ö¶¨ºÍ Web 2.0 Óû§½çÃæÖпÉÓÃÐÔµÄÎÊÌâ
¼Ü¹¹µÄ¸´ÔÓÐԺͷḻµÄ JavaScript£¬Ö§³Ö widget µÄÕ¾µãµÄ¿ª·¢ÌôÕ½
ÔËÐÐÒ»¸ö¸ßÈÝÁ¿µÄ web Ó¦ÓóÌÐòµÄÉú²úºÍά»¤µÄÌôÕ½
Ajax web ÃÅ»§ÊôÓÚÄã¿ÉÒÔÔÚÍøÉÏÕÒµ½µÄ×¶ËµÄ¿Í»§¶Ë¼¼ÊõʵÏÖ¡£ËüÃDz»½ö½öʹÓÃÁË´óÁ¿µÄ JavaScript£¬CSS ºÍ HTML£¬ËüÃÇÒ²½« Ajax ºÍ ·þÎñÆ÷¶ËµÄ¼¼ÊõÍÆÏò½»»¥ÐÔ£¬ÐÔÄܺͿɲâÁ½ÐԵļ«ÏÞ¡£µ±ÄúÔĶÁÍê±¾Ê飬Äú½«»áÓÐ×ã¹»µÄ¼¼Êõ֪ʶÀ´´´½¨Ò»¸öÄã×Ô¼ºµÄ web 2.0 ²úÆ·¡£
ÎÒ½ÐÕâ¸öÓ¦ÓóÌÐòµÄʾÀý Dropthings£¬Ô­ÒòÂíÉϾͻáÇå³þ£¬ËüÊÇÔÚÏñ Google µÄ iGoogle »òÕß PageFlakes Ò»ÑùµÄ web ÃÅ»§ÖÐÈ¥µôÁËһЩ¹¦ÄÜÖ®ºóµÄÔ­ÐÍ¡£Äã¿ÉÒÔ²¿Êð Dropthings ÔÚÒ»¸ö²úÆ··þÎñÆ÷ÉÏ£¬×÷ΪÄã×Ô¼ºµÄ¸öÈËÕ¾µã£¬Ð¡×éÕ¾µã£¬»òÕßÉõÖÁ×öΪ¹«Ë¾ÄÚ²¿ÍøÂç¡£°üÀ¨¿ÉÒÔÍÏקµÄ widgets£¬ÍêÈ«µÄ¸öÐÔ»¯Ö§³Ö£¬ÔÚ¶à¸öÒ³ÃæÉϹ¹½¨ widgets µÄÄÜÁ¦£¬¼¯ÖеÄÉí·ÝȨÏÞÑéÖ¤µÈµÈ¡£
ÕýÈçÄãͨ¹ýÕâ±¾ÊéÄ㽫»á¿´µ½ Dropthings ÊÇÔõÑù¹¹¼ÜºÍʵÏֵġ£ËûÊÇÒ»¸öÕæÊǵģ¬ÏÊ»îµÄ¿ªÔ´µÄ Web ÃÅ»§£¬Äã¿ÉÒÔÔÚ http://www.dropthings.com ÕÒµ½¡£¾¡¹ÜÓÉÓÚ´úÂëµÄÖÊÁ¿£¬¹¦ÄÜÐÔ£¬¿É²âÁ¿ÐÔ£¬ÐÔÄܺͲúÆ·ÆäËû·½ÃæµÄÎÊÌ⣬Ëû»¹²»ÄܺÍÕæÕýµÄ web ÃÅ»§Ïà±È£¬µ«ÊÇËüºÜºÃµÄÖ¤Ã÷ÁËÐÂÉúµÄ¼¼Êõ¡£
È»¶ø£¬Äã¿ÉÒÔ½«Ëü×öΪÄãÿÌìµÄ¸öÈËʹÓ㬶øÇÒ£¬·Ç³£»¶Ó­Äãͨ¹ýÌí¼Ó¸ü¶àµÄ¹¦ÄÜ»òÕßÌí¼ÓÐ嵀 widgets À´Ö§³Ö¼ÌÐø¿ª·¢Õâ¸öÏîÄ¿¡£
¿ªÔ´ÏîÄ¿ Dropthings ÔÚ http://www.codeplex.com/dropthings . ÿ¸öÈ˶¼ÄܲÎÓë¹±Ïס£
ͼ 1-1 չʾÁË Dropthings Õ¾µã£¬ÔÚÕâ±¾ÊéÖУ¬Ä㽫»áѧµ½ÈçºÎ´´½¨Ëü¡£
ͼ 1-1. Dropthings Õ¾µãÊÇÒ»¸öÖ§³Ö widgets µÄ web 2.0 ÃÅ»§£»Ä㽫»áʹÓà ASPNET 3.5£¬ASP.NET AJAX £¬.NET Framework 3.5 ºÍ SQL Server 2005 À´´´½¨Ò»¸öÀàËƵÄÒ»¸öÓóÌÐò¡£
¶¨ÒåÒ»¸ö Web ÃÅ»§
Ò»¸ö web ÃÅ»§ÊÇÒ»¸öÔÊÐíÓû§×Ô¼º¶¨ÖƵÄÊ×Ò³£¬Óû§¿ÉÒÔͨ¹ýÍÏ·Å widgets Íê³É¶¨ÖÆ¡£ÕâÖÖ·½Ê½Óû§¿ÉÒÔÍêÈ«µÄ¿ØÖÆËûµÄÊ×Ò³ÉÏÃæÏÔʾʲô£¬ÔÚÄÄÀïÏÔʾ£¬ÒÔ¼°ÈçºÎ½»»¥¡£
Ò»¸ö widget ·ÖÉ¢ÔÚÒ³ÃæÉÏ£¬Ö´Ðи÷×ԵŦÄÜ£¬Í¬Ê±Ò²ÓÐ×Ô¼º¶À×ԵĽçÃæºÍÌØÐÔ¼¯¡£widgets µÄÀý×Ó°üÀ¨ ´ý°ìÊÂÏµØÖ·²¾£¬ÁªÏµÈËÁÐ±í£¬RSS£¬Ê±ÖÓ£¬ÈÕÀú£¬²¥·ÅÁ


Ïà¹ØÎĵµ£º

ajax ÖÐÎÄÂÒÂë

½â¾öAjax´«ËÍÖÐÎĻᵼÖÂÂÒÂëµÄÎÊÌâ
//Èç¹û´«ËͲÎÊýÊÇÖ±½Ó¸³ÓèµÄ£¬¾Í»á²úÉúÂÒÂë!
http_request.open("POST",url,true);
http_request.setRequestHeader('Content-Type',
'application/x-www-form-urlencoded');
http_request.send("action="+strName+"&val="+val);   ......

ASP.NETµÄ״̬¹ÜÀí

 
ΪʲôҪ״̬¹ÜÀí
     B/SÓëC/SÁ½Öּܹ¹µÄÓÐ×ÅÍêÈ«²»Í¬µÄÔËÐлúÖÆ¡£C/S»ù±¾ÉÏËùÓеÄÈí¼þ¹¦Äܶ¼ÔÚ¿Í»§¶Ë(Client)ÖÐʵÏÖ£¨ËùÒÔC/SÒ²³ÆΪÅÖ¿Í»§¶Ë¼Ü¹¹£©£¬·þÎñÆ÷¶Ë(Server)Ö»Ìṩ»ù´¡·þÎñ£¬×îΪµäÐ͵ÄÊÇÊý¾Ý¿â·þÎñÌṩÊý¾Ý·þÎñ¡£¶øB/S¼Ü¹¹Ö÷ÒªµÄ¹¦ÄÜÔÚ·þÎñ¶Ë(Server)ʵÏÖ£¬¿Í»§¶ËµÄä¯ÀÀÆ÷( ......

asp.net¹¤×÷Ô­Àí


ASP.NETµÄÒ³Ãæ³õʼ»¯ÓëʼþÏê½â
 
Ò»¡¢³õʼ»¯
¡¡¡¡·µ±Ò³Ãæ±»Ìá½»ÇëÇóµÚÒ»¸ö·½·¨ÓÀÔ¶Êǹ¹Ô캯Êý¡£Äú¿ÉÒÔÔÚ¹¹Ô캯ÊýÀïÃæ³õʼһЩ×Ô¶¨ÒåÊôÐÔ»ò¶ÔÏ󣬲»¹ýÕâʱºòÒòΪҳÃ滹ûÓб»ÍêÈ«³õʼ»¯ËùÒÔ¶àÉÙ»áÓÐЩÏÞÖÆ¡£ÌرðµØ£¬ÄúÐèҪʹÓÃHttpContext¶ÔÏó¡£µ±Ç°¿ÉÒÔʹÓõĶÔÏó°üÀ¨QueryString, FormÒÔ¼°Cookies¼¯ºÏ£ ......

Æô¶¯asp.netÒ³Ã滺´æ£¨¼Ó¿ìÒ³Ãæ·ÃÎÊËٶȣ©

 Æô¶¯Ò³Ã滺´æ£¬´úÂëÈçÏ£º
<%OutputCache Duration="60" VaryByParam="*"%>
 ËµÃ÷£º
Duration±ØÐèÊôÐÔ¡£Ò³Ãæ±»»º´æºµ£¬ÒÔÃëΪµ¥Î»£¬ÇÒ±ØÐëÊÇÕûÊý¡£
Location Ö¸¶¨Ó¦Êä³ö½øÐлº´æµÄλÖᣲÎÊýÊÇÒÔÏÂÑ¡ÏîÖ®Ò»£ºAny,Client,Downstream,None,Server,ServerAndClient
VaryByParam ±ØÐèÊôÐÔ¡£RequestÖбäÁ¿ ......

tempÎļþ¼ÐȨÏÞ¶ÔASPÍøÕ¾ÒÔ¼°ASP.NETÍøÕ¾µÄÓ°Ïì

 ×öÍøÕ¾Óë¸ã°²È«Ò»°ã¶¼Àë²»¿ªÈ¨ÏÞ·ÖÅä,ÍøվȨÏÞÒ»°ã¶¼Ö±½ÓÉèÖÃÕ¾µãËùÔÚµÄÐéÄâĿ¼µÄ,Ò²¾ÍÊÇÔÚÐéÄâĿ¼µÄ°²È«ÀïÌí¼ÓinternetÀ´±öÕË»§,²¢·ÖÅä³ýÍêÈ«¿ØÖÆÍâµÄËùÓÐȨÏÞ;Èç¹ûÊÇ.NET,»¹±ØÐë¸øASP.NETÓû§ÅäÖóýÍêÈ«¿ØÖÆÒÔÍâµÄȨÏÞ! 
Ò»°ãÇé¿öÏÂ,ÕâÑù¾ÍOKÁË,·þÎñÆ÷ÉϵÄÒ»°ãÍøÕ¾¶¼¿ÉÒÔÕý³£ÔËÐÐÁË!µ«ÏÖÔÚÎÒ·¢ÏÖ:C\WINDOWS ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ