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

ASP.NET IIS ×¢²á¹¤¾ß (Aspnet_regiis.exe)

ASP.NET IIS ×¢²á¹¤¾ß (Aspnet_regiis.exe)
ÔÚһ̨¼ÆËã»úÉϲ¢ÐÐÖ´Ðжà¸ö .NET Framework °æ±¾Ê±£¬Ó³Éäµ½ ASP.NET Ó¦ÓóÌÐòµÄ ASP.NET ISAPI °æ±¾¾ö¶¨Á˸ÃÓ¦ÓóÌÐòËùʹÓõĹ«¹²ÓïÑÔÔËÐпâ (CLR) °æ±¾¡£Ê¹Óà ASP.NET IIS ×¢²á¹¤¾ß (Aspnet_regiis.exe)£¬¹ÜÀíÔ±»ò°²×°³ÌÐò¿ÉÒÔ·½±ãµØ¸üРASP.NET Ó¦ÓóÌÐòµÄ½Å±¾Ó³É䣬ʹÆäÖ¸ÏòÓë¸Ã¹¤¾ß¹ØÁªµÄ ASP.NET ISAPI °æ±¾¡£¸Ã¹¤¾ß»¹¿ÉÒÔÓÃÓÚÏÔʾËùÓÐÒÑ°²×°µÄ ASP.NET °æ±¾µÄ״̬£¬×¢²áÓë¸Ã¹¤¾ßñîºÏµÄ ASP.NET °æ±¾£¬´´½¨¿Í»§¶Ë½Å±¾Ä¿Â¼£¬ÒÔ¼°Ö´ÐÐÆäËûÅäÖòÙ×÷¡£
×¢Òâ
.NET Framework ¸½´øÁËÁ½¸ö IIS ×¢²á¹¤¾ß£»Ò»¸öÓÃÓÚ±ê׼ϵͳ£¬ÁíÒ»¸öÓÃÓÚ 64 λϵͳ¡£ÓÃÓÚ 64 λϵͳµÄ¹¤¾ßλÓÚ Windows Îļþ¼ÐÏ Microsoft.NET Ŀ¼µÄ Framework64 Ŀ¼ÖУ»ÀýÈ磬C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727 ½«°üº¬¸Ã IIS ×¢²á¹¤¾ß¡£
aspnet_regiis [options]
 Ñ¡Ïî
Ñ¡Ïî
˵Ã÷
-c
½« ASP.NET µÄ¿Í»§¶Ë½Å±¾£¨Èç¿Í»§¶ËÑéÖ¤½Å±¾£©°²×°µ½Ã¿¸ö Internet ÐÅÏ¢·þÎñ (IIS) Õ¾µãĿ¼µÄ aspnet_client ×ÓĿ¼ÖС£
Ö»°²×°Óë Aspnet_regiis.exe ¹ØÁªµÄ ASP.NET °æ±¾µÄ¿Í»§¶Ë½Å±¾¡£
-disable
ÔÚ IIS °²È«¿ØÖÆ̨ÖнûÓà ASP.NET¡£
´ËÑ¡ÏîÖ»ÄÜÓë -i¡¢-ir »ò -r Ñ¡Ïî½áºÏʹÓᣴËÑ¡Ïî²»ÄÜÔÚ IIS 6.0 ֮ǰµÄ IIS °æ±¾ÖÐʹÓá£
-e
´Óÿ¸ö IIS Õ¾µãĿ¼µÄ aspnet_client ×ÓĿ¼ÖÐÒƳý ASP.NET µÄ¿Í»§¶Ë½Å±¾¡£
Ö»ÒƳýÓë Aspnet_regiis.exe ¹ØÁªµÄ ASP.NET °æ±¾µÄ¿Í»§¶Ë½Å±¾¡£
-ea
´Óÿ¸ö IIS Õ¾µãĿ¼µÄ aspnet_client ×ÓĿ¼ÖÐÒƳýËùÓÐ ASP.NET °æ±¾µÄ¿Í»§¶Ë½Å±¾¡£
-enable
ÔÚ IIS °²È«¿ØÖÆ̨ÖÐÆôÓà ASP.NET¡£
´ËÑ¡ÏîÖ»ÄÜÓë -i¡¢-ir »ò -r Ñ¡Ïî½áºÏʹÓᣴËÑ¡Ïî²»ÄÜÔÚ IIS 6.0 ֮ǰ»ò ASP.NET 2.0 °æ֮ǰµÄ°æ±¾ÖÐʹÓá£
-ga user
ÏòÖ¸¶¨Óû§ÊÚÓè ASP.NET. ʹÓÃµÄ IIS ÔªÊý¾Ý¿âºÍÆäËûĿ¼µÄ·ÃÎÊȨÏÞ¡£
´ËÑ¡Ïî²»ÄÜÔÚ ASP.NET 2.0 ֮ǰµÄ°æ±¾ÖÐʹÓá£
-i
°²×°Óë Aspnet_regiis.exe ¹ØÁªµÄ ASP.NET °æ±¾£¬²¢¸üРIIS ÔªÊý¾Ý¿â¸ùĿ¼ºÍ¸ùĿ¼ÏµĽű¾Ó³Éä¡£
Ö»¸üÐÂʹÓÃÔçÆÚ ASP.NET °æ±¾µÄÓ¦ÓóÌÐòµÄ½Å±¾Ó³É䡣ʹÓÃа汾µÄÓ¦ÓóÌÐò²»ÊÜÓ°Ïì¡£
-ir
°²×°Óë Aspnet_regiis.exe ¹ØÁªµÄ ASP.NET °æ±¾£¬²¢½öÔÚ IIS ÖÐ×¢²á ASP.NET¡£
´ËÑ¡Ïî²»¸üнű¾Ó³Éä¡£ÈôÒª°²×° ASP.NET ²¢¸üнű¾Ó³É䣬ÇëʹÓà -i Ñ¡Ïî¡£
-k path
ÔÚÖ¸¶¨µÄÓ¦ÓóÌÐò¸ù·¾¶¼°Æä×ÓĿ¼ÖУ¬´ÓËùÓÐ ASP.NET Ó


Ïà¹ØÎĵµ£º

asp.net ²Ù×÷xmlÎļþ

using System.Xml;//Í·²¿¼Ó´ËÃüÃû¿Õ¼ä
        XmlDocument xd = new XmlDocument();//±íʾXMLÎĵµ
        XmlDeclaration xde;//±íʾ XML ÉùÃ÷½Úµã£º<?xml version='1.0'...?>
        xde = xd.Cre ......

ASP.NETѧϰ±Ê¼ÇÁù ´î½¨¡°µÚÈý²¨Êéµê¡±ÏµÍ³¿ò¼Ü

Ò»°ã´î½¨Èý²ã¿ò¼ÜÏîÄ¿ÊÇÕâÑùµÄ:
1¡¢´´½¨Ò»¸ö¿ÕµÄ½â¾ö·½°¸
2¡¢´´½¨Àà¿âÏîÄ¿
3¡¢´´½¨ÍøÕ¾ÏîÄ¿
4¡¢Ìí¼ÓÏîÄ¿Ö®¼äµÄÒýÓã¬ÐèҪעÒâµÄÊDZíʾ²ã£¨ÍøÕ¾ÏîÄ¿²ã£©ÊDz»ÐèÒªÌí¼ÓÆäËü²ãÒýÓõģ¬ÒòΪÔËÐк󣬻á×Ô¶¯²úÉú¶ÔÆäËüÏîÄ¿µÄÒýÓÃ
 Èý²ã½á¹¹£º
         Êý¾Ý·ÃÎʲ㣺Ö÷ҪʵÏÖÊý ......

ASP.NET¿çÒ³Ãæ´«Öµ¼¼ÇÉ×ܽá

1.  ʹÓÃQueryString±äÁ¿
QueryStringÊÇÒ»Öַdz£¼òµ¥µÄ´«Öµ·½Ê½£¬Ëû¿ÉÒÔ½«´«Ë͵ÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖС£Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ£¬¿ÉÒÔʹÓÃÕâ¸ö·½·¨¡£µ«ÊǶÔÓÚ´«µÝÊý×é»ò¶ÔÏóµÄ»°£¬¾Í²»ÄÜÓÃÕâ¸ö·½·¨ÁË¡£ÏÂÃæÊÇÒ»¸öÀý×Ó£º
a.aspxµÄC#´úÂë
private void Button1_Click(object sen ......

Asp.net ºǫ́µ÷ÓÃjs·½·¨(ת)

1. ÓÃResponse.Write·½·¨
¡¡¡¡´úÂëÈçÏ£º
Response.Write("<script type='text/javascript'>alert("XXX");</script>");
´Ë·½·¨È±ÏݾÍÊDz»Äܵ÷Óýű¾ÎļþÖеÄ×Ô¶¨ÒåµÄº¯Êý£¬Ö»Äܵ÷ÓÃÄÚ²¿º¯Êý£¬¾ßÌåµ÷ÓÃ×Ô¶¨ÒåµÄº¯ÊýÖ»ÄÜÔÚResponse.WriteдÉϺ¯Êý¶¨ Ò壬±ÈÈç
Response.Write("<script type='tex ......

ASP.NET note I

 Page_Load--Ò³Ãæ¼ÓÔØʼþ.
Page.IspostBackÅжÏÊÇ·ñµÚÒ»´Î¼ÓÔØ¡£
   ÿ´ÎÏìÓ¦·þÎñÐÅÏ¢(¼È¿Í»§ÇëÇóASP.NETÒ³Ãæ-ASPXÎļþ»òWeb·þÎñ-
ASMXÎļþ)¾Í¼ÓÔØÒ»´Î(Ö´ÐÐÒ»´ÎPage_Load)¡£
   ¼ÓÔصÄʱºò²¢²»ÊÇÿ´Î¶à±àÒëÒ»´Î´úÂëÎļþ£¬ÒòΪ£ºÃ¿Ò»´ÎÇëÇó
ASPXÎļþʱ²¢²»ÊǶàÒª½øÐÐÒ»´Î±àÒ룬¶øÊǵÚÒ»´ÎÖ´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ