IIS Express start introduction and applicationHost modification

1. First you need create a web project in VS

2. When you finish your project, click start then IIS Express will start

3. The IIS express will only accept the localhost request

4. Stop IIS Express, then you need to modify applicationhost.config file,

  for example, it is "C:\Users\linche\Documents\IISExpress\config\applicationhost.config"

5. update the bindingInformation to accpet the more wild domain

before

            <site name="OrionPreview" id="2">
                <application path="/" applicationPool="Clr4IntegratedAppPool">
                    <virtualDirectory path="/" physicalPath="D:\OrionPreview\OrionPreview\OrionPreview" />
                </application>
                <bindings>
                    <binding protocol="http" bindingInformation="*:33809:localhost" />
                </bindings>
            </site>

after

           <site name="OrionPreview" id="2">
                <application path="/" applicationPool="Clr4IntegratedAppPool">
                    <virtualDirectory path="/" physicalPath="D:\OrionPreview\OrionPreview\OrionPreview" />
                </application>
                <bindings>
                    <binding protocol="http" bindingInformation="*:33809:*" />
                </bindings>
            </site>

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。