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

ASP.NET¶ÔÇëÇó´¦ÀíµÄ¹ý³Ì

ASP.NET¶ÔÇëÇó´¦ÀíµÄ¹ý³Ì
µ±ÇëÇóÒ»¸ö*.aspxÎļþµÄʱºò£¬Õâ¸öÇëÇó»á±»inetinfo.exe½ø³Ì½Ø»ñ£¬ËüÅжÏÎļþµÄºó׺£¨aspx£©Ö®ºó£¬½«Õâ¸öÇëÇóת½»¸ø ASPNET_ISAPI.dll£¬ASPNET_ISAPI.dll»áͨ¹ýhttp¹ÜµÀ£¨Http PipeLine£©½«ÇëÇó·¢Ë͸øASPNET_WP.exe½ø³Ì£¬ÔÚASPNET_WP.exe½ø³ÌÖÐͨ¹ýHttpRuntimeÀ´´¦ÀíÕâ¸öÇëÇ󣬴¦ÀíÍê±Ï½«½á¹û·µ»Ø¿Í»§¶Ë¡£
l         inetinfo.exe½ø³Ì£º
ÊÇwww·þÎñµÄ½ø³Ì£¬IIS·þÎñºÍASPNET_ISAPI.DLL¶¼¼Ä´æÔڴ˽ø³ÌÖС£
l         ASPNET_ISAPI.DLL£º
ÊÇ´¦Àí.aspxÎļþµÄwin32×é¼þ¡£ÆäʵIIS·þÎñÆ÷ÊÇÖ»ÄÜʶ±ð.htmlÎļþµÄ£¬µ±IIS·þÎñÆ÷·¢ÏÖ±»ÇëÇóµÄÎļþÊÇ.aspxÎļþʱ£¬IIS·þÎñÆ÷½«Æä½»¸øaspnet_isapi.dllÀ´´¦Àí¡£
l         aspnet_wp.exe½ø³Ì£º
ASP.NET¿ò¼Ü½ø³Ì£¬Ìṩ.netÔËÐеÄÍйܻ·¾³£¬.netµÄCLR(¹«¹²ÓïÑÔÔËÐÐʱ)¾ÍÊǼĴæÔڴ˽ø³ÌÖС£
 
ASP.NET Framework´¦ÀíÒ»¸öHttp RequestµÄÁ÷³Ì
    HttpRequest-->inetinfo.exe-->ASPNET_ISAPI.dll-->ASPNET_WP.exe-->HttpRuntime-->HttpApplication Factory-->HttpApplication-->HttpModule-->HttpHandler Factory-->HttpHandler-->HttpHandler.ProcessRequest()
 
ASP.NETÇëÇó´¦Àí¹ý³ÌÊÇ»ùÓڹܵÀÄ£Ð͵ģ¬Õâ¸ö¹ÜµÀÄ£ÐÍÊÇÓɶà¸öHttpModuleºÍHttpHandler×é³É£¬ASP.NET °ÑhttpÇëÇóÒÀ´Î´«µÝ¸ø¹ÜµÀÖи÷¸öHttpModule£¬×îÖÕ±»HttpHandler´¦Àí£¬´¦ÀíÍê³Éºó£¬Ôٴξ­¹ý¹ÜµÀÖеÄHTTPÄ£¿é£¬°Ñ½á¹û·µ»Ø¸ø¿Í»§¶Ë¡£ÎÒÃÇ¿ÉÒÔÔÚÿ¸öHttpModuleÖж¼¿ÉÒÔ¸ÉÔ¤ÇëÇóµÄ´¦Àí¹ý³Ì¡£
 
 
×¢Ò⣺ÔÚhttpÇëÇóµÄ´¦Àí¹ý³ÌÖУ¬Ö»Äܵ÷ÓÃÒ»¸öHttpHandler£¬µ«¿ÉÒÔµ÷Óöà¸öHttpModule¡£
µ±ÇëÇóµ½´ïHttpModuleµÄʱºò£¬ÏµÍ³»¹Ã»ÓжÔÕâ¸öÇëÇóÕæÕý´¦Àí£¬µ«ÊÇÎÒÃÇ¿ÉÒÔÔÚÕâ¸öÇëÇ󴫵ݵ½´¦ÀíÖÐÐÄ£¨HttpHandler£©Ö®Ç°¸½¼ÓһЩÆäËüÐÅÏ¢£¬»òÕ߽ػñµÄÕâ¸öÇëÇó²¢×÷һЩ¶îÍâµÄ¹¤×÷£¬Ò²»òÕßÖÕÖ¹ÇëÇóµÈ¡£ÔÚHttpHandler´¦ÀíÍêÇëÇóÖ®ºó£¬ÎÒÃÇ¿ÉÒÔÔÙÔÚÏàÓ¦µÄHttpModuleÖаÑÇëÇó´¦ÀíµÄ½á¹û½øÐÐÔٴμӹ¤·µ»Ø¿Í»§¶Ë¡£
 
HttpModule
    HTTPÄ£¿éÊÇʵÏÖÁËSystem.Web.IhttpModule½Ó¿ÚµÄÀà¡£
    IHttpModule½Ó¿ÚµÄÉùÃ÷£º
 
public interface IHttpModule  
{  
 &


Ïà¹ØÎĵµ£º

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀï ......

ASP.NET ASP.NET ÍøÒ³µÄ HTML ¿Ø¼þ


      ±¾½ÚÖеÄÖ÷ÌâÃèÊöÈçºÎʹÓà Visual Web Developer ¹¤¾ßÏäµÄ“HTML”Ñ¡ÏÉ쵀 ASP.NET Web ·þÎñÆ÷¿Ø¼þ¡£
ĬÈÏÇé¿öÏ£¬·þÎñÆ÷ÎÞ·¨Ê¹Óà ASP.NET ÍøÒ³É쵀 HTML ÔªËØ£»ÕâЩԪËر»ÊÓΪ´«µÝ¸øä¯ÀÀÆ÷µÄ²»Í¸Ã÷Îı¾¡£µ«ÊÇ£¬Í¨¹ý½« HTML ÔªËØת»»³É HTML ·þÎñÆ÷¿Ø¼þ£¬¿ÉÒÔ½«ËüÃǹ«¿ªÎª ......

ASP.NET ʾÀý AJAX Ó¦ÓóÌÐò


      ±¾½Ì³Ì´´½¨Ê¹Óà ASP.NET µÄ AJAX ¹¦ÄܵĻù±¾Ê¾ÀýÓ¦ÓóÌÐò¡£Äú¿ÉÒÔÁ˽⵽ÓÐ¹Ø ASP.NET µÄ AJAX ¹¦Äܵĸü¶àÐÅÏ¢£¬½«ÖªµÀÕâЩ¹¦ÄÜÖ¼ÔÚ½â¾öÄÄЩ¼¼ÊõÎÊÌ⣬ÒÔ¼°ÒÔϽéÉÜÐÔÎĵµ½«Éæ¼°ÄÄЩÖØÒªµÄ AJAX ×é¼þ£º
·ASP.NET AJAX Overview
·Ìí¼Ó AJAX ºÍ¿Í»§¶Ë¹¦ÄÜ
ÔÚ±¾½Ì³ÌÖУ¬Äú½« ......

ASP.NET 2.0»º´æ¼¼Êõ̽ÌÖ

±¾ÎĽéÉÜͨ¹ý»º´æÀ´Ìá¸ßÍøÒ³µÄÖ´ÐÐЧÂÊ¡£
¡¡¡¡1.¡¡¡¡¡¡¡¡¡¡¡¡ ASP.NET Output Caching
¡¡¡¡µ±Ò»¸öÍøҳƵ·±±»·ÃÎʵÄʱºò£¬ÎÒÃÇ¿ÉÒÔͨ¹ý°ÑÕû¸öÍøÒ³»º´æÀ´Ìá¸ßÖ´ÐÐЧÂÊ¡£ÕâÑù×÷µÄÓŵãÊÇ£¬µ±Óû§ÔٴηÃÎÊÕâ¸öÍøÒ³µÄʱºò£¬±»¸ñʽ»¯ºÃµÄHTML»á±»Ö±½ÓËÍÏÔ¡£
¡¡¡¡ÎªÊ²Ã´»á´æÔÚÕâÖÖЧ¹ûÄØ£¿ÎÒÃÇͨ¹ýASP.NETµÄ»ù±¾ÔËÐлúÖÆÀ´½âÊÍÕ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ