ASP.NET ³ÉÔ±×ʸñÀàºÍ˵Ã÷
Membership
Ìṩ³£¹æ³ÉÔ±×ʸñ¹¦ÄÜ¡£
´´½¨Ò»¸öÐÂÓû§¡£
ɾ³ýÒ»¸öÓû§¡£
ÓÃÐÂÐÅÏ¢À´¸üÐÂÓû§¡£
·µ»ØÓû§ÁÐ±í¡£
ͨ¹ýÃû³Æ»òµç×ÓÓʼþÀ´²éÕÒÓû§¡£
ÑéÖ¤£¨Éí·ÝÑéÖ¤£©Óû§¡£
»ñÈ¡Áª»úÓû§µÄÈËÊý¡£
ͨ¹ýÓû§Ãû»òµç×ÓÓʼþµØÖ·À´ËÑË÷Óû§¡£
MembershipUser
ÌṩÓйØÌض¨Óû§µÄÐÅÏ¢¡£
»ñÈ¡ÃÜÂëºÍÃÜÂëÎÊÌâ¡£
¸ü¸ÄÃÜÂë¡£
È·¶¨Óû§ÊÇ·ñÁª»ú¡£
È·¶¨Óû§ÊÇ·ñÒѾ¹ýÑéÖ¤¡£
·µ»Ø×îºóÒ»´Î»î¶¯¡¢µÇ¼ºÍÃÜÂë¸ü¸ÄµÄÈÕÆÚ¡£
È¡Ïû¶ÔÓû§µÄËø¶¨¡£
MembershipProvider
Ϊ¿É¹©³ÉÔ±×ʸñϵͳʹÓõÄÊý¾ÝÌṩ³ÌÐò¶¨Ò幦ÄÜ¡£
¶¨ÒåÒªÇó³ÉÔ±×ʸñËùʹÓõÄÌṩ³ÌÐòʵÏֵķ½·¨ºÍÊôÐÔ¡£
MembershipProviderCollection
·µ»ØËùÓпÉÓÃÌṩ³ÌÐòµÄ¼¯ºÏ¡£
MembershipUserCollection
´æ´¢¶Ô MembershipUser
¶ÔÏóµÄÒýÓá£
MembershipCreateStatus
ÌṩÃèÊöÐÔÖµ£¬ÓÃÓÚÃèÊö´´½¨Ò»¸öгÉÔ±×ʸñÓû§Ê±Êdzɹ¦»¹ÊÇʧ°Ü¡£
MembershipCreateUserException
¶¨ÒåÎÞ·¨´´½¨Óû§Ê±Òý·¢µÄÒì³£¡£ÃèÊöÒì³£ÔÒòµÄ MembershipCreateStatus
ö¾ÙÖµ¿Éͨ¹ý StatusCode
ÊôÐÔ»ñÈ¡¡£
MembershipPasswordFormat
Ö¸¶¨ ASP.NET °üº¬µÄ³ÉÔ±×ʸñÌṩ³ÌÐò¿ÉÒÔʹÓõÄÃÜÂë´æ´¢¸ñʽ£¨Clear
¡¢Hashed
¡¢Encrypted
£©¡£
Ïà¹ØÎĵµ£º
ÍøÒ³ÖÐÓÃTextBoxÈÃÓû§ÊäÈëÎı¾£¬È»ºó´æÈëÊý¾Ý¿â£¬ÔÙ´ÓÊý¾Ý¿âÖжÁ³öÏÔʾÔÚÒ³ÃæÉÏ¡£³£³£ÕâÑù×ö»áÓöµ½²»ÉÙÎÊÌ⣬ÒòΪTextBoxʵ¼ÊÉÏÊÇÒ»¸öWindows×é¼þ£¬ºÍÍøÒ³ÏÔʾ±ê¼ÇÈ磺<p>,<td>,<div>µÈ£¬¶Ô×Ö·ûµÄ½âÎö·½·¨ÊDz»Í¬µÄ¡£±ÈÈçÇ°ÕߵĻ»Ðбê¼ÇΪ“\r\n”£¬¶øºóÕßΪ“<br>”¡£Õ ......
ΪʲôҪȥÁ˽âASP.NETÔËÐÐʱģÐÍ£¨HTTPRuntime£©
ÔÚѧϰASP.NET֮ǰ£¬×îºÃÏÈѧϰһÏÂASP.NETµÄÔËÐÐʱģÐÍ£¬ÆäʵASP.NETµÄ±à³ÌÄ£ÐÍ·ÖΪASP.NETµÄÔËÐÐʱģÐͺÍÒ³Ãæ±ä³ÉÄ£ÐÍ¡£Ðí¶àµÄ²Î¿¼ÊéÖ»ÊÇÖ±½ÓµÄ½éÉÜASP.NETµÄÒ³Ãæ±à³ÌÄ£ÐÍ£¬¶øºöÂÔÁËÔËÐÐʱģÐÍ£¬Ò³Ãæ±à³ÌÄ£ÐÍÊÇASP.NET³ÌÐòÔ±Ö÷Òª×öµÄÊÂÇ飬µ«ÔÚ×öÕâЩ¹¤×÷֮ǰ£¬³ä·ÖµÄ ......
1¡¢½¨Á¢Ò»¸öWebÓ¦ÓóÌÐòÏîÄ¿£¬Òª´´½¨½â¾ö·½°¸²¢´´½¨½â¾ö·½°¸Ä¿Â¼£¬ÒÔºó¿ÉÒÔ¸ù¾ÝÐèÒª´´½¨ÆäËûÏîÄ¿£¬È磺Àà¿â
2¡¢ÓÃaspnet_regsql¹¤¾ßÉú³ÉloginµÈ¿Ø¼þÐèÒªµÄºǫ́Êý¾Ý¿â±í
3¡¢°ÑÕâЩ±íºÍloginµÈµÇ½¿Ø¼þÁªÏµÆðÀ´£¬ÕâÀï×îºÃµÄ·½·¨ÊÇʹÓÃIISÍøÕ¾ÊôÐÔÀïÃæµÄASP.NET±êÇ©£¬ÔÚÄÇÀï¿ÉÒÔ±à¼ÅäÖÃÎļþ
Æäʵ ......
1£©´´½¨txtÎļþ¡¾web.config¡¿
--------------------------------------------------------------------
<appSettings>
<add key="EditChars" value="D:\Site\ZJPS\TextFile\EditChars.txt"/>
</appSettings>
2) Ò³ÃæµÄCSÎļþÖУº
----------------- ......