<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.diagnostics> <sources> <!-- The 'switchValue' determines the level of traces that will be outputted, e.g. 'Verbose', 'Warning', 'Error', etc --> <source name="System.ServiceModel" switchValue="Error, ActivityTracing" propagateActivity="true"> <listeners> <clear /> <!-- The 'initializeData' attribute determines to which file the traces will be written --> <add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="e2eTraceTest.xml" /> <!-- To log to a Console, use this instead of previous Node: <add name="console" type="System.Diagnostics.ConsoleTraceListener" /> --> </listeners> </source> </sources> <!-- Setting he 'autoflush' attribute to 'true' ensures that the trace sources flush to disk after each trace --> <trace autoflush="true" /> </system.diagnostics> <system.serviceModel> <bindings> <netTcpBinding> <binding name="TCPBinding" maxReceivedMessageSize="65536000"> <readerQuotas maxArrayLength="10000" maxBytesPerRead="1000000" /> </binding> </netTcpBinding> </bindings> <client> <endpoint address="net.tcp://localhost:8887/MessageSender" binding="netTcpBinding" bindingConfiguration="" contract="Thoughtworks.SAOT.Object.IMessageSender" name="MessageSender" /> <endpoint address="net.tcp://localhost:8887/SAOTService" binding="netTcpBinding" bindingConfiguration="" contract="Thoughtworks.SAOT.Object.ISAOTService" name="SAOTService" /> <endpoint address="net.tcp://localhost:8886/MessageTest" binding="netTcpBinding" bindingConfiguration="" contract="Thoughtworks.SAOT.Object.IMessageSender" name="MessageSenderTest" /> </client> </system.serviceModel> </configuration>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)