使用 localhost 调试时 ASP.Net MVC html 中的有趣字符
Funny characters in my ASP.Net MVC html when debugging using localhost
我有一个奇怪的问题。
我的站点在 QA 和 LIVE 环境中运行良好,但我无法使用 localhost 进行调试。如图所示,它呈现了许多奇怪的字符。这会破坏 Javascript 并且站点根本无法运行。
我在标签中没有 xmlns 属性,添加后一些奇怪的字符已经消失,但不是全部。
在我将 .Net 框架升级到 4.5.2 并开始使用 Visual Studio 2013 后,这种情况就开始了。
我有几个网站设置了 same/similar 代码和 JS 库。他们在我的本地主机上工作正常。
不知道问题出在哪里。任何指导都会有所帮助。
QA link 检查 html 是 https://vodafonehub.synchro.com.au
要解决此问题,请取消选中启用浏览器 Link 并重新加载网页(不需要重建)。
与 VS 2013 中的 Browser Link 功能相关。在您的工具栏中查找:
您可以在以下位置找到更多相关信息:
Page uses an invalid or unsupported form of compression when debugging ASP.NET MVC app with Visual Studio 2013 Preview
Garbage tags showing up in MVC views after installing VS 2013 + .Net 4.5.1
我有一个奇怪的问题。 我的站点在 QA 和 LIVE 环境中运行良好,但我无法使用 localhost 进行调试。如图所示,它呈现了许多奇怪的字符。这会破坏 Javascript 并且站点根本无法运行。
我在标签中没有 xmlns 属性,添加后一些奇怪的字符已经消失,但不是全部。
在我将 .Net 框架升级到 4.5.2 并开始使用 Visual Studio 2013 后,这种情况就开始了。
我有几个网站设置了 same/similar 代码和 JS 库。他们在我的本地主机上工作正常。
不知道问题出在哪里。任何指导都会有所帮助。
QA link 检查 html 是 https://vodafonehub.synchro.com.au
要解决此问题,请取消选中启用浏览器 Link 并重新加载网页(不需要重建)。
与 VS 2013 中的 Browser Link 功能相关。在您的工具栏中查找:
您可以在以下位置找到更多相关信息:
Page uses an invalid or unsupported form of compression when debugging ASP.NET MVC app with Visual Studio 2013 Preview
Garbage tags showing up in MVC views after installing VS 2013 + .Net 4.5.1