<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title>DongPad</title><link>http://www.dongpad.com</link> <description>Every day is a new beginning!</description><copyright>2.0 beta 03</copyright> <language>zh-cn</language><item><title>无法调试aspx文件的解决方法</title><description><![CDATA[<p>windows 2008+VS2008+NOD32无法调试aspx文件的解决方法。</p>  <p><font color="#804040"><strong>删除C:\Windows\System32\drivers\etc\hosts里下面一行注释掉就没问题了。       <br /># ::1&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; localhost</strong></font></p>  <p>这一行有什么作用呢？下面的内容出自维基百科：</p>  <blockquote>   <p>在计算机网络中，localhost(意为“这台计算机”)是给回路网络接口的一个标准主机名。这个名称也是一个保留域名(RFC 2606) (参见.localhost)，为了避免同狭义定义主机名混淆而单独列出。</p>    <p>在不使用计算机的主机名称的地方指定为localhost。[1]例如，将web服务器上安装的web浏览器指向<a href="http://localhost/">http://localhost</a>，将会显示运行这个浏览器的计算机上所服务的网站的主页，但是只有当web服务器配置至服务回路接口。</p>    <p>localhost always translates to the loopback IP address 127.0.0.1 in IPv4, or ::1 in IPv6 (see below).[2]</p>    <p>Communicating with the loopback interface in an identical manner as with a remote computer, but bypassing the local network interface hardware, is useful for the purposes of testing software. Connecting to locally hosted network services (such as game servers) or for other inter-process communications can be performed through localhost addresses in a highly efficient manner.</p>    <p>For example, a common basic test of the TCP/IP protocol stack on a computer is to use the ‘ping’ command at the operating system’s command line prompt:</p>    <p>ping localhost</p>    <p>IETF document “Special-Use IPv4 Addresses” (RFC 3330) describes the IPv4 address block 127.0.0.0/8 as being reserved for loopback. It is therefore excluded from assignment by a Regional Internet Registry or IANA.</p>    <p>For IPv4 communications, the virtual loopback interface of a computer system is normally assigned the address ‘127.0.0.1′ with subnetwork mask ‘255.0.0.0′. Depending on the specific operating system in use (notably in Linux), and the routing mechanisms installed, this often populates the routing table of the local system with an entry so that packets destined to any address from the ‘127.0.0.0/8′ block would be routed internally to the network loopback device.</p>    <p>In IPv6, on the other hand, the loopback routing prefix ::1/128 consists of only one address ::1 (i.e., 0:0:0:0:0:0:0:1, the address with a one at its least significant bit and zero otherwise) is explicitly defined as an automatic loopback address (RFC 4291), though additional addresses may be assigned to the loopback interface by the host administrator.</p>    <p>Any IP datagram with a source or destination address set to a localhost address must not appear outside of a computing system, or be routed by any routing device. Packets received on an interface with destination address of ‘localhost’ must be dropped.</p>    <p>One notable exception to the use of the 127/8 network addresses is their use in Multiprotocol Label Switching (MPLS) traceroute error detection techniques (RFC 4379) in which their property of not being routable provides a convenient means to avoid delivery of faulty packet to end users.</p></blockquote>]]></description><author>Jack</author><link>http://www.dongpad.com/CSharp-20090409-172.html</link><pubdate>2009-4-9 8:55:25</pubdate></item></channel></rss>