¡¾VS2008ÎÞ·¨Æô¶¯asp.net development server¡¿µÄ½â¾ö
¡¾VS2008ÎÞ·¨Æô¶¯asp.net development server¡¿µÄ½â¾ö
½ñÌìÔÚVS2008ÖÐä¯ÀÀ´ò¿ªÒ»¸öÍøҳʱ£¬¾Íµ¯³ö¶Ô»°¿ò“ÎÞ·¨Æô¶¯asp.net development server”£¬ÊÔÁ˺ܶà´Î¶¼ÊÇÕâÑù£¬ÓÐʱ¾ÍÌáʾ“ÎÞ·¨Á¬½Óµ½asp.net development server”
ÔÚÍøÉÏÕÒµ½ÏÂÃæµÄ½â¾ö·½·¨£º
===============================================
>>>step1
¡¾¹¤¾ß¡¿->¡¾Íⲿ¹¤¾ß¡¿->°´¡¾Ìí¼Ó¡¿ÊäÈë:
1)±êÌâ:Web Server Port:8080
2)ÃüÁî:C:WINDOWSMicrosoft.NETFrameworkv2.0.50727WebDev.WebServer.EXE
3)²ÎÊý:/port:8080 /path:$(ProjectDir)
4)¡¾Ê¹ÓÃÊä³ö´°¿Ú¡¿Ñ¡ÉÏ
>>>step2
µã»÷step1ºóÔÚ¡¾¹¤¾ß¡¿²Ëµ¥ÉϳöÏֵēWeb Server Port:8080”Ñ¡Ï¼¤»î×Ô¶¨ÒåWeb Server·þÎñÆ÷,¼¤»îºó´°¿ÚÓÒϽǻá³öÏÖÒ»¸ö“asp.net development server”ͼ±ê¡£
>>>step3
ÔÚÍøÕ¾ÉÏÓÒ»÷Ñ¡Ôñ¡¾ÊôÐÔÒ³¡¿->¡¾Æô¶¯Ñ¡Ïî¡¿->¡¾Ê¹ÓÃ×Ô¶¨Òå·þÎñÆ÷¡¿£¬ÔÚ»ùURLÊäÈëhttp://localhost:8080
>>>step4
¼ÇµÃÒª°Ñ¸ÃÍøÕ¾»òÏîÄ¿µÄ£É£É£ÓÉϵÄÔËÐж˿ÚÒ²Òª¸Ä³É£¸£°£¸£°£º£É£É£Ó££ÕÒµ½ÄãµÄÏîÄ¿ÍøÕ¾£¬²¢ÇÒÓÒ»÷££½«¶Ë¿Ú¸Ä³É£¸£°£¸£°
===============================================
½â¾ö¹ý³ÌºÍÉÏÃæÉÔ΢Óе㲻һÑù£º
1¡¢step1 ÖеÄÃüÁî C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebDev.WebServer.EXEÔÚµçÄÔÖÐÕÒ²»µ½Õâ¸ö·¾¶£¬ºóÀ´ÎÞÒâÖп´µ½ÁíһƪÎÄÕÂ˵VS2005µÄWebDev.WebServer·¾¶ÊÇÉÏÃ棬¶øVS2008µÄ·¾¶ÔòÊÇC:\Program Files\Common Files\Microsoft Shared\DevServer\9.0\WebDev.WebServer.EXE
2¡¢step1 Öеġ¾Ê¹ÓÃÊä³ö´°¿Ú¡¿£¬ÔÚÎÒµÄVS2008ÖÐÊÇ»ÒÉ«²»¿ÉÑ¡µÄ£¬¾Íû¹ÜËüÁË¡£
3¡¢×öÍêstep3 ºó¾Í¿ÉÒÔÔÚVSÖÐÕý³£ä¯ÀÀ´ò¿ªÍøÒ³ÁË¡£
Ïà¹ØÎĵµ£º
ÔÚASP.NET MVC beta·¢²¼Ö®Ç°£¬M$¾ÍÐû²¼Ö§³Ö¿ªÔ´µÄJS¿ò¼ÜjQuery£¬È»ºóASP.NET MVC
beta·¢²¼ºó£¬Ä㽨Á¢Ò»¸öASP.NET MVC betaµÄÏîÄ¿ºó£¬Äã¿ÉÒÔÔÚÏîÄ¿µÄscriptsĿ¼ÏÂÕÒµ½ASP.NET
AJAXºÍjQueryµÄJS¡£·´ÕýÎÒÊDZȽÏϲ»¶jQueryµÄ£¬ËùÒÔ¶ÔÓÚM$´Ë¾Ù»¹ÊÇͦÐÀοµÄ¡£
·Ï»°²»¶à˵£¬ÎÒÃÇʹÓÃAJAXÀ´ÊµÏÖ·¢±íÆÀÂ۵ŦÄÜ°É¡£ÏÈÀ´¿´¿´ÔõÑ ......
---------------------------------------
Asp.Net,C#,SQL,JS,WCF,AJAX,¹¤×÷Á÷,WPF,MVC,LINQ,Éè¼Æģʽ(¼Ü¹¹)µÈ¼¼ÊõÌÖÂÛ
“ASP.NET(C#)Fans” QQȺ£º96877690
---------------------------------------
²»¹ÜÊÇJ2SE¡¢J2EE»¹ÊÇJ2ME¾´Çë¼ÓÈ룡Eclipse¡¢NetBeans
Java½»Á÷QQ¸ß¼¶ÈºÀ©ÕУº96878255 ......
±¾ÎÄʾÀýÔ´´úÂë»òËزÄÏÂÔØ
¡¡¡¡Ò».ÕªÒª
¡¡¡¡Ò»¸öUrlÇëÇó¾¹ýÁËRouting´¦Àíºó»áµ÷ÓÃControllerµÄAction·½·¨. ÖмäµÄ¹ý³ÌÊÇÔõÑùµÄ? Action·½·¨Öзµ»ØActionResult¶ÔÏóºó,ÈçºÎµ½´ïViewµÄ? ±¾ÎĽ«½²½âControllerµÄ»ù±¾Ó÷¨,¡¡ÉîÈë·ÖÎöControllerµÄÔËÐлúÖÆ, ²¢ÇÒÌṩÁË´´½¨ËùÓÐÀàÐÍActionµÄ´úÂë. ÖµµÃѧϰASP.NET MVCʱ²Î¿¼.
......
Ò».ÕªÒª
¡¡¡¡±¾ÆªÎÄÕ´ӻù´¡µ½ÉîÈëµÄ½éÉÜASP.NET MVCÖеÄRouting×é¼þ. Routing·Òë¹ýÀ´ÊÇ"·ÓÉÑ¡Ôñ", ¸ºÔðASP.NET MVCµÄµÚÒ»¸ö¹¤×÷:ʶ±ðURL, ½«Ò»¸öUrlÇëÇó"·ÓÉ"¸øController. ÓÉÓÚ½ñÌìÏÂÎç²Î¼ÓÁ˲©¿ÍÔ°±±¾©¾ãÀÖ²¿µÄ¾Û»á, ËùÒÔ±¾ÆªÎÄÕµÄÍ깤ʱ¼äÍíÁ˵ã, »¹ºÃÒ²ÊÇÔÚ½ñÌì·¢±í, ×ÜËã¶ÒÏÖÁË"ÿÈÕһƪ"µÄ³Ðŵ. ²»¾Ã¶¡Ñ§¾Í»á·¢ ......
1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£
protected : ±£»¤³ÉÔ±£¬¸ÃÀàÄÚ²¿ºÍ¼Ì³ÐÀàÖпÉÒÔ·ÃÎÊ¡£
public : ¹«¹²³ÉÔ±£¬ÍêÈ«¹«¿ª£¬Ã»ÓзÃÎÊÏÞÖÆ¡£
internal: ÔÚͬһÃüÃû¿Õ¼äÄÚ¿ÉÒÔ·ÃÎÊ¡£
2 .ÁоÙASP.NET Ò³ÃæÖ®¼ä´«µÝÖµµÄ¼¸ÖÖ·½Ê½¡£
´ ......