Last post Jun 23, 2017 03:46 PM by PatriceSc
Jun 23, 2017 02:38 PM|Robbied81|LINK
Is anyone aware of a way to enable/disable application level tracing in c#. I have an admin screen with a checkbox. I'd like to be update the web.config <trace> element and set enabled to true/false based on whether the checkbox is checked/unchecked?
I don't really want to go through each page and enable or disable it.
Jun 23, 2017 03:46 PM|PatriceSc|LINK
Try perhaps something such as https://msdn.microsoft.com/en-us/library/ms228063.aspx#Updating+Configuration+Settings