Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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»º´æµÄÀà

using System;
using System.Text;
using System.Web;
using System.IO;
namespace Chsword {
    /// <summary>
    /// ³É»Ã»¥Áª»º´æÀà
    /// ×Þ½¡ 2007.5
    ///  ......

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

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

[ASP.NET]ºǫ́ö¾Ù¿Õ¼ä

ÔÚºǫ́ÓÃC#ö¾Ù¿Ø¼þ²»ÏñjavascriptÄÇô¼òµ¥£¬HasControlsÖ»ÄÜ×¥µ½Ö±Êôϼ¶µÄ¿Ø¼þ£¬Èç¹ûÓжà¸ödiv£¬tableǶÌ×£¬¾ÍÒªµÝ¹éÁË
 public static void CloseAllContent(System.Web.UI.Control page,bool bOpen)
    {
        int nPageControls = page.Controls.Count ......

´íÎó¼Ç¼£ºASP.NET(C#)ÖÐδÄܼÓÔØ×Ô¶¨ÒåÀàÐÍ£¨Àࣩ

»·¾³£ºASP.NET(C#)£¬Visual Studio 2010¡£
Ìáʾ£ºÎ´ÄܼÓÔØÀàÐÍ“EMS.App_Code.PersonalInfo”¡£Èç¹û¸ÃÀàÐÍλÓÚApp_CodeÎļþ¼ÐÖУ¬Çë¼ì²éËüÊÇ·ñÒѱàÒë¡£Èç¹û¸ÃÀàÐÍλÓÚÒѱàÒëµÄ³ÌÐò¼¯ÖУ¬Çë¼ì²é¸Ã³ÌÐò¼¯ÊÇ·ñ±»¸ÃÏîÄ¿ÒýÓá£
´¦Àí£º
×Ô¼º×öµÃÒ»¸öС³ÌÐò£¬È¡ÃûEMS£¬²¢ÔÚApp_CodeÎļþ¼ÐϽ¨Á¢ÁËÀàPersonalInfo¡¢Sal ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ