IISExpress使用64位

(一)服务器

C#有一些函数如GetHashCode和x86,X64版本有关系,为了和服务器保持一致,本地iis Express也须要设置64位。app

方法以下,vs2010不支持。函数

vs2012能够手动添加配置code

reg add HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\WebProjects /v Use64BitIISExpress /t REG_DWORD /d 1orm

若是手动敲字母的话,要防止多一个空格。blog

vs2010不支持该方法it

(二)设置IIS能够远程访问io

 <site name="XXXX.Web" id="3">
                <application path="/" applicationPool="Clr4ClassicAppPool">
                    <virtualDirectory path="/" physicalPath="I:\XXXXXXn.Web" />
                </application>
                <bindings>
                    <binding protocol="http" bindingInformation="*:7766:*" />
                </bindings>
  </site>
相关文章
相关标签/搜索