我们WCF SVC文件包含以下内容:debug = true .svc文件中?
<%@ ServiceHost Service="Foo"
Factory="Bar"
Language="C#"
Debug="true" %>
什么调试=真实平均数在这种情况下? web.config有debug = false,但我不知道这是什么意思,并且无法在MSDN上找到参考。
我们WCF SVC文件包含以下内容:debug = true .svc文件中?
<%@ ServiceHost Service="Foo"
Factory="Bar"
Language="C#"
Debug="true" %>
什么调试=真实平均数在这种情况下? web.config有debug = false,但我不知道这是什么意思,并且无法在MSDN上找到参考。
报价http://msdn.microsoft.com/en-us/library/aa967286.aspx:
调试
指示是否在Windows 通讯基础(WCF)服务 应使用调试符号进行编译。 如果WCF服务应该是用调试符号编译的 ,则为true; 否则为false。
没有调试符号,调试服务将变得更加困难。
谢谢。如果web.config的debug = false,这意味着什么? – JohnW 2010-05-26 20:04:32
我的看法是,这将覆盖web.config中的内容,但仅限于此特定服务。不过,我可能是错的。
类似的问题和有用的答案在这里: [http://stackoverflow.com/questions/10479798/wcf-svc-debug-true-ignored-when-when-release-compiling][1] [http://stackoverflow.com/questions/8362603/wcf-servicehost-debug-true-but-web-config-compilation-false][2] [1]:HTTP:// stackoverflow.com/questions/10479798/wcf-svc-debug-true-ignored-when-when-release-compiling [2]:http://stackoverflow.com/questi ons/8362603/wcf-servicehost-debug-true-but-web-config-compilation-false – demp 2012-10-22 09:22:36