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

ASP.NET

Îå¡¢ASP.NET Web ·þÎñÆ÷¿Ø¼þºÍä¯ÀÀÆ÷¹¦ÄÜ
      ²»Í¬µÄä¯ÀÀÆ÷ºÍÏàͬä¯ÀÀÆ÷µÄ²»Í¬°æ±¾Ö§³Ö²»Í¬µÄ¹¦ÄÜ¡£ASP.NET ·þÎñÆ÷¿Ø¼þ»á×Ô¶¯È·¶¨·¢³öÒ³ÃæÇëÇóµÄä¯ÀÀÆ÷£¬²¢Îª¸Ãä¯ÀÀÆ÷³ÊÏÖÊʵ±µÄ±ê¼Ç¡£µ«ÊÇ£¬²¿·Ö¿Ø¼þ¹¦ÄÜÎÞ·¨ÔڽϵͰ汾µÄä¯ÀÀÆ÷ÉϳÊÏÖ£¬Òò´ËÐèÒªÔÚ¾¡¿ÉÄܶàµÄä¯ÀÀÆ÷ÀàÐÍÉϲ鿴ҳµÄÊä³ö£¬ÒÔÈ·±£Ò³ÒÔÔ¤ÆÚ·½Ê½³ÊÏÖÔÚËùÓÐä¯ÀÀÆ÷ÖС£
 
1¡¢ä¯ÀÀÆ÷ÀàÐ͵Ä×Ô¶¯¼ì²â
ĬÈÏÇé¿öÏ£¬ASP.NET Ò³¿ò¼Ü¿ÉÒÔ¶ÁÈ¡ÇëÇóÆÚ¼ä´Óä¯ÀÀÆ÷´«µÝµ½·þÎñÆ÷µÄÓû§´úÀíÐÅÏ¢£¬´Ó¶øÈ·¶¨ä¯ÀÀÆ÷µÄ¹¦ÄÜ¡££¨´ËÐÅÏ¢¿ÉÓÃ×÷ HttpRequest ¶ÔÏóµÄ UserAgent ÊôÐÔ¡££©Ò³Ãæ»á¸ù¾ÝÅäÖÃÎļþºÍä¯ÀÀÆ÷¶¨ÒåÎļþÖеĴúÀíÏîÀ´Æ¥ÅäÓû§´úÀíÐÅÏ¢¡£
      ˵Ã÷£ºÅäÖÃÎļþ (.config) µÄ browserCaps ½ÚÔÚ .NET Framework 2.0 °æÖÐÒѱ»·ñ¾ö¡£ÎªÁËʵÏÖÏòºó¼æÈÝÐÔ£¬Èç¹û±¾½ÚÖеÄÅäÖÃÉèÖÃÊÇÔÚÓ¦ÓóÌÐò¼¶±ðÉèÖõģ¬ÔòÕâЩÉèÖý«ÈÔÈ»ÓÐЧ£¬µ«»áÓëä¯ÀÀÆ÷¶¨ÒåÎļþ (.browser) Öаüº¬µÄÐÅÏ¢ºÏ²¢µ½Ò»Æð¡£ä¯ÀÀÆ÷¶¨ÒåÎļþλÓÚ¼ÆËã»ú¼¶±ðµÄ %SystemRoot%\Microsoft.NET\Framework\°æ±¾ºÅ\CONFIG\Browsers Îļþ¼ÐÒÔ¼°ÈκÎÏÖÓÐÓ¦ÓóÌÐò¼¶±ðµÄ App_Browser Îļþ¼ÐÖС£
      µ±Ò³²éÕÒµ½µ±Ç°Óû§´úÀíÐÅÏ¢ºÍÎļþÖÐÁгöµÄÓû§´úÀíÖ®¼äµÄÆ¥ÅäÏîʱ£¬Ëü¿ÉÒÔ¶ÁÈ¡ÏàÓ¦µÄä¯ÀÀÆ÷¹¦ÄÜ£¬ÀýÈ磬¸Ãä¯ÀÀÆ÷ÊÇ·ñÖ§³Ö½Å±¾×«Ð´¡¢Ñùʽ¡¢¿ò¼ÜµÈµÈ¡£Ò³ÃæÉϵĿؼþ»á¸ù¾ÝÕâЩ¹¦ÄÜʹÓÃÊʵ±µÄ±ê¼Ç£¨XHTML¡¢HTML 3.2£¬µÈµÈ£©À´³ÊÏÖ Web ¿Ø¼þ¡£Èç¹û ASP.NET ÔÚ³ÊÏÖ HTML ÔªËØ£¬Ëü¾Í¿ÉÒÔÈ·¶¨ÊdzÊÏÖ½Ïа汾£¨·ûºÏ¼¶ÁªÑùʽ±í£©µÄ HTML ÔªËØ»¹ÊdzÊÏÖÔçÆÚ°æ±¾£¨²»·ûºÏ¼¶ÁªÑùʽ±í£©µÄ HTML ÔªËØ¡£¶ÔÓھɰæä¯ÀÀÆ÷£¬ASP.NET ½«Ê¹ÓÃÔªËØ£¨ÀýÈ磬font ÔªËØ£©¶ø²»ÊÇ CSS ÑùʽÀ´³ÊÏÖ¸ñʽÉèÖÃÐÅÏ¢¡£
 
2¡¢ÖØдä¯ÀÀÆ÷ÀàÐͼì²â
Èç¹ûÒªÏÔʽ¿ØÖÆÒ³ÃæµÄ³ÊÏÖ·½Ê½£¬¶ø²»ÊÇÒÀÀµä¯ÀÀÆ÷×Ô¶¯¼ì²â£¬Ôò¿ÉÒÔÉèÖÃÒ³ÃæµÄ ClientTarget ÊôÐÔ (Property)¡£¿ÉÒÔͨ¹ýÉùÃ÷·½Ê½½«¸ÃÊôÐÔ (Property) ÉèÖÃΪ¸ÃÒ³µÄ @ Page Ö¸ÁîµÄÒ»¸öÊôÐÔ (Attribute)£¬Ò²¿ÉÒÔͨ¹ý±à³Ì·½Ê½½øÐдËÏîÉèÖá£
ClientTarget ÊôÐÔµÄÖµÊÇÄúÏëÒªÓÃÀ´³ÊÏÖÒ³µÄä¯ÀÀÆ÷ÀàÐ͵ıðÃû¡£ÀýÈ磬ÈôҪǿÖÆÒ³Ãæͨ¹ý Microsoft Internet Explorer 6.0 À´³ÊÏÖ£¬Ôò¿ÉÒÔʹÓñðÃû uplevel¡£´Ë±ðÃû±ØÐëÔÚÅäÖÃÎļþµÄ clientTarget ½ÚÖж¨Òå¡£Ô¤¶¨ÒåµÄĬÈϱðÃûÓÐ ie5¡¢ie4¡¢uplevel ºÍ downlevel¡£
ͨ¹ýÖ¸¶¨±ðÃû downlevel£¬¿ÉÒÔÇ¿ÖÆÒ³Ãæ³Ê


Ïà¹ØÎĵµ£º

ASP.NET

      ASP.NET Óû§ÅäÖÃÎļþ¹¦ÄÜÉè¼ÆΪÌṩµ±Ç°Óû§µÄ¶ÀÓÐÐÅÏ¢¡£ÅäÖÃÎļþ¿ÉÓÉͨ¹ýÉí·ÝÑéÖ¤µÄÓû§Ê¹Óã¬Ò²¿ÉÒÔÓÉÄäÃû£¨Î´¾­Éí·ÝÑéÖ¤£©Óû§Ê¹Óá£
 
1¡¢Í¨¹ýÉí·ÝÑéÖ¤µÄÓû§
ĬÈÏÇé¿öÏ£¬Óû§ÅäÖÃÎļþÓ뵱ǰ HTTP ÉÏÏÂÎÄ£¨¿Éͨ¹ý HttpContext..::.Current ÊôÐÔ·ÃÎÊ£©µÄ User ÊôÐÔÖд洢µÄÓà ......

ASP.NET


      ASP.NET ÅäÖÃÎļþ¹¦ÄÜÔÊÐíÄú´æ´¢¼òµ¥£¨±êÁ¿£©Öµ¡¢¼¯ºÏºÍÆäËû¸´ÔÓÀàÐÍ£¬ÒÔ¼°Óû§¶¨ÒåµÄÀàÐÍ¡£
 
1¡¢ÊôÐÔ¶¨ÒåÐÅÏ¢
ÔÚÅäÖÃÎļþÖж¨ÒåÊôÐÔʱ£¬Ó¦Ö¸¶¨½«ÓÃÓÚÒýÓøÃÊôÐÔµÄÃû³Æ¡£ÀýÈ磬Èç¹ûÒª´æ´¢ÓÊÕþ±àÂ룬Ôò¿ÉÒÔ½«ÊôÐÔÃüÃûΪ PostalCode£¬È»ºó¿ÉÒÔ»ñÈ¡ÊôÐÔÖµ²¢½«ÆäÉèÖÃΪ Profile.Pos ......

ĬÈÏÖ»ÄÜÉÏ´«2M¸½¼þ, ÈçºÎ·Å¿ªÏÞÖÆ? (asp.net C#)

 
¶ÔÓÚasp.net,ĬÈÏÖ»ÔÊÐíÉÏ´«2MÎļþ,Ôö¼ÓÈçÏÂÅäÖÃ,Ò»°ã¿ÉÒÔ×Ô¶¨Òå×î´óÎļþ´óС.
<httpRuntime executionTimeout="300" maxRequestLength="40960" useFullyQualifiedRedirectUrl="false"/>
ÎÒÃÇÔÚÉÏ´«´óÎļþʱ¶¼Óöµ½¹ýÕâÑù»òÄÇÑùµÄÎÊÌâ¡£ÉèÖúܴóµÄmaxRequestLengthÖµ²¢²»ÄÜÍê ......

ÔõôÅжÏÒ»¸öASP.NETµÄ³ÌÐòÊÇ·ñÈý²ã¼Ü¹¹

 Èý²ã¼Ü¹¹(3-tier application) ͨ³£ÒâÒåÉϵÄÈý²ã¼Ü¹¹¾ÍÊǽ«Õû¸öÒµÎñÓ¦Óû®·ÖΪ£º±íÏֲ㣨UI£©¡¢ÒµÎñÂß¼­²ã£¨BLL£©¡¢Êý¾Ý·ÃÎʲ㣨DAL£©¡£Çø·Ö²ã´ÎµÄÄ¿µÄ¼´ÎªÁË“¸ßÄÚ¾Û£¬µÍñîºÏ”µÄ˼Ïë¡£
  1¡¢±íÏֲ㣨UI£©£ºÍ¨Ë×½²¾ÍÊÇÕ¹ÏÖ¸øÓû§µÄ½çÃ棬¼´Óû§ÔÚʹÓÃÒ»¸öϵͳµÄʱºòËûµÄËù¼ûËùµÃ¡£
  2¡¢ÒµÎñ ......

ASP.NET

¶þ¡¢Ïò ASP.NET ÍøÒ³Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þ
      HTML ·þÎñÆ÷¿Ø¼þÊÇÄú¿ÉÒÔ¶ÔÆä½øÐÐÅäÖÃÒÔ±ã¿ÉÒÔʹÓ÷þÎñÆ÷´úÂë¶ÔÆä½øÐбà³ÌµÄ HTML ÔªËØ¡£
1¡¢ÈçºÎ£ºÊ¹Óà ASP.NET Óï·¨ÏòÍøÒ³Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þ
      Ìí¼Ó HTML ·þÎñÆ÷¿Ø¼þºÍÌí¼ÓÈÎÒâ HTML ÔªËØÀàËÆ£¬²»Í¬Ö®´¦ÔÚÓÚ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ