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

ASP.NET MVC ÈëÃÅ

ʲôÊÇMVCģʽ
MVC£¨Model-View-Controller£¬Ä£ÐÍ—ÊÓͼ—¿ØÖÆÆ÷ģʽ£©ÓÃÓÚ±íʾһÖÖÈí¼þ¼Ü¹¹Ä£Ê½¡£Ëü°ÑÈí¼þϵͳ·ÖΪÈý¸ö»ù±¾²¿·Ö£ºÄ£ÐÍ£¨Model£©£¬ÊÓͼ£¨View£©ºÍ¿ØÖÆÆ÷£¨Controller£©¡£
ÄÇôMVCģʽºÍÎÒÃÇÊìϤµÄWebFormģʽÓÐʲô²»Í¬ÄØ£¿ËûµÄ¸÷¸ö²¿·ÖÓÖÊÇÔõÑù·Ö¹¤µÄÄØ£¿
ÎÒÃÇÏÈÀ´¿´Ò»ÏÂÆÕͨµÄWebFormģʽÏ£¬ÎÒÃÇÇëÇóÒ»¸öÀýÈçhttp://www.51mvc.com/blog/index.aspxµÄURL£¬ÄÇôÎÒÃǵÄWebForm³ÌÐò»áµ½ÍøÕ¾¸ùĿ¼ÏÂȥѰÕÒblogĿ¼ÏµÄindex.aspxÎļþ£¬È»ºóÓÉindex.aspxÒ³ÃæµÄCodeBehindÎļþ(.CSÎļþ)½øÐÐÂß¼­´¦Àí£¬ÆäÖлòÐíÒ²°üÀ¨µ½Êý¾Ý¿âȥȡ³öÊý¾Ý(ÆäÖеľ­¹ýÔõÑùµÄBLLµ½DALÕâÀï¾Í²»Ì¸ÁË)£¬È»ºóÔÙÓÉindex.aspxÒ³ÃæÀ´³ÊÏÖ¸øÓû§¡£¼òµ¥µÄʾÒâͼÈçÏÂËùʾ£º

Ò²¾ÍÊÇÒ»¸öURLÇëÇóµÄÊÇÔÚ·þÎñÆ÷Óë¸ÃURL¶ÔӦ·¾¶ÉϵÄÎïÀíÎļþ(ASPXÎļþ»òÆäËû)£¬È»ºóÓɸÃÎļþÀ´´¦ÀíÕâ¸öÇëÇó²¢·µ»Ø½á¹û¸ø¿Í»§¶Ë¡£
µ«ÊÇ£¬¶ÔÓÚMVCģʽ£¬ÕâÊÇÔõÑùµÄÒ»¸ö¹ý³ÌÄØ£¿
ÎÒÃÇÏÈÀ´½¨Ò»¸öASP.NET MVCµÄÏîÄ¿°É¡£VS2008ĬÈÏÊÇûÓÐASP.NET MVCµÄÏîÄ¿Ä£°åµÄ£¬Ê×ÏÈÎÒÃÇÐèÒªµ½http://www.microsoft.com/downloads/details.aspx?FamilyId=A24D1E00-CD35-4F66-BAA0-2362BDDE0766&displaylang=enÈ¥ÏÂÔØ×îеÄASP.NET MVCµÄ°²×°³ÌÐò£¬Ä¿Ç°×îа汾µÄMicrosoft ASP.NET MVC Beta(10/15/2008)¡£ÏÂÔØ°²×°Íêºó£¬ÎÒÃÇ¿ÉÒÔÔÚн¨ÏîÄ¿ÄÇÀïÕÒµ½ASP.NET MVCµÄÏîÄ¿£º
 
×¢£ºÈç¹ûÄãµÄÊÇÖÐÎÄ°æµÄVS£¬°²×°Íêºó¿ÉÄÜ»á³öÏÖÕÒ²»µ½Õâ¸öÄ£°åµÄÏÖÏó£¬Äã¿ÉÒԲο¼ÔÚÖÐÎÄ°æVS 08Öа²×°MVCÕâƪÎÄÕÂÉèÖÃһϡ£
½¨Á¢Ò»¸öASP.NET MVCÏîÄ¿ºó£¬Ä¬ÈϵÄÏîÄ¿´ó¸ÅÈçÏÂͼ£º

ÎÒÃÇ¿ÉÒÔ¿´µ½ÏîÄ¿ÖÐÓм¸¸öÎļþ¼ÐµÄÃüÃûºÍMVC£¨Model-View-Controller£¬Ä£ÐÍ—ÊÓͼ—¿ØÖÆÆ÷ģʽ£©ÊǶÔÓ¦µÄ¡£È»ºóÎÒÃÇÔËÐÐÒ»ÏÂÏîÄ¿¿´¿´£º

ÎÒÃÇ×¢Òâµ½µØÖ·À¸µÄURLÊÇ Home/Index,Èç¹û°´ÕÕÎÒÃÇÇ°Ãæ˵µÄWebFormµÄģʽµÄ»°£¬ÎÒÃÇÓ¦¸Ã¿ÉÒÔÔÚÎÒÃǵÄÏîÄ¿µÄ¸ùĿ¼ÏÂÕÒµ½HomeĿ¼£¬È»ºóHomeĿ¼ÏÂÓиöIndexµÄÎļþ£¬µ«ÊÇÎÒÃDz¢²»ÄÜÔÚ¸ùĿ¼ÏÂÕÒµ½HomeÕâ¸öĿ¼¡£²»¹ý»¹ÊÇÈÃÎÒÃÇÔÚViewsĿ¼ÏÂÕÒµ½ÁËViews/Home/Index.aspxÎļþ£¬ÎÒÃÇÊäÈëÕâ¸öµØÖ·ÔËÐп´¿´£º

Oh£¬No£¡Â·¾¶ÊǶԵģ¬ÎļþÒ²´æÔÚ£¬µ«ÎªÊ²Ã´»áÊÇ404,˵ÕÒ²»µ½ÎļþÄØ£¿Èç¹û²»ÊÇÖ±½Ó·ÃÎÊ´æÔÚµÄÎïÀíÎļþ£¬ÄÇôMVCÓÖÊÇÔõÑù¹¤×÷µÄÄØ£¿
Ô­À´°¡£¬MVCģʽµÄ¹¤×÷¹ý³ÌÊÇÕâÑùµÄ£º

ÔÚMVCÖУ¬¿Í»§¶ËµÄËùÇëÇóµÄURLÊDZ»Ó³Éäµ½ÏàÓ¦µÄControllerÈ¥£¬È»ºóÓÉControllerÀ´´¦ÀíÒµÎñÂß¼­


Ïà¹ØÎĵµ£º

ASP.NET±ÊÊÔÌâÄ¿

 ADO.NET³ÌÐòÉè¼ÆÄ£ÄâÌâ(¹²206Ìâ)
1
ADO.NET Ä£ÐÍÖеÄÏÂÁÐÄÄЩ¶ÔÏóÊôÓÚConnected ¶ÔÏó
A. Connection
B. DataAdapter
C. DataReader
D. DataSet
ÕýÈ·´ð°¸:ABC
2
ÔÚADO.NET ÖÐ,Ϊ·ÃÎÊDataTable ¶ÔÏó´ÓÊý¾ÝÔ´ÌáÈ¡µÄÊý¾ÝÐÐ.¿ÉʹÓÃDataTable ¶ÔÏóµÄ_______ÊôÐÔ.
A. Rows
B. Columns
C. Constraints
D. Data ......

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

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

windows 7 ÏÂASP.net ±¾µØÅäÖà ( IIS 7)

 ½ñÌìµ÷ÊÔblend 3µÄÒ»¸öZune3DÑùÀýʱ, ÔËÐкóÉú³ÉµÄÊÇsliverlight³ÌÐò, ÓÉÓÚÎҵĻúÆ÷ÊǸմÓvistaÉý¼¶µ½windows 7, iis¶¼Ã»ÓÐÅäÖÃ, Òò´ËÎÞ·¨Ô¤ÀÀ.ÏÖ¸ø³ö²½Öè:
(Ò». ÅäÖÃIIS)
1. ´ò¿ª"Control Panel" / "Programs" / "Turn Windows features on or off",  ¹´Ñ¡"Internet Information Services", windows 7ĬÈϹ´Ñ ......

ASP.NET°²È«ÈÏÖ¤ Ò»

×÷Õߣºº®Óð·ã(cityhunter172)
Ðò
´úÂëд N ¾ÃÁË£¬×ÜÏëдµÃ±ðµÄ¡£Õâ²»£¬ÉÏͷ˵ÔÚÕûºÏÁ½¸öÏîÄ¿£¬×ö³Éµ¥Ò»µÇ¼£¨Single Sign On£©£¬Ò²ÓÐÈ˳Æ֮Ϊ“µ¥µãµÇ¼”¡£²éÔÄÏà¹ØÎĵµºó£¬ÖÕÓÚʵÏÖÁË£¬ÏÖÔÚ°ÑËüÄóöÀ´Óë´ó¼ÒÒ»Æð·ÖÏí¡£»òÐí´ó¼Ò»áÎÊ£º“ÕâÓë±êÌâ²»·ûѽ£¿”±ð¼±£¬ÔÚϱÊ֮ǰ£¬ÎÒÄÔ×ÓÀïÏëµ½ÁËÎÒ¸ÕʹÓà ......

ASP.NET MVC ¼ò½é

Õâ¸öÊÇÔÚÍøÉÏÕÒµÄÒ»¸ö¹ØÓÚASP.NET MVC µÄ¶¨Ò壬ÎÒ¾õµÃÒѾ­½âÊ͵Ĺ»ºÃÁË£¬ËùÒԾͽè¹ýÀ´ÓÃÓÃÁË £¬ºÇºÇ
Ï£ÍûÓÐÐÄѧϰASP.NET MVC µÄÅóÓÑÏÈÊìϤ¶¨Ò壬ÔÚºóÐøµÄÎÄÕÂÖлá¸üÇáËɵÄѧϰASP.NET MVC
ÏÂÃæÎÒÃÇÒ»Æð̤ÉÏASP.NET MVC Ö®Âðɣ¬Ö»ÒªÓкãÐĺÍÒãÁ¦£¬×£Ñ§ÕßÃÇÂÃ;Óä¿ì£¡
The Model-View-Controller (MVC) architectu ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ