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

Èà 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×¢²á£¬Õâ¶ÔÐéÄâÖ÷»úÓû§·Ç³£·½±ã¡£


Ïà¹ØÎĵµ£º

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 Óû§½çÃæÖпÉÓÃÐÔµÄÎÊÌâ
¼Ü¹¹µÄ¸´ÔÓÐԺͷ ......

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

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

ASP.NET°²È«ÈÏÖ¤ ¶þ

——Áé»îÔËÓà Form ±íµ¥ÈÏÖ¤ÖÐµÄ deny Óë allow ¼°±£»¤ .htm µÈÎļþ
×÷Õߣºº®Óð·ã(cityhunter172)
µÚ¶þ²¿·Ö Form ÈÏÖ¤µÄʵսÔËÓà
»°ËµÉϻأ¬¼òµ¥µØ˵ÁËһϠForm ±íµ¥ÈÏÖ¤µÄÓ÷¨¡£»òÐí´ó¼Ò¾õµÃÌ«¼òµ¥£¬¶ÔÄÇЩ´óÄÚ¸ßÊÖÀ´ËµÓ¦¸ÃÊÇ“È÷È÷Ë®À²”“С Kiss À²£¨Ð¡Òâ˼£©”¡£½ñÌìÔÛÃÇÀ´µã ......

ASP.NETÖÐServer.MapPathµÄ¼¸ÖÖÓ÷¨

 1.Server.MapPath("/") //Ó¦ÓóÌÐò¸ùĿ¼ËùÔÚµÄλÖà Èç C:\Inetpub\wwwroot\
2.Server.MapPath("./") //±íʾËùÔÚÒ³ÃæµÄµ±Ç°Ä¿Â¼
//×¢£ºµÈ¼ÛÓÚServer.MapPath("") ·µ»Ø Server.MapPath("")ËùÔÚÒ³ÃæµÄ//ÎïÀíÎļþ·¾¶
3.Server.MapPath("../")//±íʾÉÏÒ»¼¶Ä¿Â¼
4.Server.MapPath("~/../");//±íʾ±¾ÎļþËùÔÚÎļþ¼ ......

¶ÔASP¡¢JSP¡¢PHP¡¢ASP.NET½øÐÐʵ¼ÊÓ¦ÓÃ%ͳ¼Æ

 ¡¡¡¡¸÷´óÍøÂç±à³ÌÓïÑÔµÄ10Äê·ÜÕ½£¬¸÷ÓÐËù³¤¡¢¸÷ÁìǧÇï¡£½ñÈÕ¶ÔÓÚÎÒÃǵÄÍøÕ¾±à³ÌÓïÑÔ:ASP¡¢JSP¡¢PHP¡¢ASP.NET½øÐÐʵ¼ÊÓ¦ÓÃͳ¼Æ:
¡¡¡¡ASP:50%
¡¡¡¡JSP:10%
¡¡¡¡PHP:20%
¡¡¡¡ASP.NET:20%
¡¡¡¡¸ù¾ÝÒÔÉÏͳ¼ÆÀ´×öÒ»ÏÂÌÖÂÛ¡£ASP¼¼ÊõÈç½ñÌì¿ÉÒÔ˵ÒѳÉΪ¹ýÈ¥£¬µ«ÈÔÕ¼Êг¡µÄ50%£¬ÒòΪµ±Ê±ASP¼¼ÊõµÄÐËÆ𣬶Դ󲿷ֱà³Ì ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ