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£¬Ê±ÖÓ£¬ÈÕÀú£¬²¥·ÅÁ
Ïà¹ØÎĵµ£º
function createXMLHttpRequest() { // ´´½¨XMLHTTPREQUESTµÄ±ê×¼º¯Êý.¼æÈݸ÷ä¯ÀÀÆ÷.
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (wind ......
Ëæ ×ÅÍøÕ¾·ÃÎÊÁ¿µÄ¼Ó´ó£¬Ã¿´Î´ÓÊý¾Ý¿â¶ÁÈ¡¶¼ÊÇÒÔЧÂÊ×÷Ϊ´ú¼ÛµÄ£¬ºÜ¶àÓÃACCESS×÷Êý¾Ý¿âµÄ¸ü»áÉîÓÐÌå»á£¬¾²Ì¬Ò³¼ÓÔÚËÑË÷ʱ£¬Ò²»á±»ÓÅÏÈ¿¼ÂÇ¡£»¥ÁªÍøÉÏÁ÷ ÐеÄ×ö·¨Êǽ«Êý¾ÝÔ´´úÂëдÈëÊý¾Ý¿âÔÙ´ÓÊý¾Ý¿â¶ÁÈ¡Éú³É¾²Ì¬Ã棬ÕâÑùÎÞÐμä¾Í¼Ó´óÁËÊý¾Ý¿â¡£½«ÏÖÓеÄASPÒ³Ö±½ÓÉú³É¾²Ì¬Ò³£¬½«»á½ÚÊ¡ºÜ¶à¡£
ÏÂÃæµÄÀý×ÓÊǽ«¡¢index.asp?i ......
1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
´«ËͲÎÊý£º
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")
½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1.Attribut ......
ΪʲôҪ״̬¹ÜÀí
B/SÓëC/SÁ½Öּܹ¹µÄÓÐ×ÅÍêÈ«²»Í¬µÄÔËÐлúÖÆ¡£C/S»ù±¾ÉÏËùÓеÄÈí¼þ¹¦Äܶ¼ÔÚ¿Í»§¶Ë(Client)ÖÐʵÏÖ£¨ËùÒÔC/SÒ²³ÆΪÅÖ¿Í»§¶Ë¼Ü¹¹£©£¬·þÎñÆ÷¶Ë(Server)Ö»Ìṩ»ù´¡·þÎñ£¬×îΪµäÐ͵ÄÊÇÊý¾Ý¿â·þÎñÌṩÊý¾Ý·þÎñ¡£¶øB/S¼Ü¹¹Ö÷ÒªµÄ¹¦ÄÜÔÚ·þÎñ¶Ë(Server)ʵÏÖ£¬¿Í»§¶ËµÄä¯ÀÀÆ÷( ......
asp.net±ÏÒµÉè¼Æ¾ÍÊÇÓÃC#ÓïÑÔ¿ª·¢µÄWEBµÄ±ÏÒµÉè¼Æ£¬ÏÖÔںöà´óѧ¶¼Ñ¡ÔñÓÃasp.netÀ´×ö±ÏÒµÉè¼Æ£¬±¾Õ¾¿ªÊ¼×ö±ÏÒµÉè¼Æ¾ÍÑ¡ÔñÁËasp.net¿ª·¢±ÏÒµÉè¼Æ±ðµÄÉè¼Æ²»×ö¡£
¶¨×öasp.net±ÏÒµÂÛÎÄרÏߣº
±à³ÌÁªÃËÕ¾³¤
QQ£º153933864 êdzƣºÐÇÆÚ°Ë
ÁõÏÈÉú£ºÊÖ»ú£º13733310210
ÎÒÃǵÄasp.net±ÏÒµÉè¼Æ³ÉÆ·Ö÷Òª²¿·ÖÔÚÏÂÃæÁгö£º
±¾Õ¾ÒÔ¶ ......