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

asp.net¡°·þÎñÆ÷Ó¦ÓóÌÐò²»¿ÉÓá± ½â¾ö·½·¨

ÒýÆðÕâ¸öµÄÔ­Òò´ó¸ÅÊÇÏÖ°²×°ÁË.Net Frameworkºó×°µÄIISµ¼ÖÂ.NetûÓÐÔÚIISÀï×¢²á¡£
ÔÚÍøÉÏÕÒÁ˺ܾö¼ÊÇ˵´Ó.netÃüÁîÐй¤¾ßÀïÔËÐÐaspnet_regIIS /i¾Í¿ÉÒÔÁË(»òÕßÔÚÀàËÆÏÂÃæµÄĿ¼£ºC:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i)£¬µ«ÊÇ×Ô¼ºÊÔÁ˺ܶà´Î¶¼²»ÐУ¬ºóÀ´·¢ÏÖ»¹ÊÇÒªÏÈжÔØÔÙ°²×°£¬ÖØд´½¨ÎªÓ¦ÓóÌÐò²ÅÐУ¬¾ßÌåÈçÏ£º
´Ó.netÃüÁîÐй¤¾ßÀïÔËÐÐ aspnet_regIIS /u жÔØ£¬ÔÙaspnet_regIIS /i°²×°
È»ºóÖØÆôIIS £¬É¾³ý“ĬÈÏÓ¦ÓóÌÐò”£¬È»ºó½«Õ¾µãÖØд´½¨ÎªÓ¦ÓóÌÐò¡£
ÁíÍ⣬»¹ÓпÉÄÜÊÇASPNETÕË»§Ã»ÓÐIISËùÖ¸¶¨·þÎñÆ÷Ŀ¼µÄȨÏÞ¡£ÔÚ×ÊÔ´¹ÜÀíÆ÷ÖÐÕÒµ½“¹¤¾ß-Îļþ¼ÐÑ¡Ïî-²é¿´-ʹÓüòµ¥Îļþ¼Ð¹²Ïí£¨ÍƼö£©”£¬°ÑÇ°ÃæµÄ¹´È¥µô£¬È»ºóÔÚ·þÎñÆ÷Ö¸¶¨Ä¿Â¼ÉϵãÓÒ¼ü£¬ÊôÐÔ-°²È«-Ìí¼Ó-¸ß¼¶-Á¢¼´²éÕÒ£¬°ÑASPNETÕâ¸öÕË»§Ìí¼Ó½øÈ¥£¬¸øËüÖ¸¶¨ÍêÈ«·ÃÎʵÄȨÏÞ¡£ÕâÑù×öÁËÒÔºó¾Í»á·¢ÏÖûÓÐÁËÄǸö´íÎ󣬲»¹ýÈç¹û·ÃÎÊÊý¾Ý¿â¿ÉÄÜÓлáÌáʾASPNETÕâ¸öÕË»§Ã»ÓÐȨÏÞ·ÃÎÊÊý¾Ý¿â¡£Õâ¸öÌáʾ¾ÍÇå³þ¶àÁË£¬°Ñ¸ÃÕË»§ÔÚÊý¾Ý¿âÖмÓÈëÏàÓ¦µÄȨÏ޾ͿÉÒÔÁË¡£
½â¾ö·½·¨Ò» ÖØÐÂ×¢²á.Net 2.0:
C:WINDOWSMicrosoft.NetFrameworkv2.0.50727as.Net_regiis.exe –i
½â¾ö·½·¨¶þ н¨Ó¦ÓóÌÐò³Ø:
н¨Ó¦ÓóÌÐò³ØµÄ²½Öè
1. µ¥»÷“¿ªÊ¼”£¬Ö¸Ïò“³ÌÐò”£¬È»ºóµ¥»÷“¿ØÖÆÃæ°å”¡£
2. Ë«»÷“¹ÜÀí¹¤¾ß”£¬È»ºóË«»÷“Inte.Net ÐÅÏ¢·þÎñ (IIS)”¡£
3. ÓÒ¼üµ¥»÷“Ó¦ÓóÌÐò³Ø”£¬Ö¸Ïò“н¨”£¬È»ºóµ¥»÷“Ó¦ÓóÌÐò³Ø”¡£
4. ÔÚ“Ó¦ÓóÌÐò³Ø ID”Îı¾¿òÖмüÈë AppPool1¡£
5. µ¥»÷“È·¶¨”¡£
½«Ó¦ÓóÌÐò·ÖÅäµ½Ó¦ÓóÌÐò³Ø
1. µ¥»÷“¿ªÊ¼”£¬Ö¸Ïò“³ÌÐò”£¬È»ºóµ¥»÷“¿ØÖÆÃæ°å”¡£
2. Ë«»÷“¹ÜÀí¹¤¾ß”£¬È»ºóË«»÷“Inte.Net ÐÅÏ¢·þÎñ (IIS)”¡£
3. Ë«»÷“Web Õ¾µã”¡£
4. Ë«»÷“ĬÈÏ Web Õ¾µã”¡£
5. ÓÒ¼üµ¥»÷“DebugApp1”£¬È»ºóµ¥»÷“ÊôÐÔ”¡£
6. ÔÚ“Ö÷Ŀ¼”±êÇ©ÖеēӦÓóÌÐò³Ø”Áбí¿òÖÐÑ¡Ôñ“AppPool1”£¬È»ºóµ¥»÷“È·¶¨”¡£
½â¾ö·½·¨Èý,ÐÞ¸ÄÍøվĿ¼ËùÔÚÎļþ¼ÐµÄ·ÃÎÊȨÏÞ:
ÕÒµ½µ±Ç°ÍøվĿ¼£­>ÓÒ¼ü£­>ÊôÐÔ£­>°²È«£­>Ìí¼Ó£­>¸ß¼¶£­>Á¢¼´²éÕÒ£


Ïà¹ØÎĵµ£º

Asp.netÖж¯Ì¬ÔÚÖмÓÈëScrpit±êÇ©

Ðí¾ÃÒÔÇ°£¬Ð´¹ýһƪ¡¶asp.netÒ³Öж¯Ì¬¼ÓÈëÑùʽ±íÎļþ¡·£¬ºóÀ´·¢ÏÖÔÚʹÓÃʱÈç¹ûÿҳ¶¼Ð´Õâô¸öº¯ÊýÕæÊǺÜÂé·³£¬ÓÚÊÇ×Ô¼ºÐ´ÁËÒ»¸öPageµÄÅÉÉú¡£½«Õâ¸öº¯Êý¼ÓÁ˽øÈ¥¡£
      /**//// <summary>
    /// ×÷Õß ×Þ½¡
    ///  ......

WCFÖеķþÎñºÍASP.NET AJAXÖеÄWebService

WCFµÄ¼Ü¹¹£ºusing System.ServiceModel;
ÆõÔ¼:Contract
[ServiceContract]
public partial interface IContract
{
        [OperationContract]
        string DocumentWebHostUrl();
}
·þÎñ£ºService
[ServiceBehavior(IncludeException ......

ÈçºÎʵÏÖAsp.Net¿Ø¼þµÄË«»÷ʼþ

 Asp.net¿Ø¼þ£¨°üÀ¨Web·þÎñÆ÷¿Ø¼þºÍHtml·þÎñÆ÷¿Ø¼þ£©¶¼Ã»ÓÐË«»÷ʼþ£¬ÄÇô¸ÃÈçºÎ½«Ë«»÷ʼþ¸¶¸øAsp.Net¿Ø¼þÄØ£¿ÎÒÃÇÒÔLable¿Ø¼þΪÀý¡£
      
        Ò»¡¢Ê×ÏȼÓÈë¿Ø¼þ£¬IDΪLable1£¬È»ºó¼ÓÈëÒ»¸öButton¿Ø¼þ£¬IDΪButton1£¬´úÂëÈçÏÂ
 
& ......

ASP.netµÄÉí·ÝÑéÖ¤·½Ê½ÓÐÄÄЩ£¿·Ö±ðÊÇʲôԭÀí£¿

Windows Éí·ÝÑéÖ¤Ìṩ³ÌÐò ÌṩÓйØÈçºÎ½« Windows Éí·ÝÑéÖ¤Óë Microsoft Internet ÐÅÏ¢·þÎñ (IIS) Éí·ÝÑéÖ¤½áºÏʹÓÃÀ´È·±£ ASP.NET Ó¦ÓóÌÐò°²È«µÄÐÅÏ¢¡£ Forms Éí·ÝÑéÖ¤Ìṩ³ÌÐò ÌṩÓйØÈçºÎʹÓÃÄú×Ô¼ºµÄ´úÂë´´½¨Ó¦ÓóÌÐòÌض¨µÄµÇ¼´°Ìå²¢Ö´ÐÐÉí·ÝÑéÖ¤µÄÐÅÏ¢¡£Ê¹Óà Forms Éí·ÝÑéÖ¤µÄÒ»ÖÖ¼ò±ã·½·¨ÊÇʹÓà ASP.NET ³ÉÔ±×ʸñ ......

ASP.NET 2.0ÖÐPageʼþµÄÖ´ÐÐ˳Ðò

Page Ö´ÐÐÖн«°´ÕÕÈçÏÂ˳Ðò¼¤»îʼþ£º
Page.PreInit
Page.Init
Page.InitComplite
Page.PreLoad
Page.Load
Page.LoadComplete
Page.PreRender
Page.PreRenderComplete
Èç¹ûÒ³Ãæ´ÓÁîÒ»¸öÒ³Ãæ¼Ì³Ð£¬ÈçBasePage:System.Web.UI.Page£¬ÔÚBasePageÖÐ×öÁËһЩÀ©Õ¹£¬ÈçȨÏÞ¼ì²é£¬¶øÆäËûÒ³Ãæ´ÓBasePage¼Ì³Ð£¬ÔòBasePageºÍ×î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ