Asp.net¼Ü¹¹»Ø¹Ë£¨×ªÔØ£©
ASP.NETÊÇÓÉ΢ÈíÔÚ.NET FrameworkÖÐËùÌṩµÄ£¬¿ª·¢WebÓ¦ÓóÌÐòµÄÀà¿â£¬·â×°ÔÚSystem.Web.dllÎļþÖУ¬ÏÔ¶³öSystem.WebÃüÃû¿Õ¼ä£¬²¢ÌṩASP.NETÍøÒ³´¦Àí¡¢À©³äÒÔ¼°HTTPͨµÀµÄÓ¦ÓóÌÐòÓëͨÐÅ´¦ÀíµÈ¹¤×÷£¬ÒÔ¼°Web
ServiceµÄ»ù´¡¼Ü¹¹¡£ASP.NETÊÇASP¼¼ÊõµÄºó¼ÌÕߣ¬µ«ËüµÄ·¢Õ¹ÐÔÒª±ÈASP¼¼ÊõҪǿ´óÐí¶à¡£
ASP.NET¿ÉÒÔÔËÐÐÔÚ°²×°ÁË.NET FrameworkµÄIIS·þÎñÆ÷ÉÏ£¬ÈôÒªÔÚ·Ç΢ÈíµÄƽ̨ÉÏÔËÐУ¬ÔòÐèҪʹÓÃMonoƽ̨[1]£¬ASP.NETÔÚ2.0°æ±¾ÒѾ¶¨ÐÍ£¬ÔÚ.NET
Framework 3.5ÉÏÔò¼ÓÉÏÁËÐí¶à¹¦ÄÜ£¬ÏñÊÇASP.NET AJAX¡¢ASP.NET MVC Framework¡¢ASP.NET
Dynamic DataÓëMicrosoft SilverlightµÄ·þÎñÆ÷¿Ø¼þµÈ¡£
ºÜ¶àÈ˶¼°Ñ ASP.NET µ±×öÊÇÒ»ÖÖ±à³ÌÓïÑÔ£¬µ«Ëüʵ¼ÊÉÏÖ»ÊÇÒ»¸öÓÉ .NET
Framework ÌṩµÄÒ»ÖÖ¿ª·¢Æ½Ì¨ (development platform)£¬²¢·Ç±à³ÌÓïÑÔ¡£
Ŀ¼
[Òþ²Ø]
1
·¢Õ¹ÔµÆð
2 ASP.NET´¦Àí¼Ü¹¹
2.1 Web·þÎñÆ÷µÄÏûÏ¢Á÷¶¯½×¶Î
2.2 ASP.NETÍøÒ³ÖеÄʼþ³ÌÐò
2.3 ASP.NETµÄʼþÄ£ÐÍ
2.4 ASP.NETµÄÀ´»Øģʽ
2.5
»æÖƼ¼Êõ
3
״̬¹ÜÀí
3.1 Ó¦ÓóÌÐò²ã¼¶¶ÔÏó
3.2 Á¬½Ó²ã¼¶¶ÔÏó
3.3 ¿ç»úÆ÷״̬¹ÜÀí
4 ²¿¼þ
4.1
»ù´¡²¿¼þ
4.1.1 ÍøÒ³
4.1.2 ¿Ø¼þ
4.1.3 ½Å±¾
4.1.4
»ù±¾¶ÔÏó
4.2
µ¼ÀÀ²¿¼þ
4.3 Ó¦ÓóÌÐò·þÎñ
4.4 ÑÓÕ¹ÐÔÖ§³Ö
5 Ò»ÖÂÐÔÓë¶àÑùÐÔ½Ó¿ÚµÄÖ§³Ö¡¡
6
±àÒëÄ£ÐÍ
7 °²È«ÐÔÖ§³Ö
7.1 ÑéÖ¤
7.2 ÊÚȨ
8 Web ServiceÖ§³Ö
9
À©³ä¹¦ÄÜ
9.1 ASP.NET AJAX
9.2 ASP.NET MVC Framework
9.3 ASP.NET Dynamic Data Framework
9.4 ASP.NET Routing
9.5 Silverlight
10
¿ª·¢¹¤¾ß
11 °æ±¾
12 ²Î¼û
13
²Î¿¼×ÊÁÏ
14
²Î¿¼Á´½Ó
< type="text/javascript">
//<![CDATA[
if (window.showTocToggle) { var tocShowText = "ÏÔʾ"; var tocHideText = "Òþ²Ø"; showTocToggle(); }
//]]>
[±à¼]
·¢Õ¹ÔµÆð
Scott Guthrie
ASP.NETµÄÇ°ÉíASP¼¼Êõ£¬ÊÇÔÚIIS 2.0ÉÏÊ×´ÎÍƳö£¨Windows NT 3.51£©£¬µ±Ê±Óë ADO 1.0 Ò»ÆðÍƳö£¬ÔÚIIS 3.0 (Windows NT
4.0)·¢Ñï¹â´ó£¬³ÉΪ·þÎñÆ÷¶ËÓ¦ÓóÌÐòµÄÈÈÃÅ¿ª·¢¹¤¾ß£¬Î¢Èí»¹ÌرðΪËüÁ¿Éí´òÔìÁËVisual
InterDev¿ª·¢¹¤¾ß£¬ÔÚ1994Äêµ½2000ÄêÖ®¼ä£¬ASP¼¼ÊõÒѾ³ÉΪ΢ÈíÍÆÕ¹Windows NT
4.0ƽ̨µÄ¹Ø¼ü¼¼ÊõÖ®Ò»£¬ÊýÒÔÍò¼ÆµÄASPÍøÕ¾Ò²ÊÇÕâ¸öʱºò¿ªÊ¼ÈçÓêºó´ºËñ°ãµÄ³öÏÖÔÚÍøÂçÉÏ¡£ÓÉÓÚËüµÄ¼òµ¥ÒÔ¼°¸ß¶È¿ÍÖÆ»¯µÄÄÜÁ¦£¬Ò²ÊÇËüÄÜѸËÙ´ÜÆðµÄÔÒòÖ®Ò»¡£
²»¹
Ïà¹ØÎĵµ£º
System.Drawing.Image imgPhoto = System.Drawing.Image.fromFile("ͼƬ·¾¶Ãû");
int sourceWidth = imgPhoto.Width; //ͼƬ¿í¶È
int sourceHeight = imgPhoto.Height; //ͼƬ¸ß¶È
¿Ø¼þÃû.PostedFile.ContentLength &n ......
This server-based method is documented in the Visual Studio help files. Open the Help Index, and enter PrintToPrinter in the "Look for:" box. The syntax for this method is:
Report.PrintToPrinter(<copies as int>, <collated as True/False>, <startpage as int>, <endp ......
ÔÚWeb³ÌÐòÖУ¬ÎÒÃÇÖªµÀ£¬·þÎñÆ÷¶ËºÍIE¿Í»§¶Ë²»Êdz£Á¬µÄ£¬Ö»ÓзÃÎÊʱ²ÅÁ¬½Ó£¬Ò»µ©Ò³Ãæ¼ÓÔØÍêºó£¬Õâ¸öÁ¬½Ó¾Í»á¶Ï¿ª£¬Ò²¾ÍÊÇ˵£¬·ÃÎÊÒ³ÃæAºó£¬ÔÙ·ÃÎÊÒ³ÃæBʱ£¬·þÎñÆ÷¶ËÊDz»ÖªµÀÄãÒѾ·ÃÎʹýÒ³ÃæAÁË£¬ÉõÖÁ¶ÔÓÚͬһ¸öÒ³Ã棬·þÎñÆ÷¶ËÒ²²»»áÈ¥¼Ç¼ÄãµÄ·ÃÎÊ£¬Ã¿´Î¶¼»áÖØÐÂʵÀý»°·ÃÎʵÄÒ³Ãæ¡£
Õâ¾Í´øÀ´Ò»¸öÎÊÌ⣬Èç¹ûʵÏÖÎÒ·ÃÎÊÁËLo ......
ASP.NET
MVCµÄTempDataÓÃÓÚ´«ÊäһЩÁÙʱµÄÊý¾Ý£¬ÀýÈçÔÚ¸÷¸ö¿ØÖÆÆ÷Action¼ä´«µÝÁÙʱµÄÊý¾Ý»òÕ߸øView´«µÝһЩÁÙʱµÄÊý¾Ý£¬ÏàÐÅ´ó¼Ò¶¼¿´¹ý“ÔÚ
ASP.NETÒ³Ãæ¼ä´«ÖµµÄ·½·¨ÓÐÄļ¸ÖÖ”Õâ¸öÃæÊÔÌ⣬ÔÚASP.NET
MVCÖÐTempDataµÄ¾ÍÊÇÆäÖеÄÒ»ÖÖ´«Öµ·½·¨¡£TempDataĬÈÏÊÇʹÓÃSessionÀ´´æ´¢ÁÙʱÊý¾ÝµÄ£¬TempDataÖдæ·ÅµÄ ......