Silverlight OOB 与 Fiddler 的奇怪行为
我有一个使用 MEF 与 Prism 组合而成的 Silverlight 应用程序来动态加载模块。
当我从浏览器中取出这个应用程序时,我遇到了一些奇怪的行为!
如果当我加载 SL 应用程序时 fiddler 恰好正在运行,模块将按预期加载并且一切正常。但是,如果 fiddler 没有运行,我只会得到一个纯白色的框,因为我的模块都没有加载。
我认为这与我在模块目录中对 .xap 文件的引用有关?但我不明白为什么运行 fiddler 意味着我的模块目录功能正常。
非常感谢任何破译这一点的帮助。
I have a Silverlight app I've composed with Prism using MEF to dynamically load modules.
When I take this app out of browser I experience some strange behaviour!
If fiddler happens to be running when I load my SL app, the modules load as expected and everything works fine. However if fiddler is not running I just get a plain white box as none of my modules are loaded.
I assume this has something to do with the references I have in my module catalog to the .xap files? But I don't understand why running fiddler would mean my module catalog functions correctly.
Any help in deciphering this is much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当 fiddler 捕获时,它会修改 Internet 选项代理设置,并将其自身作为代理插入。有时事情可能会变得混乱,因此当 Fiddler 没有捕获应该是临时设置的内容时,它们会保留在原处。通常情况下,您会发现所有 IE 使用都被破坏了。
在 Fiddler 未运行时检查该计算机上的 Internet 选项代理设置,以确认设置是否符合您的预期。
如果应用程序在作为 OOB 安装时可能无法捕获到代理设置,那么它将始终使用 Fiddler 作为代理。如果检查您的代理设置没有发现任何问题,请尝试以 OOB 方式卸载,然后在 Fiddler 未运行时重新安装。
When fiddler is capturing it modifies the Internet Options proxy settings it insert itself as a proxy. At times things can get confused so that when Fiddler is not capturing what should be temporary settings are left in place. Normally though you'll notice all your IE usage is broken.
Check your Internet Options Proxy settings on that machine whilst Fiddler is not run to confirm the settings are what you expect.
Failing that the app may have captured to the proxy settings when installed as OOB it will then want to use Fiddler as proxy all the time. If checking your proxy setting shows up nothing untoward try uninstalling as OOB then reinstalling while Fiddler is not running.