Monday, January 30, 2012

only show something in a Razor view if debugging

@if (Context.IsDebuggingEnabled)

{

   
whatever

}

No comments:

Post a Comment