Hello all,
I wonder if there is any way to instruct dynamicWeb to ignore any DwTemplateTags found? As it is a tag used during development and debugging, it could be nice to have some on/off functionality.
When I develop my own modules, I use a construct like this:
[System.Diagnostics.Conditional("DEBUG")]
protected void DebugMessage(string message)
{
Dynamicweb.Base.w(message);
}
And voila, all calls to DebugMessage is gone when I compile in release mode.
Thank's for a great forum!
Developer forum
DwTemplateTags and release mode
Replies
You must be logged in to post in the forum