Len*_*rri 9 asp.net-mvc visual-studio-debugging iis-express visual-studio-2013
在尝试ASP.NET MVC使用最近发布的VS 2013 Preview 调试项目时,我收到以下消息:
内容编码错误
您尝试查看的页面无法显示,因为它使用无效或不受支持的压缩形式.
请与网站所有者联系,告知他们这个问题.
在Firebug我看到此错误消息:
SecurityError: The operation is insecure
Run Code Online (Sandbox Code Playgroud)
尝试使用谷歌Chrome和IE 11,同样的问题发生了.
是什么造成的?
注意:我在Windows 8.1上使用IIS Express调试站点 http://localhost:7777
我可以使用VS 2012进行调试.
Len*_*rri 20
好吧......在尝试了一些选项之后,我Browser Link在VS 2013工具栏中禁用了我的应用登录页面.

看起来他们需要做更多的工作,因为它在我的情况下没有开箱即用.
在调试微软开发人员的问题之后,Mads Kristensen(ASP.NET上的PM)解决了我Web.config文件中的问题.
内部<system.webServer>元素我有:
<urlCompression doDynamicCompression="true"
doStaticCompression="true"
dynamicCompressionBeforeCache="true" />
Run Code Online (Sandbox Code Playgroud)
这会dynamicCompressionBeforeCache="true"干扰HttpModules(这是Browser Link使用的).将其设置为false在Visual Studio 2013 Preview中启用浏览器链接.
参考
浏览器链接用于将Visual Studio直接连接到浏览器.
浏览器链接 - 浏览器和Visual Studio之间的SignalR通道
Visual Studio Preview 2013中的浏览器链接功能
| 归档时间: |
|
| 查看次数: |
17230 次 |
| 最近记录: |