Find the answer to your question
I want to go live with my application in production and I want to enable logging only certain calls to reduce overhead. How can I do that with the .NET SDK?
If you do not want to log all the requests and responses, then you can use the SoapRequest and SoapResponse properties of the API call object to get the call request and response and log it to a file.
Here is a C# sample that logs the request and response for GeteBayOfficialTime:
ApiContext context = new ApiContext();
writer = new StreamWriter(fileStream);
|.NET SDK Version||523 full release|
|Visual Studio Version||2003|