Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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×¢²á£¬Õâ¶ÔÐéÄâÖ÷»úÓû§·Ç³£·½±ã¡£


Ïà¹ØÎĵµ£º

ASP.NETÎļþÏÂÔغ¯ÊýʹÓÃ

 ASP.NETÎļþÏÂÔغ¯ÊýʹÓÃÊÇʲôÇé¿öÄØ£¿ÔÚÄãµÄPage_LoadÖÐÌí¼ÓÕâÑùµÄ´úÂë:
Page.Response.Clear();
bool success = ResponseFile(Page.Request, Page.Response, "Ä¿µÄÎļþÃû³Æ", @"Ô´Îļþ·¾¶", 1024000);
if (!success) Response.Write("ÏÂÔØÎļþ³ö´í£¡"); Page.Response.End();
ASP.NETÎļþÏÂÔغ¯Êý´úÂëΪ: ......

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

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

ASP.NET°²È«ÈÏÖ¤ ËÄ

——ÇÉÃîʵÏÖ Form ±íµ¥ÈÏÖ¤¿çÕ¾µã¡¢¿ç·þÎñÆ÷µÄµ¥µãµÇ¼£¨Single Sign On£©
×÷Õߣºº®Óð·ã(cityhunter172)
µÚËIJ¿·Ö Form ÈÏÖ¤µÄ²¹³ä
Ç°ÈýƪÔÚ CSDN ÂÛ̳¹«²¼ºó£¬Ð§¹ûÈçͬ“ÉñÏÉ·Åƨ——¹ûÈ»²»Í¬·²£¨·´£©Ï씡£Îª¸Ðл¹ã´óÍøÓѵÄÈÈÇéÓëÖ§³Ö£¬Õâ²»£¬¾­¹ýÕâÒ»Õó×ÓµÄÔÍÄð¡¢ÐÞÁ¶£¬ÌØÒâ×¼±¸ÁËÕâµ ......

ASP.NET ״̬·þÎñ ¼° session¶ªÊ§ÎÊÌâ½â¾ö·½°¸×ܽá

 
asp.net SessionµÄʵÏÖ£º
asp.netµÄSessionÊÇ»ùÓÚHttpModule¼¼Êõ×öµÄ£¬HttpModule¿ÉÒÔÔÚÇëÇó±»´¦Àí֮ǰ£¬¶ÔÇëÇó½øÐÐ״̬¿ØÖÆ£¬ÓÉÓÚSession±¾Éí¾ÍÊÇÓÃÀ´×ö״̬ά»¤µÄ£¬Òò´ËÓÃHttpModule×öSessionÊÇÔÙºÏÊʲ»¹ýÁË¡£
ASP.NETÖÐSessionµÄ״̬±£³Ö·½Ê½
ASP.NETÌṩÁËSession¶ÔÏ󣬴ӶøÔÊÐí³ÌÐòԱʶ±ð¡¢´æ´¢ºÍ´¦Àíͬһ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ