.net - Programmatically define system.web/compilation tag on WCF Service -
I am trying to define all my WCF service configurations in code, I get it in the system.servicemodel section and let me Found right. But I want to set the debug attribute to the correct compilation section (this self hosted service):
& lt; System.web & gt; & Lt; Compilation debug = "true" strict = "false" clear = "true" target = Fraamework = "4.5" /> & Lt; HttpRuntime targetFramework = "4.5" /> & Lt; /system.web> I have done this already, but I do not know where to add it to work:
A slow WebConf as a new system .vb .Configuration.CompilationSection webConf.Debug = True webConf.Strict = False webConf.TargetFramework = "4.5"
directly in your startup method
Comments
Post a Comment