ASP.NETÒ³ÃæÔËÐлúÖÆÒÔ¼°ÇëÇó´¦ÀíÁ÷³Ì
IIS´¦ÀíÒ³ÃæµÄÔËÐлúÖÆ£º
IIS×ÔÉíÊDz»ÄÜ´¦ÀíÏñASPXÀ©Õ¹ÃûÕâÑùµÄÒ³Ã棬ֻÄÜÖ±½ÓÇëÇóÏñHTMLÕâÑùµÄ¾²Ì¬Îļþ£¬Ö®ËùÒÔÄÜ´¦ÀíASPXÕâÑùÀ©Õ¹ÃûµÄÒ³Ã棬ÊÇÒòΪIISÓÐÒ»¸öISAPI¹ýÂËÆ÷£¬ËüÊÇÒ»¸öCOM×é¼þ¡£ASP.NET·þÎñÔÚ×¢²áµ½IISµÄʱºò£¬¾Í»áÌí¼ÓÒ»¸öWin32µÄÀ©Õ¹¶¯Ì¬¿âaspnet_isapi.dll¡£²¢½«À©Õ¹¿ÉÒÔ´¦ÀíµÄÒ³ÃæÀ©Õ¹Ãû£¨ÈçASPX£©×¢²áµ½IISÀïÃæ¡£À©Õ¹Æô¶¯ºó£¬¾Í¸ù¾Ý¶¨ÒåºÃµÄ·½Ê½À´´¦ÀíIISËù²»ÄÜ´¦ÀíµÄÒ³Ãæ¡£
µ±¿Í»§¶ËÇëÇóÒ»¸ö·þÎñÆ÷×ÊԴʱ£¬Õâ¸öHTTPÇëÇó»á±»inetinfo.exe½ø³Ì½Ø»ñ£¨www·þÎñ£©£¬È»ºóCheckÇëÇó×ÊÔ´µÄÀàÐÍ£¬²¢ÒÀ¾Ý×ÊÔ´Ó³ÉäÐÅÏ¢£¨´æ´¢ÔÚIISÔª¿âÖУ¬Ò»ÖÖIISרÓõÄÅäÖÃÊý¾Ý¿â£©½«ÇëÇóµÄ×ÊÔ´·ÖÅä¸øÌض¨µÄ´¦Àí³ÌÐòÄ£¿é¡£ÈôÇëÇóµÄÊǾ²Ì¬×ÊÔ´£¨img,text,htmlµÈ£©ÔòÓÉIIS´¦Àí£¨IISÔÚ±¾µØWeb ServerÉÏ·ÃÎÊÇëÇóµÄÎļþ£©£¬½«ÄÚÈÝÊä³öµ½¿ØÖÆ̨£¬·¢³öÇëÇóµÄä¯ÀÀÆ÷¾ÍÄܽÓÊÕµ½ËüÁË¡£ÈôÐèÒªÔÚ·þÎñÆ÷¶Ë´¦ÀíµÄÇëÇó£¬Ôò»á±»´«µ½ÒÑ×¢²áµÄÀ©Õ¹Ä£¿éÖУ¬aspxÇëÇó»á±»·ÖÅä¸øaspnet_isapi.dll£¬ÈÃÕâ¸ö³ÌÐò¿ªÊ¼´¦Àí´úÂ룬Éú³É±ê×¼µÄHTML´úÂ룬Ȼºó½«ÕâЩHTML¼ÓÈëµ½ÔÓеÄHTMLÖУ¬×îºó°ÑÍêÕûµÄHTML·µ»Ø¸øIIS£¬IISÔÙ°ÑÄÚÈÝ·¢Ë͵½¿Í»§ä¯ÀÀÆ÷¡£
ASP.NET FrameWork¶ÔÇëÇóµÄ´¦Àí£º
ÉÏÃæ˵µ½IIS½«ÏñASPXÕâÑùµÄÒ³Ãæ·ÖÅä¸øaspnet_isapi.dll£¬½Ó×Å´¦ÀíÈçÏ£º
1¡¢aspnet_isapi.dllÔò»áͨ¹ýÒ»¸öHttp PipeLineµÄ¹ÜµÀ½«Õâ¸öHttpÇëÇ󷢸øw3wp.exe£¨iis ¹¤×÷Õß½ø³Ì£¬IIS6.0ÖнÐ×ö w3wq.exe£¬IIS5.0ÖнÐ×ö aspnet_wp.exe)£¬Ö®ºóasp.net framework¾Í»áͨ¹ýHttpRuntimeÀ´´¦ÀíÕâ¸öHttpÇëÇó¡£
2¡¢HttpRuntimeÊ×ÏÈ»áÈ·¶¨´¦Àí¸ÃÇëÇóµÄÀàÃû£¬HttpRuntimeͨ¹ý¹«¹²½Ó¿ÚIHttpHandlerÀ´µ÷ÓøÃÀà»ñÈ¡±»ÇëÇó×ÊÔ´µÄÀàµÄʵÀý¡£
3¡¢µ÷ÓÃHttpRuntime.ProcessRequest¿ªÊ¼´¦ÀíÒª·¢Ë͵½ä¯ÀÀÆ÷µÄÒ³Ã棬¾ßÌå˵¾ÍÊÇ´´½¨Ò»¸öHttpContextʵÀý£¬Ëü·â×°ÁËËùÓÐÓëÇëÇóÓйصÄhttpÌØÓеÄÐÅÏ¢£¬²¢³õʼ»¯Ò»¸öWrite¶ÔÏóÓÃÓÚ»º´æ±ê¼Ç´úÂë¡£
4¡¢HttpRuntimeʹÓÃÉÏÏÂÎÄÐÅÏ¢²éÕÒ»òн¨ÄÜ´¦Àí¸ÃÇëÇóµÄWEBÓ¦ÓóÌÐòµÄ¶ÔÏó¡£ÓÉHttpApplication Factory¸ºÔð·µ»ØHttpApplicationʵÀý¡£
5¡¢HttpApplicationʵÀý»á¶ÁÈ¡web.configÖÐËùÓÐHttpModuleµÄÅäÖá£
5¡¢HttpApplication¶ÔÏóʹÓÃIHttpHandlerFactoryÀàÐ͵ÄʵÀý·µ»ØHttpHandler£¨http´¦Àí³ÌÐò£©¸øHttpRuntime¶ÔÏó¡£Ò»¸öÒ³ÃæÖ»ÊǸöhttp´¦Àí³ÌÐò¶ÔÏó¡£
6¡¢×îºóÓÉHttpRuntime¶ÔÏóµ÷ÓÃIHttpHandlerµÄÒ³Ãæ¶ÔÏóµÄProcessRequest·½·¨¡£
from http://space.itpub.net/12639
Ïà¹ØÎĵµ£º
ValidationSummary:¸Ã¿Õ¼äµÄ×÷ÓÃÊÇ°ÑËùÓÐÑéÖ¤´íÎóµÄÁбíÏÔʾÔÚÒ³ÃæµÄͬһ¸öµØ·½¡£
ÊôÐÔ£ºDisplayMode:ÏÔʾ´íÎóÐÅÏ¢µÄ·½Ê½£ºBulletList·ÅÔÚ<ul><li></li></ul>ÀList·ÅÔÚ<div>´íÎó1<br/>´íÎó2</div>ÖУ¬²»Í¬ÐÅϢʹÓÃ<br/>¸ô¿ª£»SingleParagraph·ÅÔÚ<div>& ......
¹ÛÆä´óÂÔ£º
1.
Asp.netÊÇÒÀ´æÓÚ IISµÄÒ»¸ö·þÎñ£¬Ëµµ½ Asp.netµÄ°²È«Ïà¹ØµÄ»°Ì⵱ȻҪÓÐÒ»¸öÕûÌåÉϵÄ˼·£º IIS½ÓÊÕ —¡· IISÑéÖ¤ —¡· IISÊÚȨ ---¡· ASP.netÑéÖ¤ ---¡· Asp.netÊÚȨ ---¡·×ÊÔ´·µ»Ø¸øÓû§
IIS´ÓÍøÂçÉϽÓÊÕµ½Ò»¸ö HTTP WEBÇëÇó¿ÉÒÔʹÓà SSL¼¼ÊõÀ´±£Ö¤·þÎñÆ÷µÄÉí·Ý£¬´ËÍâ SSLÒ²¿ÉÒÔÌṩһ¸ö°²È ......
ÓÐЩwebÓ¦ÓÃÔÚ¿ÉÒÔ´¦ÀíÓû§·ÃÎÊ֮ǰ£¬ÐèҪװÔغܶàµÄÊý¾Ý£¬»ò×öһЩ»¨·ÑºÜ´óµÄ³õʼ»¯´¦Àí¡£½ñÌìʹÓà ASP.NET µÄ¿ª·¢ÈËÔ±¾³£Ê¹ÓÃÓ¦ÓõÄGlobal.asax ÎļþÖÐµÄ “Application_Start”ʼþ´¦Àíº¯ÊýÀ´×öÕâЩ¹¤×÷£¨¸ÃʼþÊÇÔÚµÚÒ»¸öÇëÇóÖ´ÐÐʱ´¥·¢µÄ£©¡£ËûÃÇҪôÉè¼Æ¶¨Öƽű¾£¬ÖÜÆÚÐÔµØÏòÓ¦Ó÷¢¼ÙµÄÇëÇó£¬À´“»½Ð ......
½øÈ¥º®¼Ù£¬ÓÉÓÚÒ»¸ö»ë»ëججµÄѧÆÚ½áÊøÁË£¬²»ÏëÁî×Ô¼º¼ÌÐø³ÁÄçÔÚÄÇ»èÌìºÚµØÖ®ÖУ¬ÓÚÊÇÈ¥Library½èÁËÒ»±¾ºÜºñºÜÖصÄC# ASP.NETµÄÊ飬¸½¹âÅÌ¡£ÓÐȤµÄ£¬ÎÒÓÃÀúÀ´Ñ§Ï°¿Î±¾ÖªÊ¶µÄ·ÅѧѧϰC#ºÍÊìϤVS»·¾³£¬»¹×öÁ˲»ÉÙ¶ÁÊé±Ê¼Ç£¬°¥£¬ÕæµÄûÄǸö±ØÒª°¡£¬²»¹ý¿´ÁË1-2ÖÜÖ®ºó£¬¶ÔÓÚ·þÎñÆ÷¶Ë¿Ø¼þµÄÈ·ÊÇÊìϤ²»ÉÙ£¬¶ÔÓڱ߽߱ŽŵÄһЩҳÃæ ......