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

ʹÓÃASP.NET 2.0 Profile´æ´¢Óû§ÐÅÏ¢[·­Òë]

×÷Õß: Stephen Walther
Ô­ÎĵØÖ·£ºhttp://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnvs05/html/UserProfiles.asp
Òë
ÕߣºTony Qu
¸ÅÒª£ºÐí¶àASP.NETÓ¦ÓóÌÐòÐèÒª¿ç·ÃÎʵÄÓû§ÊôÐÔ
¸ú×Ù¹¦ÄÜ£¬ÔÚASP.NET1.1ÖУ¬ÎÒÃÇÖ»ÄÜÈ˹¤ÊµÏÖÕâÒ»¹¦ÄÜ¡£µ«Èç½ñ£¬Ê¹Óà ASP.NET 2.0µÄProfile¶ÔÏó£¬Õâ¸ö¹ý³Ì±äµÃÒì
³£¼òµ¥¡£Stephen Walther½«ÑéÖ¤¸Ã¶ÔÏ󣬲¢ÏòÄãչʾÈçºÎʹÓÃProfileÀ´¸ú×ÙÓû§ÊôÐÔ¡¢´´½¨Ò»¸ö¹ºÎïÀº£¬¼°ÆäËûһЩÀý×Ó¡£
×ÜĿ¼
½éÉÜ
User Profile×ÜÀ¿
¶¨ÒåUser Profile
ʹÓÃProfile×é
ʹÓø´ÔÓµÄProfileÊôÐÔ
¼Ì³ÐÒ»¸öProfile
ǨÒÆÄäÃûProfileÉèÖÃ
ÅäÖÃProfile Provider
¹ÜÀíProfiles²¢Éú³ÉProfile±¨¸æ
×ܽá
Ïà¹ØÊé¼®
Microsoft
ASP.NET 2.0Ö§³Ö±»³ÆΪProfileµÄжÔÏó£¬Ëü¿ÉÒÔ×Ô¶¯ÔÚ¶à¸öWebÓ¦ÓóÌÐòµÄ·ÃÎÊÖ®¼ä´æ´¢Óû§ÐÅÏ¢¡£Ò»¸öUser Profile
ÖпÉÒÔ´æ´¢¸÷ÖÖÀàÐ͵ÄÐÅÏ¢£¬ÕâЩÐÅÏ¢¼È¿ÉÒÔÊǼòµ¥µÄstringºÍintegerÀàÐÍ£¬Ò²¿ÉÒÔÊǸ´ÔÓµÄ×Ô¶¨ÒåÀàÐÍ¡£ÀýÈ磬Äã¿ÉÒÔ´æ´¢Óû§µÄÐÕ¡¢¹ºÎïÀº¡¢ÓÃ
»§ÊôÐÔ»òÍøվʹÓÃÇé¿öͳ¼Æ¡£
±¾ÎÄÖУ¬Ä㽫ѧϰÈçºÎÔÚÒ»¸öÓ¦ÓÃÖж¨Òåuser profile¡£ÎÒÃÇÒ²»áÏòÄãÑÝʾÈçºÎÅäÖÃʹÓò»Í¬
providerµÄprofile¡£×îºó£¬Ä㽫ѧϰÈçºÎ¹ÜÀíºÍÉú³Éuser profileµÄ±¨¸æ¡£
User Profiles×ÜÀ¿
Profile
¶ÔÏóÓëSession¶ÔÏóÊ®·ÖÏàËÆ£¬µ«ÊǸüºÃÓÃһЩ¡£ÓëSessionÏàËƵĵط½ÔÚÓÚ£¬ProfileÊÇÏà¶ÔÓÚÒ»¸öÌض¨µÄÓû§µÄ£¬Ò²¾ÍÊÇ˵£¬Ã¿
¸öWebÓ¦ÓóÌÐòµÄÓû§¶¼ÓÐËûÃÇ×Ô¼ºµÄprofile¶ÔÏó¡£ÓëSession²»Í¬µÄÊÇ£¬Profile¶ÔÏóÊdz־öÔÏó¡£Èç¹ûÄãÏò
SessionÖÐÌí¼ÓÒ»¸öÏÔÚÄãÀ뿪Íøվʱ£¬¸ÃÏî¾Í»áÏûʧ¡£¶øProfileÔòÍêÈ«²»Í¬£¬µ±ÄãÐÞ¸ÄProfileµÄ״̬ʱ£¬ÐÞ¸ÄÔÚ
¶à¸ö·ÃÎÊÖ®¼ä¾ùÓÐЧ¡£
profileʹÓÃproviderģʽÀ´´æ´¢ÐÅÏ¢£¬Ä¬ÈÏÇé¿öÏ£¬user profile
µÄÄÚÈݻᱣ´æÔÚSQL Server ExpressÊý¾Ý¿âÖУ¬¸ÃÊý¾Ý¿âλÓÚÍøÕ¾µÄApp_DataĿ¼¡£È»¶ø£¬ÔÚ±¾Îĵĺó°ë²¿·Ö£¬Ä㽫Á˽âÈç
ºÎʹÓÃÆäËûÊý¾ÝÌṩÕß(data provider)À´´æ´¢ÐÅÏ¢£¬ÈçÍêÕû°æµÄSQL ServerÖеÄÒ»¸öÊý¾Ý¿â»òÕßÒ»¸öOracleÊý¾Ý¿â¡£
ÓëSession²»Í¬£¬ProfileÊÇÇ¿ÀàÐ͵ģ¬Session¶ÔÏó½ö½öÊÇÒ»¸öÏºÏ¶øÒÑ£¬¶øprofile¶ÔÏóÔòÓÐÇ¿Àà
ÐÍÊôÐÔ¡£
ʹÓÃÇ¿ÀàÐÍÊÇÓÐËüµÄµÀÀíµÄ¡£ÀýÈ磬ʹÓÃÇ¿ÀàÐÍ£¬Äã¾Í¿ÉÒÔÔÚMicrosoft Visual Web
DeveloperÖÐʹÓÃÖÇÄܸÐÖª¼¼Êõ£¬µ±Äã¼üÈëProfileºÍÒ»¸öµãµÄʱºò£¬ÖÇÄܸÐÖª»áµ¯³öÄãÒѾ­¶¨Òå¹ýµÄprofileÊôÐÔÁÐ
񡭜
¶¨Òåuser
profile
Äã¼È¿ÉÒÔ


Ïà¹ØÎĵµ£º

static±äÁ¿Óëasp.net

ÔÚC#ÖУ¬static±äÁ¿±íʾ¸Ã±äÁ¿ÊôÓÚÀ࣬¶ø²»ÊÇÀàµÄʵÀý¡£¿ÉÒÔ˵ÊǸÃÀàµÄËùÓÐʵÀý¹²ÏíÒ»¸östatic±äÁ¿¡£
asp.netµÄÒ³Ãæ¾ÍÊÇÒ»¸öÀ࣬ÎÒÃÇ·ÃÎÊÒ»¸öÒ³Ãæ¡£¾Í»áÔÚ·þÎñÆ÷ÉÏʵÀý»¯Ò»¸ö¸ÃÀàµÄʵÀý£¬À´ÏìÓ¦ÎÒÃǵÄÇëÇó¡£
“ËùÓÐʵÀý¹²ÏíÒ»¸östatic±äÁ¿” Õâ¾ÍÒâζ×Å£¬ËùÓеĿͻ§¶Ë·ÃÎʵ½µÄasp.netÒ³ÃæÖÐstatic±äÁ¿¶¼ÊÇͬһ¸ ......

Jquey Ajax·ÃÎÊasp.netºǫ́´úÂë

            $.ajax({
                type: "POST",   //·ÃÎÊWebServiceʹÓÃPost·½Ê½ÇëÇó
             ......

asp.netÃæÊÔÌâÊÕ¼¯ Ä㶼»áÁËÂð

1.newÓм¸ÖÖÓ÷¨
µÚÒ»ÖÖ:new Class();
µÚ¶þÖÖ:¸²¸Ç·½·¨
public new XXXX(){}
µÚÈýÖÖ:new Ô¼ÊøÖ¸¶¨·ºÐÍÀàÉùÃ÷ÖеÄÈκÎÀàÐͲÎÊý¶¼±ØÐëÓй«¹²µÄÎÞ²ÎÊý¹¹Ô캯Êý¡£
2.ÈçºÎ°ÑÒ»¸öarray¸´ÖƵ½arrayListÀï
foreach( object o in array )arrayList.Add(o);
3.datagrid.datasous ......

ASP.NET web app performance issue ThreadPool

 
One of my bank customers planned to roll out a new ASP.NET web application serving as their critical internet banking portal. They faced some weird performance issue in their UAT environment. They noticed the CPU utilization was really high (above 90%) without any fluctuation. After checking ......

asp.net½Ì³Ì:WPFͼÐÎϵͳ

  ÔÚWindows NTÖУ¬Í¼ÐζàýÌåϵͳ»ùÓÚ²ã´Î½á¹¹¡£Ó¦ÓóÌÐòÓ붥²ãµÄAPI£¨Êµ¼ÊÉÏÊǶà¸öÓû§Ä£Ê½µÄϵͳDLL£¬±ÈÈçGDI32.DLL£©½»»¥£¬ÕâЩϵͳDLL×îÖÕ»áͨ¹ýϵͳ·þÎñµ÷Óô¦ÓÚÄÚºËģʽµÄϵͳ·þÎñ¡£
NTϵͳµÄÏêϸÐÅÏ¢¿É²Î¿¼¡¶Windows ͼÐαà³Ì¡·µÄµÚÒ»¡¢¶þÕ¡£ÔÚWindows VistaÖУ¬Í¼ÐÎϵͳÒѾ­ÒƳöÁËÄÚºËģʽ£¬²¢ÓÐ×Ô¼ºµÄ¿Õ¼ä ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ