windows 7 ÏÂASP.net ±¾µØÅäÖà ( IIS 7)
½ñÌìµ÷ÊÔblend 3µÄÒ»¸öZune3DÑùÀýʱ, ÔËÐкóÉú³ÉµÄÊÇsliverlight³ÌÐò, ÓÉÓÚÎҵĻúÆ÷ÊǸմÓvistaÉý¼¶µ½windows 7, iis¶¼Ã»ÓÐÅäÖÃ, Òò´ËÎÞ·¨Ô¤ÀÀ.ÏÖ¸ø³ö²½Öè:
(Ò». ÅäÖÃIIS)
1. ´ò¿ª"Control Panel" / "Programs" / "Turn Windows features on or off", ¹´Ñ¡"Internet Information Services", windows 7ĬÈϹ´Ñ¡ÀïÃæWMTºÍWWWSµÄ²¿·ÖÑ¡Ïî. µã»÷ "Ok", Í˳ö.
2. ´ò¿ª"Start / All Program" / "Administrtive Tools" / "Internet Information Services(IIS) Manager". Ò²¿ÉÒÔÖ±½ÓÔÚ "Start Menu"ÏÂÖ±½ÓËÑË÷"IIS"
3. µã»÷×ó±ßÊ÷ÖÐ"Site"½Úµã, Ñ¡Ôñ"Default Web Site", ´ò¿ªºóÑ¡Ôñ"Default Web Site"ÓұߵÄActions, µ¥»÷"Start", Èç¹û³öÏÖ0x80070020µÄÒ»¸ö´íÎó¶Ô»°¿òµÄ»°, ÊÇÒòΪ¶Ë¿Ú80±»±ðµÄÓ¦ÓóÌÐòÕ¼ÓÃ, µ¥»÷ActionsµÄ"Bindings..."°´Å¥, ±à¼Ä¬ÈϵÄ80¶Ë¿ÚΪÆäËûµÄ¶Ë¿Ú, ±ÈÈç81.
4. µ¥»÷ActionsµÄ"Restart", Ñ¡Ôñ"Browse *:81(http)"¾Í»á¿´µ½IISµÄstartÒ³Ãæ.
(¶þ, ÅäÖÃ×Ô¼ºµÄÍøÕ¾Zune3D)
1. ÓÒ»÷×ó±ßÊ÷ÖеÄ"Application Pools", Ñ¡Ôñµ¯³ö²Ëµ¥µÄ"Add Application Pool..."Ñ¡Ïî, ÃüÃûΪ"Zune3D", È·¶¨Í˳ö.
2. ÓÒ»÷×ó±ßÊ÷ÖеÄ"Sites", Ñ¡Ôñµ¯³ö²Ëµ¥µÄ"Add Web Site"Ñ¡Ïî, site nameÌîд"Zune3D", Application pool:Ñ¡Ôñ¸Õ²Å´´½¨µÄ"Zune3D",
Physical path:Ñ¡ÔñZune3DËùÔÚµÄĿ¼. µ¥»÷"Connect as..."°´Å¥ºó³öÏÖ"Connect As"¶Ô»°¿ò, ¹´Ñ¡"Specific user:", µ¥»÷"Set", ÔÚµ¯³öµÄ¶Ô»°¿òÌîÈë±¾»úµÄ¹ÜÀíԱȨÏÞµÄÓû§ÃûºÍÕ˺Å. µã»÷"Ok"ºóÍ˳ö"Connect As"¶Ô»°¿ò, ´Ëʱ¿ÉÒÔµ¥»÷"Test Settings"°´Å¥²é¿´¸Õ²ÅÅäÖÃÊÇ·ñ³É¹¦. È»ºóÔÚport:ÖÐÌîÈëÓÐЧ¶Ë¿Ú, ±ÈÈç82.
3. µ¥»÷×ó±ßÊ÷"Site"ϸմ´½¨µÄ"Zune3D", Ñ¡ÔñÓұߵÄ"Diretory Browsing", ´ò¿ªºóÑ¡Ôñ"Directory Browsing"ÓұߵÄActions, ¹´Ñ¡"Enable". Ôٴεã»÷×ó±ßÊ÷µÄ¸ù½Úµã, Ñ¡ÔñÓұߵÄ"Default Document", ´ò¿ªºóÑ¡Ôñ"Diretory Browsing"ÓұߵÄActions, µ¥»÷"Add", ÌîÈë"Default.html",µã»÷"OK". µã»÷ActionsÀïµÄ"Move up", °Ñ"Default.html"Ñ¡ÏîÒÆÖÁ¶¥²¿.
4. µ¥»÷ActionsµÄ"Restart", Ñ¡Ôñ"Browse *:82(http)"¾Í»á¿´µ½Zune3DµÄÒ³ÃæÁË.
Ïà¹ØÎĵµ£º
asp.netµ¯³ö´°¿ÚÉè¼Æ
¡²×ª¡³http://hi.baidu.com/%CE%DE%B7%E7%CC%FD%BA%A3/blog/item/af7182c596ce3bc339db4959.html
ÕªÒª£º±¾ÎÄÌÖÂÛÈçºÎÒÔASP.NETÖеÄCodeBehind·½Ê½ÊµÏÖ¸÷ÖÖµ¯³ö´°¿Ú£¬ÊµÏÖÓ뵯³ö´°¿ÚµÄ½»»¥¡£²¢Ì½ÌÖ³£Ó÷DZê×¼IEä¯ÀÀÆ÷¶Ôµ¯³öµÄ´°¿ÚµÄ¸÷ÖÖ¹ýÂËÐÐΪ¼°Ê¹Óõ¯³ö´°¿ÚÏàÓ¦¶Ô²ß£¬ÒÔÆÚ¸ø³öʹÓõ¯³ö´°¿ÚµÄÒ»¸öͨ ......
asp.net»ñÈ¡¿Í»§¶ËµÄMACµØÖ·¡²Ö»ÊÊÓÃÓÚ¾ÖÓòÍø¡³
[ת]http://www.cnblogs.com/scgw/archive/2008/08/01/1213951.html
½üÈÕÔÚ×öÒ»¸öͶƱϵͳÖÐÓÐÕâÑùÒ»¸öÐèÇó£ºÎªÁË·ÀÖ¹¶ñÒâÀƱ»òˢƱ£¬ÐèҪͨ¹ýÔ¶³Ì¿Í»§¶ËµÄIPµØÖ·
À´»ñÈ¡¿Í»§¶ËÍø¿¨µÄMACµØÖ·¡£ÍíÉÏÕÒÁ˺ܶà×ÊÁÏ£¬ÖÕÓÚÓеãÊÕ»ñ¡£
ÈçºÎÈ¡µÃÍø¿ ......
/// <summary>
/// ×Ö·û´®Çиî
/// </summary>
/// <param name="p_SrcString"></param>
/// <param name="p_Length"></param>
/// <returns></returns>
public static string GetSubString(string p_SrcString, int ......
³£Óú¯ÊýϵÁÐ:
public static string Get_ClientIP() µÃµ½¿Í»§¶ËIP
public static string Get_CMac(string IP) µÃµ½¿Í»§¶Ë CMac µØÖ·
public static string RequestF(string xPName,string xPType,int xLenDef) °²È«½ÓÊÕÊý¾ÝϵÁÐ
public static string Show_Cont(string xStr) ¹ýÂËÏÔʾ×Ö´®
public static str ......
Æô¶¯Ò³Ã滺´æ£¬´úÂëÈçÏ£º
<%OutputCache Duration="60" VaryByParam="*"%>
˵Ã÷£º
Duration±ØÐèÊôÐÔ¡£Ò³Ãæ±»»º´æºµ£¬ÒÔÃëΪµ¥Î»£¬ÇÒ±ØÐëÊÇÕûÊý¡£
Location Ö¸¶¨Ó¦Êä³ö½øÐлº´æµÄλÖᣲÎÊýÊÇÒÔÏÂÑ¡ÏîÖ®Ò»£ºAny,Client,Downstream,None,Server,ServerAndClient
VaryByParam ±ØÐèÊôÐÔ¡£RequestÖбäÁ¿ ......