码迷,mamicode.com
首页 > 移动开发 > 详细

IIS Express start introduction and applicationHost modification

时间:2014-10-22 10:46:19      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:style   http   color   io   os   ar   for   sp   on   

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>

IIS Express start introduction and applicationHost modification

标签:style   http   color   io   os   ar   for   sp   on   

原文地址:http://www.cnblogs.com/viviancc/p/4042373.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!