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

asp.netÔ¤±àÒë

 asp.netÓ¦ÓõÚÒ»´Î·ÃÎÊʱʱÓÉÓÚÒª±àÒ룬ËùÒÔ·´Ó¦Âý£¬ÑÏÖØÓ°ÏìÓû§ÌåÑ飡£¨ÒÔÖ±»Óû§±§Ô¹ËÙ¶ÈÂý£º£¨£©£¬Ô¤±àÒëÖ®ºóÃ÷ÏÔÌá¸ß·´Ó¦Ëٶȣº£©
Àý£º
D:\Windows\Microsoft.NET\Framework\v2.0.50727>aspnet_compiler -v /anything -p E:\erp_pr
o_vss0330\1.1\erp_pro_vss\WebApp D:\ERPApp
˵Ã÷£ºanything Èκζ¼ÐС£


Ïà¹ØÎĵµ£º

Asp.net ³¤ÎÄÕ·ÖÒ³

public string NoHTML(string Htmlstring) //È¥³ýHTML±ê¼Ç
{
//ɾ³ý½Å±¾
Htmlstring = Regex.Replace(Htmlstring, @" <script[^>]*?>.*? </script>", "", RegexOptions.IgnoreCase);
//ɾ³ýHTML
Htmlstring = Regex.Replace(Htmlstring, @" <(.[^>]*)>", "", RegexOptions.IgnoreCase); ......

ASP.NET×Ô¶¨Òå´íÎó´¦ÀíÒ³ÃæµÄÌí¼Ó

asp.net×Ô¶¨Òå´íÎó´¦ÀíÒ³Ãæ·½·¨Ò»
1¡¢Ìí¼ÓWeb.config£¬ < system.web>< /system.web>ÖÐÌí¼Ó< customErrors mode="On"
defaultRedirect="ApplicationErroy.aspx" >< /customErrors>½Úµã£¬
2¡¢Ìí¼Ó´íÎó´¦ÀíÒ³Ã棺ApplicationErroy.aspxµ÷ÓÃÏÂÃæµÄ·½·¨£º
private void DealErroy()   & ......

ASP.NETÒ³ÃæÉúÃüÖÜÆÚºÍasp.netÓ¦ÓóÌÐòÉúÃüÖÜÆÚ

Ò³ÃæÉúÃüÖÜÆÚ
Ò³ ÃæÉúÃüÖÜÆÚÖ´ÐÐһϵÁв½Ö裺ҳÃæµÄ³õʼ»¯¡¢ÊµÀý»¯¿Ø¼þ¡¢»¹Ô­ºÍά»¤×´Ì¬¡¢ÔËÐÐʼþ´¦Àí³ÌÐò´úÂë¡¢³ÊÏÖ¡£ÎªÁËÔÚºÏÊʵĽ׶ÎÖ´ÐÐËùÐèµÄ´úÂ룬ËùÒÔÒª¶ÔÒ³ÃæÉúÃü ÖÜÆڷdz£ÊìϤ¡£ÔÚÒ³ÉúÃüÖÜÆڵĸ÷¸ö½×¶Î£¬Ò³Ãæ»áÖð¸öÒý·¢¶¨ÒåµÄʼþ£¬Í¨¹ý¶Ô´úÂ뿪·¢£¬ÔÚÒ³ÃæµÄÉúÃüʼþÖÐÖ´ÐÐÎÒÃÇËùÐèÒªµÄ³ÌÐò
Ò³ÉúÃüÖÜÆڽ׶Î
1¡ ......

ASP.NETÉú³ÉËæ»úÃÜÂë

ASP.NETÉú³ÉËæ»úÃÜÂë
ÔÚ¿ª·¢ÐèÒªÓû§×¢²áºó²ÅÄÜʹÓÃÌṩµÄ¸÷ÏÄܵÄÓ¦ÓóÌÐòʱ£¬ÔÚÐÂÓû§Ìá½»×¢²áÐÅÏ¢ºó£¬½Ï³£¼ûµÄ×ö·¨ÊÇÓɳÌÐòÉú³ÉËæ»úÃÜÂ룬Ȼºó·¢ËÍÃÜÂëµ½Óû§×¢²áʱÌîдµÄµç×ÓÐÅÏ䣬Óû§ÔÙÓÃÊÕµ½µÄÃÜÂëÀ´¼¤»îÆäÕÊ»§¡£
ʵÏÖASP.NETÉú³ÉËæ»úÃÜÂ빦ÄÜÊǺÜÈÝÒ׵ģ¬ÏÂÃæµÄ´úÂë¸ø³öÁËÍêÕûµÄʵÏÖ·½·¨£º
public static stri ......

[ASP.NET]Log4NetÈ«¹¥ÂÔ

 [ASP.NET]Log4NetÈ«¹¥ÂÔ
ת×Ô:http://blog.5d.cn/vip/icecream/200511/185284.html
ºÜ¶à¿ª·¢Õ߶¼ÏëÒªÒ»¸ö·Ç³£Ç¿´óµÄ³ÌÐòÈÕÖ¾¹ÜÀí¿â£¬Äܹ»Á˽âÓû§¶ÔÓ¦ÓóÌÐòµÄʹÓÃÇé¿ö¡£µ±³ÌÐò³öÏÖÎÊÌâʱ£¬¿ÉÒÔͨ¹ý·ÖÎöÈÕÖ¾À´Á˽âÎÊÌâÖ®ËùÔÚ¡£
¹ýÈ¥ÎÒÃÇ×ÜÊÇÓÃÒ»Öֺܼòµ¥µÄ·½Ê½À´´¦ÀíÈÕÖ¾£¬¼´£ºÊ¹ÓÃÒ»¸öÈÕÖ¾Îļþ£¬µ±³ÌÐòÓÐÎÊÌâʱ¾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ