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

¸÷°æ±¾IISÏÂASP.netÇëÇó´¦Àí¹ý³Ì

ASP.NETÊÇÒ»¸ö·Ç³£Ç¿´óµÄ¹¹½¨WebÓ¦ÓõÄƽ̨£¬ËüÌṩÁ˼«´óµÄÁé»îÐÔºÍÄÜÁ¦ÒÔÖÂÓÚ¿ÉÒÔÓÃËüÀ´¹¹½¨ËùÓÐÀàÐ͵ÄWebÓ¦Óá£
¾ø´ó¶àÊýµÄÈËÖ»ÊìϤ¸ß²ãµÄ¿ò¼ÜÈ磺 WebForms ºÍ WebServices --ÕâЩ¶¼ÔÚASP.NET²ã´Î½á¹¹ÔÚ×î¸ß²ã¡£
ÕâƪÎÄÕµÄ×ÊÁÏÊÕ¼¯ÕûÀí×Ô¸÷ÖÖ΢Èí¹«¿ªµÄÎĵµ£¬Í¨¹ý±È½Ï IIS5¡¢IIS6¡¢IIS7 ÕâÈý´ú IIS ¶ÔÇëÇóµÄ´¦Àí¹ý³Ì£¬ ÈÃÎÒÃÇÊìϤ ASP.NETµÄµ×²ã»úÖÆ ²¢¶ÔÇëÇó(request)ÊÇÔõô´ÓWeb·þÎñÆ÷´«Ë͵½ASP.NETÔËÐÐʱÓÐËùÁ˽⡣ͨ¹ý¶Ôµ×²ã»úÖƵÄÁ˽⣬¿ÉÒÔÈÃÎÒÃÇ¶Ô ASP.net ÓиüÉîµÄÀí½â¡£
IIS 5 µÄ ASP.net ÇëÇó´¦Àí¹ý³Ì
¶ÔͼµÄ½âÊÍ£º
IIS 5.x Ò»¸öÏÔÖøµÄÌØÕ÷¾ÍÊÇ Web Server ºÍÕæÕýµÄ ASP.NET Application µÄ·ÖÀë¡£×÷Ϊ Web Server µÄIISÔËÐÐÔÚÒ»¸öÃûΪ InetInfo.exe µÄ½ø³ÌÉÏ£¬InetInfo.exe ÊÇÒ»¸öNative Executive£¬²¢²»ÊÇÒ»¸öÍйܵijÌÐò£¬¶øÎÒÃÇÕæÕýµÄ ASP.NET Application ÔòÊÇÔËÐÐÔÚÒ»¸ö½Ð×ö aspnet_wp µÄ Worker Process ÉÏÃ棬Ôڸýø³Ì³õʼ»¯µÄʱºò»á¼ÓÔØCLR£¬ËùÒÔÕâÊÇÒ»¸öÍйܵĻ·¾³¡£
ISAPI£º  Ö¸Äܹ»´¦Àí¸÷ÖÖºó׺ÃûµÄÓ¦ÓóÌÐò¡£ ISAPI ÊÇÏÂÃæµ¥´ÊµÄ¼òд £ºInternet Server Application Programe Interface£¬»¥ÁªÍø·þÎñÆ÷Ó¦ÓóÌÐò½Ó¿Ú¡£
IIS 5 ģʽµÄÌص㣺
Ê×ÏÈ£¬Í¬Ò»Ì¨Ö÷»úÉÏÔÚͬһʱ¼äÖ»ÄÜÔËÐÐÒ»¸ö aspnet_wp ½ø³Ì£¬Ã¿¸ö»ùÓÚÐéÄâĿ¼µÄ ASP.NET Application ¶ÔÓ¦Ò»¸ö Application Domain £¬Ò²¾ÍÊÇ˵ÿ¸ö Application ¶¼ÔËÐÐÔÚͬһ¸ö Worker Process ÖУ¬ApplicationÖ®¼äµÄ¸ôÀëÊÇ»ùÓÚ Application Domain µÄ£¬¶ø²»ÊÇ»ùÓÚProcessµÄ¡£
Æä´Î£¬ASP.NET  ISAPI ²»µ«¸ºÔð´´½¨ aspnet_wp Worker Process£¬¶øÇÒ¸ºÔð¼à¿Ø¸Ã½ø³Ì£¬Èç¹û¼ì²âµ½ aspnet_wp µÄ Performance ½µµÍµ½Ä³¸öÉ趨µÄÏÂÏÞ£¬ASP.NET  ISAPI »á¸ºÔð½áÊøµô¸Ã½ø³Ì¡£µ± aspnet_wp ½áÊøµôÖ®ºó£¬ºóÐøµÄ Request »áµ¼ÖÂASP.NET ISAPI ÖØд´½¨Ð嵀 aspnet_wp Worker Process¡£
×îºó£¬ÓÉÓÚ IIS ºÍ Application ÔËÐÐÔÚËûÃǸ÷×ԵĽø³ÌÖУ¬ËûÃÇÖ®¼äµÄͨÐűØÐë²ÉÓÃÌض¨µÄͨÐÅ»úÖÆ¡£±¾ÖÊÉÏ IIS ËùÔÚµÄ InetInfo ½ø³ÌºÍ Worker Process Ö®¼äµÄͨÐÅÊÇͬһ̨»úÆ÷²»Í¬½ø³ÌµÄͨÐÅ£¨local interprocess communications£©£¬´¦ÓÚPerformanceµÄ¿¼ÂÇ£¬ËûÃÇÖ®¼ä²ÉÓûùÓÚNamed pipeµÄͨÐÅ»úÖÆ¡£ASP.NET ISAPIºÍWorker ProcessÖ®¼äµÄͨÐÅͨ¹ýËûÃÇÖ®¼äµÄÒ»×éPipeʵÏÖ¡£Í¬Ñù´¦ÓÚPerformanceµÄÔ­Òò£¬ASP.NET ISAPI ͨ¹ýÒì²½µÄ·½Ê½½«Request ´«µ½Worker Process ²¢»ñµÃ Response£¬µ«ÊÇ W


Ïà¹ØÎĵµ£º

Asp.net MVC2ѧϰ±Ê¼Ç5 ¼òµ¥ÊµÀý(Movie)(ÉÏ)


Ç°Ãæ¶Ôroute¡¢controller¡¢view ÒѾ­ÓÐÁË»ù±¾µÄÁ˽⣬½ñÌìÎÒÃǾÍÀ´Ò»¸ö¼òµ¥µÄʵÀý -- Movie
¿ªÊ¼Ö®Ç°£¬¼òµ¥ËµÒ»Ï model(Ä£ÐÍ)£¬ÏàÐÅ´ó¼Ò×ö·Ö²ã¿ª·¢µÄʱºòÒ»¶¨ÓùýËü£¬MVCµÄmodelºÍËûÒ»Ñù£¬
ÿһ¸ömodel ¶ÔÓ¦Êý¾Ý¿âÒ»ÕÅ±í£¬ÕâÑùÎÒÃǾÍÊÇÓÃmodelµÄÊôÐÔ·ÃÎʱíÖÐÿһÐмǼµÄijһÁÐÖµ¡£
mvcÖÐÄã¿ÉÒÔ×Ô¼ºÐ´model£¬Ò²¿ÉÒÔʹ ......

ASP.NETÖеÄEval£¨£©ºÍDataBinder.Eval£¨£©·½·¨

ASP.NETÖеÄEval£¨£©ºÍDataBinder.Eval£¨£©·½·¨
2009-12-12 17:55
Eval( " ")ºÍBind( " ")¡¡ÕâÁ½ÖÖÒ»¸öµ¥Ïò°ó¶¨£¬Ò»¸öË«Ïò°ó¶¨
bindÊÇË«Ïò°ó¶¨,µ«ÐèÊý¾ÝÔ´¿É¸ü¸Ä²ÅÄÜÓÃ
ASP.NET 2.0¸ÄÉÆÁËÄ£°åÖеÄÊý¾Ý°ó¶¨²Ù×÷£¬°Ñv1.xÖеÄÊý¾Ý°ó¶¨Óï·¨DataBinder.Eval(Container.DataItem, fieldname)¼ò»¯ÎªEval(fieldname)¡£Eval·½· ......

ASP.NETÖÐÑéÖ¤¿Ø¼þµÄʹÓÃ


Ç°ÑÔ£º
    Ç°¼¸ÈÕ£¬ÎÞÄÎÓÃJSÅжϿؼþµÄÓÐЧÐÔ£¬·¢ÏÖµÄÈ·ÊÇÒ»¼þ·ÑÁ¦¡¢·ÑÉñµÄÊÂÇ飡ÌرðÊÇÕë¶ÔÓʼþ¸ñʽ¡¢ÓÊÕþ±àÂëµÈµÄ¹ØÓÚÕýÔò±í´ïʽµÄJSÑéÖ¤£¨ÆäÖÐÉæ¼°ÕýÔò±í´ïʽµÄ±È½ÏµÈ£¬½Ï·³~£©¡£Æäʵ¶ÔÓÚÕâЩ³£ÓõĿؼþÓÐЧÐÔÑéÖ¤£¬ÔÚAsp.NetÖÐÓе¥¶ÀµÄÑéÖ¤¿Ø¼þ¿É¹©Ê¹Óá£ËûÃÇ¿ÉÒÔÂú×ãÒ»°ãµÄ£¬ÖîÈç·Ç¿Õ£¬·¶Î§¡¢±È½ÏµÈµÄÑé ......

Jquery ×éºÏformÔªËØΪjson¸ñʽ,asp.net·´ÐòÁл¯

×÷Õߣº°½Ê¿Î° Email£ºikmb@163.com תÔØ×¢Ã÷×÷Õß
˵Ã÷£º 1¡¢js¸ù¾Ý±íµ¥ÔªËØclassÊôÐÔ£¬°Ñ±íµ¥ÔªËصÄnameºÍvalue×éºÏΪjson¸ñʽ;ÓÃ±íµ¥ÔªËØclassÊôÐÔ¿ÉÒÔÕë¶ÔÐÔµØ×éºÏJSONÊý¾Ý¡£
2¡¢ºó¶ËASP.NETÓÃJavaScriptSerializer·´ÐòÁл¯Îª¶ÔÏóʵÁС£
3¡¢ºÃ´¦£º¼ò»¯ÁËÇ°¶ËÊý¾Ý¶ÁÈ¡Óëºó¶ËÊý¾Ý¸³Öµ¡£
 
function GetJSONSt ......

ASP.NET Ä£°åÒ³ Ö´ÐÐ˳Ðò

Page Ö´ÐÐÖн«°´ÕÕÈçÏÂ˳Ðò¼¤»îʼþ£º
Page.PreInit
Page.Init
Page.InitComplite
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete
Èç¹ûÒ³Ãæ´ÓÁîÒ»¸öÒ³Ãæ¼Ì³Ð£¬ÈçBasePage:System.Web.UI.Page£¬ÔÚBasePageÖÐ×öÁËһЩÀ©Õ¹£¬ÈçȨÏÞ¼ì²é£¬¶øÆäËûÒ³Ãæ´ÓBasePage¼Ì³Ð£¬ÔòBasePageºÍ×î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ