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

ʲôÊÇAsp.NetÓ¦ÓóÌÐò

 ASP.NET defines an application as the sum of all files, pages, handlers, modules, and executable code that can be invoked or run in the scope of a given virtual directory (and its subdirectories) on a Web application server. For example, an "order" application might be published in the "/order" virtual directory on a Web server computer. For IIS the virtual directory can be set up in the Internet Services Manager; it contains all subdirectories, unless the subdirectories are virtual directories themselves.
Each ASP.NET Framework application on a Web server is executed within a unique .NET Framework application domain, which guarantees class isolation (no versioning or naming conflicts), security sandboxing (preventing access to certain machine or network resources), and static variable isolation.
ASP.NET maintains a pool of HttpApplication instances over the course of a Web application's lifetime. ASP.NET automatically assigns one of these instances to process each incoming HTTP request that is received by the application. The particular HttpApplication instance assigned is responsible for managing the entire lifetime of the request and is reused only after the request has been completed. This means that user code within the HttpApplication does not need to be reentrant.
·¢±íÓÚ @ 2009Äê09ÔÂ23ÈÕ¡¡14:25:00 | ÆÀÂÛ( 0 ) | ±à¼­| ¾Ù±¨| ÊÕ²Ø
¾Éһƪ:C#ÈçºÎ´ò¿ªÖ¸¶¨Îļþ¼Ð | ÐÂһƪ:GAC Overview
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/chimomo/archive/2009/09/23/4584072.aspx


Ïà¹ØÎĵµ£º

asp.net´íÎó´¦Àí

 ³öÏÖ´íÎó·¢ËÍEmail
¿ÉÒÔÔÚGlobal.asaxµÄvoid Application_Error(Object sender,EventArgs e)
{
 //Óõ½ÁËSsytem.Net.Mail
 MailMessage mail=new MailMessage();
 mail.from=new MailAddress("automated@contoso.com");
 mail.Subject="SIte Error at" +DateTime.Now;
 mail.Body="E ......

Asp.netÖд«ÖµµÄ·½Ê½

1£®URL´«Öµ
ÕâÊǾ­µäµÄ´«Öµ·½Ê½£¬ÕâÖÖ·½·¨µÄʹÓ÷dz£¼òµ¥£¬²»¹ýËù´«µÝµÄÖµÊÇ»áÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸Éϵģ¬¶øÇÒ²»ÄÜ´«µÝ¶ÔÏó¡£ËùÒÔÕâÖÖ·½·¨Ò»°ãÓÃÓÚ´«µÝµÄÖµÉÙÇÒ°²È«ÐÔÒªÇ󲻸ߵÄÇé¿öÏ¡£ÔÚ*.aspxÒ³Ã濪·¢ÖпÉÒÔʹÓ󬼶Á´½ÓÎı¾½øÐд«Öµ
2£®Session´«Öµ
ÕâÖÖ·½·¨½«Ã¿·ÝÊý¾Ý´æ´¢ÓÚ·þÎñÆ÷±äÁ¿ÖУ¬¿ÉÒÔ´«µÝ±È½Ï¶àµÄÊý¾Ý£¬²¢ ......

Asp.Net¼Ì³ÐʵÏÖÉí·ÝÑéÖ¤

 ÔÚASP.NETÍøÕ¾ÖÐÍøÕ¾¹ÜÀíºǫ́ÐèÒª¾­³£ÑéÖ¤Óû§Éí·Ý,ҪʵÏÖÕâÖÖ¹¦ÄܾͿÉÒÔÀûÓÃÄǸö¼Ì³Ð»úÖƺÍASP.NETµÄʼþ»úÖÆ.Ê×Ïȶ¨ÒåÒ»¸öÐèÒª½øÐÐÉí·ÝÑéÖ¤µÄBasePageÀà,¼Ì³Ð×ÔPageÀà,ÔÚBasePageÀàµÄ¹¹Ô캯ÊýÖж¨ÒåËüµÄ¼ÓÔØʼþµÄ´¦Àí´úÂë,ÕâÑùËùÓм̳Ð×ÔBasePageÀàµÄÒ³Ã涼ÄÜ×Ô¶¯Ö´ÐÐÉí·ÝÑéÖ¤£º
/// <summary>
/// ÑéÖ ......

Asp.netµ÷ÓÃwebservice

 ÕâÊÇÎÒ´Ó±ð´¦Õª³­µÄһƪÎÄÕ£¬ÏàÐÅ´ó¼Ò¶¼ºÜÊìϤµÄ£¬½²µÄºÜÃ÷°×£¬µ«ÊÇÎÒ¶ÔÆäÖÐÒ»µã´æÓÐÒÉ»ó£¬Ðí¾ÃҲûÓÐÕÒµ½´ð°¸¡£
µ÷ÓÃwebserviceʱ¿ÉÒÔ·µ»ØdatatableµÈ¸´ÔÓÊý¾ÝÀàÐÍ£¬ÏÂÃæÀý×ÓÖÐÒ²Óеģ¬ÔÚǰ̨µ÷ÓÃʱ£¬ÆäʵÕâЩÊý¾ÝÀàÐ;­¹ýÁËת»»Æ÷´¦Àí¡£ÏÂÃæµÄÀý×ÓÖУ¬·µ»ØµÄdatatable±»Ò»ÏîÒ»ÏîÌí¼Óµ½selectÉÏÈ¥ÁË£¬ÆäʵÎÒ¿´ÁË¾Í ......

ASP.NET½Ì³Ì:µ÷ÓÃWebServiceµÄÔ´Âë


WebjxComÌáʾ£ºÕâÀïÒ»¶¨ÒªÌí¼ÓWEB ÒýÓò˵¥²½ÖèÈçÏÂproject->add web reference...£¬È»ºóÊäÈëÎÒÃÇWeb ServiceµÄ·¾¶£¬ÕâÀïÊÇhttp://localhost/WebService1/Service1.asmx£¬µã»÷Ìí¼Ó¾ÍOKÁË¡£ÕâʱÄ㽫ÔÚÀàÊÓͼÖп´µ½localhostÃüÃû¿Õ¼äÁË¡£
ÕâÀïÒ»¶¨ÒªÌí¼ÓWEB ÒýÓò˵¥²½ÖèÈçÏÂproject->add web reference...£¬È»ºóÊä ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ