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

asp.net Forms±íµ¥ÑéÖ¤ ʹÓþ­Ñé¼°ÑéÖ¤Á÷³Ì·ÖÎö

      ×î½ü£¬Òª×öÒ»¸öµÇ½µÄÒ³Ã棬¾ÍÏëµ½ÁË°²È«ÐÔ·½ÃæµÄÎÊÌâ¡£¼ÇµÃÔø¾­ÔÚÉÛÖ¾¶«ÀÏʦ½²µÄ¹ØÓÚasp.net°²È«ÐÔ·½ÃæµÄ¿Î³ÌÖУ¬Ìáµ½asp.netÌṩÁË4¸öÉí·ÝÑéÖ¤³ÌÐò£º1.±íµ¥Éí·ÝÑéÖ¤£»2.WindowsÉí·ÝÑéÖ¤£»3.PassportÉí·ÝÑéÖ¤£»4.ĬÈÏÉí·ÝÑéÖ¤¡£ÓÈÆä½²ÁË±íµ¥Éí·ÝÑéÖ¤£¬ÏëÏ룬ÕýºÃ×Ô¼ºÒÔÇ°Ò²²»ÔøʹÓùýÕâ¸öÑéÖ¤·½Ê½£¬ÄǾÍÄÃÀ´Á·Á·ÊÖ°É¡£
      ±íµ¥ÑéÖ¤£¬¿ÉÒÔ¸ù¾ÝÓû§ºÍ½ÇÉ«À´ÏÞÖÆÓû§·ÃÎÊ¡£±ÈÈ磬ÎÒÃÇÓÐÒÔÒ»¸öºǫ́¹ÜÀíϵͳ£¬Ö»ÓÐͨ¹ýºǫ́µÇ½ҳÃæºÏ·¨µÇ½µÄÓû§²ÅÄÜ·ÃÎʺǫ́¹ÜÀíϵͳÖеÄÈκÎÒ³Ã棬Õâ¸öʱºòÎÒÃǾͿÉÒÔͨ¹ý±íµ¥ÑéÖ¤À´ÊµÏÖ£¨¹ýÈ¥ÎÒ¶¼ÊÇÔÚÿһ¸öÒ³ÃæдÅжÏÂß¼­¡£ÏÖÔÚÏëÆðÀ´£¬¹ýÈ¥µÄÄÇÖÖ·½·¨ÕæÊDz»ÕÛ²»¿ÛµÄÌåÁ¦ÀͶ¯£¬¶øÇÒÈç¹ûÄĸöÒ³ÃæÍü¼ÇдÁË£¬¾ÍÂé·³ÁË£©¡£
      ʵÑ鿪ʼ(ÒòΪֻ¼Ç¼¾­Ñ飬ËùÒÔÓÐЩ֪ʶµãÕâÀﲢûÓÐÌáµ½£¬ÐèÒª´ó¼Ò¶à»¨µã¿ÎÍâʱ¼äÁË¡£ÎÄÄ©ÌṩÁËЩÁ´½Ó¹©´ó¼Ò²Î¿¼)
      ÎÒ½ÓÏÂÀ´¾ÍÀ´×öÒ»¸öForms±íµ¥ÑéÖ¤µÄÀý×Ó¡£ÔÚ¸ÃÀý×ÓÖУ¬ÎÒ½¨Á¢ÁËÁ½¸öÎļþ¼Ð·Ö±ðΪUserºÍAdmin£¬ÔÚÿһ¸öÎļþ¼ÐÖÐÓÖÓÐlogin.aspx¡¢index.aspxºÍweb.config¡£ÎÒÏ£ÍûÆÕͨÓû§·ÃÎÊUserÎļþ¼ÐÐèÒªÊ×ÏÈÒªÔÚÓû§µÇ½½çÃæ½øÐеǽ£¬³É¹¦ºó²ÅÄÜ·ÃÎÊÓû§µÄindex.aspx¡£¶ø¹ÜÀíÔ±ÔòÊ×ÏÈÒªÔÚAdminµÄµÇ½½çÃæ½øÐеǽ£¬²ÅÄÜ·ÃÎÊAdminÖеÄindex.aspx¡£¶øÔÚÍøÕ¾¸ùĿ¼ÓÐLoginRedirect.aspx¡¢web.configºÍGlobal.asax¡£
      Ŀ¼½á¹¹Í¼£º
      
      ÈçºÎ²ÅÄÜʵÏÖ±íµ¥ÑéÖ¤ÄØ£¿
      1.ÅäÖøùĿ¼ÏµÄweb.config (ÔÚÍøÕ¾¸ùĿ¼ÏÂweb.configÎļþÖеÄsystem.web±ê¼ÇÖУ¬ÐÞ¸ÄÔ­<authentication mode="Windows" />ΪÈçÏ´úÂë)
Code
        <authentication mode="Forms">
            <forms name="adminlogin" loginUrl="loginRedirect.aspx">
            </forms>
        </authentication>
        <authorization>
        


Ïà¹ØÎĵµ£º

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

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

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

ASP.NET¶ÔÇëÇó´¦ÀíµÄ¹ý³Ì
µ±ÇëÇóÒ»¸ö*.aspxÎļþµÄʱºò£¬Õâ¸öÇëÇó»á±»inetinfo.exe½ø³Ì½Ø»ñ£¬ËüÅжÏÎļþµÄºó׺£¨aspx£©Ö®ºó£¬½«Õâ¸öÇëÇóת½»¸ø ASPNET_ISAPI.dll£¬ASPNET_ISAPI.dll»áͨ¹ýhttp¹ÜµÀ£¨Http PipeLine£©½«ÇëÇó·¢Ë͸øASPNET_WP.exe½ø³Ì£¬ÔÚASPNET_WP.exe½ø³ÌÖÐͨ¹ýHttpRuntimeÀ´´¦ÀíÕâ¸öÇëÇ󣬴¦ÀíÍê±Ï½«½á¹û·µ»Ø ......

ASP.NET³ÌÐò

 Ò»¡£ ASP.NETµÄÌØÉ«ÓëÓÅÊÆ
(1)Óëä¯ÀÀÆ÷ÎÞ¹Ø
(2)·½±ãÉèÖöϵã
(3)±àÒëºóÖ´ÐУ¬ÔËÐÐЧ¹û¸ß
(4)·á¸»µÄ¿Ø¼þ¿â
(5)´úÂëºóÖã¬Ê¹´úÂë¸üÇåÎú
¶þ¡£´´½¨ASP.NET³ÌÐò
´ò¿ªVisual Studio£¬Ñ¡Ôñ“Îļþ →  Ð½¨ → ÍøÕ¾” ÃüÁÎÒÃÇн¨Íøվʱ²»Ò»¶¨ÐèÒªÖ¸¶¨Íøվ·¾¶£¬Ö±½ÓÖ¸¶¨Îļþ·¾¶ ......

ASP.NETÌí¼Ó¡¢Ð޸ġ¢É¾³ýweb.configÅäÖÃÐÅÏ¢


  ASP.NETÌí¼Ó¡¢Ð޸ġ¢É¾³ýweb.configÅäÖÃÐÅÏ¢
  1 using System;
    2 using System.Data;
    3 using System.Configuration;
    4 using System.Collections;
    5 using Sys ......

PetShop 4.0 Ïê½âÖ®ËÄ(PetShopÖ®ASP.NET»º´æ)


Èç¹û¶Ô΢ÐͼÆËã»úÓ²¼þϵͳÓÐ×ã¹»µÄÁ˽⣬ÄÇôÎÒÃǶÔÓÚCacheÕâ¸öÃû´ÊÒ»¶¨ÊǶúÊìÄÜÏêµÄ¡£ÔÚCPUÒÔ¼°Ö÷°åµÄоƬÖУ¬¶¼ÒýÈëÁËÕâÖÖÃûΪ¸ßËÙ»º³å´æ´¢Æ÷£¨Cache£©µÄ¼¼Êõ¡£ÒòΪCacheµÄ´æÈ¡ËٶȱÈÄÚ´æ¿ì£¬Òò¶øÒýÈëCacheÄܹ»ÓÐЧµÄ½â¾öCPUÓëÄÚ´æÖ®¼äµÄËٶȲ»Æ¥ÅäÎÊÌâ¡£Ó²¼þϵͳ¿ÉÒÔÀûÓÃCache´æ´¢CPU·ÃÎʸÅÂʸߵÄÄÇЩÊý¾Ý£¬µ±CPUÐèÒª· ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ