To Test WCF service
wcftestclient.exe [C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE]
wcftestclient.exe [C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE]
To Configure WCF
Configuration Editor Tool (SvcConfigEditor.exe) [C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\SvcConfigEditor.exe ]
Configuration Editor Tool (SvcConfigEditor.exe) [C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\SvcConfigEditor.exe ]
To Trace WCF Request in server inside <configuration> tag in web.config
Service Trace Viewer Tool (SvcTraceViewer.exe) [ <Installation_Drive>\Program Files\Microsoft SDKs\Windows\v6.0\Bin ] or [C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin]
or
open visual studio (web application or web site) => Tools => WCF service configuration editor
or
open visual studio (web application or web site) => Tools => WCF service configuration editor
To Trace and save service request in server
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Verbose,Information, ActivityTracing,Critical,Error,Warning"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\log\Traces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Verbose,Information, ActivityTracing,Critical,Error,Warning"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData= "c:\log\Traces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
To increase incoming message size in server using web.config
No comments:
Post a Comment