Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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Ê®¸öÓÐЧÐÔÄÜÓÅ»¯µÄ·½·¨

1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø(Connection Pool)¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±ÕʱÊÕ»ØÁ¬½ ......

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

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

asp.netÒ³ÃæÉúÃüÖÜÆÚ ¸÷ʱÆÚʼþ

using System;
using System.Collections.Specialized;
using System.Data;
using System.Configuration;
using System.Collections;
using System.IO;
using System.Threading;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebC ......

ASP.NET ץȡÍøÒ³Ô´Îļþ

×öÏîÄ¿·ÖÏíµÄʱºòҪץȡÍøÒ³ÀïÃæµÄͼƬ£¬¼°ÊÓƵ£¬±êÍ·¡£µ±È»ÒªÈ¡µ½ÕâЩ¶«Î÷֮ǰ£¬±ØÐë°ÑÔ´Îļþ¶Á³öÀ´
£¬Äõ½Ô´ÎļþÖ®ºó¾ÍÓÃJSÕýÔòȡͼƬºÍÊÓƵÁË£¨JSÕýÔò»¹²»ÍêÃÀ£¬ÏȲ»Ìù£©
C#ץȡÍøÒ³Ô´Îļþ´úÂëÈçÏ£º
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web; ......

ASP.NET

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