Referring to this post. He would DJ like our boy DJ Swamp!
20080114
20080104
Convert XML to HTML using NUnit
[Test]
public void Convert_xml_to_html()
{
string xml = @"<configuration>
...
<system.diagnostics>
<trace autoflush='true' />
<sources>
<source name='System.ServiceModel'
switchValue='Information, ActivityTracing'
propagateActivity='true'>
<listeners>
<add name='FuckingAwesomeWCFLogger'
type='System.Diagnostics.XmlWriterTraceListener'
initializeData='FuckingAwesomeWCF.log' />
</listeners>
</source>
</sources>
</system.diagnostics>
...
</configuration>";
Console.Out.WriteLine(xml.Replace("<", "<").Replace(">", ">").Replace("'", """).Replace("/", "/").Replace("=", "="));
}
Logging on WCF Web Services
Tired of wondering what error you have on your failing wcf service?
Add this to your web.cofig
<configuration>
...
<system.diagnostics>
<trace autoflush="true" />
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="FuckingAwesomeWCFLogger"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="FuckingAwesomeWCF.log" />
</listeners>
</source>
</sources>
</system.diagnostics>
...
</configuration>
20080102
DJ'ing = f'in Awesome!
Well just wanted to give you peeps a DJ setup check with ezed!
