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

asp.net mvc 2.0²¿Êð

IIS 7
IIS7×ÔÉíÓжÔMVCµÄÖ§³Ö£¬²¿Êð·½·¨Í¬ÆäËûweb application»ù±¾Ïàͬ£¬ÐèҪעÒâµÄÊÇ£¬mvc 2.0 applicationÔÚHandler MappingsÀïÃæ»áÓÐMvcHttpHandler£¬Èçͼ£º
ÎÒʹÓõÄÊÇ.net 4.0£¬ÎÒ¿´ÁËÆäËû.net 2.0 µÄweb appliationϵÄHandler Mappings¶¼Ã»ÓÐÕâ¸öhandler maping¡£
×¢Ò⣺.net 3.5ÒÔÏ£¨°üÀ¨£©µÄweb application pool¶¼ÊÇ.net 2.0°æ±¾µÄ£¬µ±È»¿ÉÄÜ»¹°üÀ¨.net 1.0»ò.net 1.1°æ±¾¡£µ«ÔÚ.net 4.0Ï£¬ÌṩÁËasp.net 4.0£¬Òò´ËʹÓÃ.net 4.0µÄweb applicationÆäapplication poolºÜÓпÉÄÜÐèÒª.net 4.0»·¾³¡£
Äã¿ÉÒÔͨ¹ý²é¿´Ó¦ÓóÌÐò³ØÀ´²é¿´ÔËÐеÄÊÇ.net 2.0»¹ÊÇ.net 4.0¡£
ÔÚ²¿Êðmvc 2.0 applicationʱ£¬Èç¹ûÄãʹÓõÄÊÇ.net 4.0¿ª·¢µÄ£¬ÆäËùÔÚapplication pool±ØÐëÊÇ.net 4.0µÄ£¬²¢ÇÒmanaged pipeline modeΪintegrated¡£
IIS 6²¿Êð
IIS6µÄ²¿Êð»á±ÈIIS7Â鷳һЩ£¬ÎÒÒÔÎÒµÄʵ¼Ê²¿Êð¹ý³ÌÀ´½²°É£¬µ±È»¸Õ¿ªÊ¼Ò²³öÏÖ404»ò·þÎñÆ÷´íÎóµÈÎÊÌ⣬²»¹ýºÃÔÚ×îºó¶¼½â¾öÁË£¬ÏÂÃæÊÇÕýÈ·µÄ²¿Êð·½Ê½¡£
ÎÒÊÇÔÚ.net 4.0»·¾³Ï£¬Ê¹ÓÃVS 2010¿ª·¢µÄ£¬ÐèÒª²¿Êðµ½window server 2003ÉÏ(IIS6)¡£Ô­ÏµÍ³×°µÄÊÇ.net 3.5µÄ£¬Òò´Ë´ÓÎҵĻúÆ÷ÉÏVSµÄ°²×°°üĿ¼VS2010Ultimate_RC1\WCU\dotNetFrameworkϵÄ.net 4.0»·¾³dotNetFx40_Full_x86_x64.exe¿½±´µ½·þÎñÆ÷£¬È»ºó°²×°¡£
MVC 2.0ÊDz»°üº¬ÔÚ.net 4.0ÀïÃæµÄ£¬Òò´ËÐèÒªÊÖ¶¯ÏÂÔØ°²×°£¨ÆäʵÖ÷ÒªÊÇSystem.Web.Mvc.dllÎļþ£©£¬ÎҵĻúÆ÷ÉÏÖ±½Ó×°µÄvs 2010ËùÓж¼°üº¬ÔÚÀïÃæÁË¡£ÎÒûÓÐÔÚ·þÎñÆ÷ÉÏ°²×°mvc 2.0£¬¶øÊDzÉÓÃÁ˓˽Óв¿Ê𔣬һ°ãweb applicationÌí¼ÓµÄ.net»·¾³ÏµÄdllʱ£¬Èçsystem.dllµÈ£¬µ±ÄãÔÚ·¢²¼Ê±£¬ÕâЩdllÊDz»»á¿½±´µ½·¢²¼ºóµÄbinĿ¼µÄ£¬Òò´ËÎÒʹÓÓ˽Óв¿Ê𔣬½«ÕâЩdllÎļþ£¬°üÀ¨System.Web.MVC.dllÎļþÒѾ­·¢²¼µ½binĿ¼Ï£¬ÕâÑùÓ¦ÓóÌÐòÔËÐÐʱÔÚGACÖÐÕÒ²»µ½Õâ¸ödllµÄʱºò¾Í¿ÉÒÔÔÚbinÖÐÕÒµ½ÁË¡£ÄãÐèÒª×öµÄ¾ÍÊÇ£¬ÔÚÒýÓõēCopy local”ÊôÐÔÉèΪ“true”¼´¿É¡£µ±È»Èç¹ûÄã²»ÏÓÂé·³Ò²¿ÉÒÔÊÖ¶¯´ÓGACÖн«ÕâЩDLLÎļþ¿½±´µ½·¢²¼ºóµÄbinĿ¼Ï¡£ÆäʵÕâ»°System.web.extension.dll²î²»¶à£¬Èç¹ûÓ¦ÓóÌÐòûÓÐ×°asp.net ajaxʱҲÐèÒª½«Õâ¸ödll¿½±´µ½binĿ¼¡£
ÏÂÃæ¾ÍÊÇÔÚ·þÎñÆ÷ÉÏ´´½¨Õ¾µãÁË£¬Õ¾µãµÄ´´½¨ºÍÆäËû.net 2.0 web applicationÒ»Ñù£¬²î±ðÔÚÓÚÅäÖúÍasp.net»·¾³ÉÏ¡£
µã»÷“ÅäÖÔ°´Å¥£¬ÔÚ“Ó³Éä”Ñ¡ÏÖеēͨÅä·ûÓ¦ÓóÌÐòÓ³É䔵ã»÷


Ïà¹ØÎĵµ£º

ÔÚASP.NET AJAXÖзÀÖ¹Óû§¶à´ÎÌá½»Ò³Ãæ

ÔÚWeb¿ª·¢³ÌÐòÖУ¬ÍùÍùÓÉÓÚÖÖÖÖÔ­Òò£¬¿Í»§»á¶à´Î²Ù×÷Ò³Ãæµ¼ÖÂÊý¾ÝÈßÓà»ò²»Ò»Ö£¬ ÔÚASP.NET AJAX³öÏÖ֮ǰ¿ÉÒÔͨ¹ý¶Ô__dopostback()µÄµ÷Óõȷ½·¨Ò²¿ÉÒÔ·ÀÖ¹Ò³Ãæ¶à´ÎÌá½»¡£
ÔÚASP.NET AJAXÖеÄÒ³Ãæ¿Í»§¶ËÖÐÓÐÒ»¸ö½ÐonInitializeRequestµÄʼþ£¬ËüÔÚÒ³Ãæ³õʼ»¯Ö®Ç°´¥·¢£¬¿ÉÒÔ¶ÔÒ³ÃæµÄÌύʼþ½øÐпØÖÆ£¬²¢ÇÒ¿ÉÒÔµ÷ÓøÃʼþ²Î ......

asp.net,c#,vb,vbs,js¸÷¸öÓïÑÔµÄÓÊÏä·¢ËÍÔ´´úÂë

·¢ËͶËÒÔ163ΪÀý
Ò»¡¢asp.net°æ   using System.Web.Mail; //ÃüÃû¿Õ¼äÒýÓà
c#
        MailMessage mail = new MailMessage();
        mail.To = "shadow103@qq.com";  //½ÓÊÜÈ˵ÄÓÊÏä
     & ......

asp.net ajaxÖÐÎÄÂÒÂëµÄ½â¾ö£¿2010 01 19 12:06

asp.net ajaxÖÐÎÄÂÒÂëµÄ½â¾ö£¿
2010-01-19 12:06
ÒÔǰûÔõô×ÐϸµÄÑо¿¹ýajax,Ö»ÊÇÓõ½Á˾ÍÖ±½ÓÄùýÀ´ÓÃ,·¢ÏÖÁËÎÊÌâÔÙÕÒ½â¾ö·½·¨.ÒÔÏÂÊÇÎÒÔÚÕÒ½â¾öÎÊÌâµÄ¹ý³ÌÖеÄÒ»µãССµÄ×ܽá.
Ò».̸AjaxµÄGetºÍPostµÄÇø±ð
   Get·½Ê½:
   ÓÃget·½Ê½¿É´«Ëͼòµ¥Êý¾Ý£¬µ«´óСһ°ãÏÞÖÆÔÚ1KBÏ£¬Êý¾Ý×·¼Óµ½urlÖз¢Ë ......

ASP.NET 2.0ÖÐʵÏÖÄ£°åÖеÄÊý¾Ý°ó¶¨

Ä£°å»¯µÄÊý¾Ý°ó¶¨¿Ø¼þΪÎÒÃÇÔÚÒ³ÃæÉÏÏÔʾÊý¾ÝÌṩÁ˸ù±¾µÄÁé»îÐÔ¡£Äã¿ÉÄÜ»¹¼ÇµÃASP.NET v1.xÖеļ¸¸öÄ£°å»¯¿Ø¼þ£¨ÀýÈçDataListºÍRepeater¿Ø¼þ£©¡£ASP.NET 2.0ÈÔȻ֧³ÖÕâЩ¿Ø¼þ£¬µ«ÔÚÄ£°åÖаó¶¨Êý¾ÝµÄÓï·¨ÒѾ­±»¼ò»¯ºÍ¸ÄÉÆÁË¡£±¾ÎĽ«ÌÖÂÛÔÚÊý¾Ý°ó¶¨¿Ø¼þÄ£°åÖаó¶¨Êý¾ÝµÄ¶àÖÖ·½·¨¡£
Êý¾Ý°ó¶¨±í´ïʽ
ASP.NET 2.0¸ÄÉÆÁËÄ£°åÖÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ