Èà ASP.Net MVC µÄURL¿´ÉÏÈ¥Ïñ¸ö´«Í³WebFormµÄURL
ÔÚIIS6Éϲ¿Êð¹ýASP.Net MVCµÄÒ»¶¨ÖªµÀ£¬ÎªÁËÄÜÈÃIIS½«¶ÔASP.Net MVCµÄÇëÇóת·¢¸øASP.Net´¦Àí£¬±ØÐëÌí¼ÓÓ¦ÓóÌÐòISAPIÓ³Éä¡£ ±ÜÃâÕâÖÖÓ³ÉäÌí¼ÓµÄÒ»ÖÖ·½·¨ÊÇÀûÓÃÒÑÓеÄÓ³É䣬ÀýÈç.aspxÀ©Õ¹ÃûµÄÓ³Éä¡£²»¹ýÄÇÑùµÄ»°ASP.Net MVCµÄUrl»áºÜ¡°ÄÑ¿´¡±£¬¡°http://localhost/ASPNETMVCAPP/Account.aspx/Logon/¡±¡£Èç¹ûÄÜ°ÑÆäÖеÄ.aspx·Åµ½ÉÏÃæUrlµÄ×îºó£¬¾Í»á¡°ºÃ¿´¡±ºÜ¶à£¬¡°http://localhost/ASPNETMVCAPP/Account/Logon/default.aspx¡±¡£¶øÇÒ¿´ÆðÀ´¸üÏñ¸ö´«Í³WebFormµÄURL¡£ ҪʵÏÖÕâÑùµÄ¹¦Äܲ¢²»ÄÑ¡£ÔÚUrl RouteÓ³ÉäʱGlobal.asax.csÖÐ×öÈçÏÂÉèÖü´¿É¡£ ÕâÊÇʵÏÖµÄUrlЧ¹û£º ÕâÊÇÔÚÓ¦ÓõÄdefault.aspx.csÖÐ×öµÄÐ޸ġ£ ÕâÑù×öµÄºÃ´¦ÊÇ£¬¿´ÉÏÈ¥Ïñ¸öWebFormÓÐÒ»¶¨µÄÆÛÆÐÔ£¬ÓÖ±£³ÖÁËURLµÄ¡°ÃÀ¹Û¡±£¬URLÖÐÖ¸µÄAspxÒ³Ãæ²¢²»Õæʵ´æÔÚ£¬Ò²ÐíÒ²»á¸ü°²È«Ò»Ð©¡£¶øÇÒ»¹¿ÉÒÔÃâÈ¥ÔÚIIS6ÖеÄISAPI×¢²á£¬Õâ¶ÔÐéÄâÖ÷»úÓû§·Ç³£·½±ã¡£
Ïà¹ØÎĵµ£º
string destFileName = "ok.txt";
destFileName = Server.MapPath(".") + "\\"+destFileName;
destFileName = Server.UrlDecode(destFileName);
&nbs ......
Ê×ÏȽ¨Á¢Ò»¸öc/s³ÌÐò ÔÚн¨µÄformÉϼÓÈëÒ»¸öä¯ÀÀÆ÷¿Ø¼þºÍÒ»¸öʱ¼ä¿Ø¼þä¯ÀÀÆ÷¿Ø¼þÄÜתÏòÄãÒªÖ´ÐеÄÒ³Ãæ¶øʱ¼ä¿Ø¼þ¿ØÖƶàÉÙʱ¼äºó¹Ø±ÕÄãÒªÖ´ÐеÄÒ³ÃæÈ»ºóÉèÖÃformµÄvisibleΪfalse formµÄ״̬Ϊ×îС»¯ Ä¿µÄÊǽ«Õû¸öÖ´ÐеÄÒ³Ãæ³ÌÐò°üÔÚformµÄä¯ÀÀÆ÷¿Ø¼þÖÐÖ´Ðжøform»á±»Òþ²Ø ÕâÑù×öÉñ²»Öª¹í²»¾õ¡£×îºóÓÃwindowsµÄ¼Æ»®ÈÎÎñÿÌì ......
תÌù×Ô http://wuxiong8665.blog.163.com/blog/static/93512200991811400157/
¸ÅÀÀ£º
Îļþ¼ÐÃû³Æ
ÎļþÀàÐÍ
×¢ ÊÍ
Bin
.dll
°üº¬Ó¦ÓóÌÐòËùÐèµÄÈκÎÔ¤Éú³ÉµÄ³ÌÐò¼¯
App_Browsers
&n ......
1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯¡¡
¡¡
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ ......
ÎåÖÖ³£¼ûµÄASP.NET°²È«È±ÏÝ
±£Ö¤Ó¦ÓóÌÐòµÄ°²È«Ó¦µ±´Ó±àдµÚÒ»ÐдúÂëµÄʱºò¿ªÊ¼×öÆð£¬ÔÒòºÜ¼òµ¥£¬Ëæ×ÅÓ¦ÓùæÄ£µÄ·¢Õ¹£¬ÐÞ²¹°²È«Â©¶´ËùÐèµÄ´ú¼ÛÒ²ËæÖ®¿ìËÙÔö³¤¡£¸ù¾ÝIBMµÄϵͳ¿ÆѧлᣨSystems Sciences Institute£©µÄÑо¿£¬Èç¹ûµÈµ½Èí¼þ²¿ÊðÖ®ºóÔÙÀ´ÐÞ²¹È±ÏÝ£¬Æä´ú¼ÛÏ൱ÓÚ¿ª·¢ÆÚ¼ä¼ì²âºÍÏû³ýȱÏݵÄ15±¶¡£
¡¡¡¡Î ......