Quantcast
Channel: Operations Manager - Application Performance Monitoring (APM) forum
Viewing all articles
Browse latest Browse all 559

Does APM Support Monitoring Asyc WCF Calls

$
0
0

Taking a simple service as below - I'm unable to get APM to capture any exceptions with the async implementation. (the none async implementation is good - as expected)

Is this pattern supported with APM monitoring?

[ServiceContract]
public interface IService1
{
 [OperationContract()]
 void Call1(string arg1);

 [OperationContract()]
 Task<string> Call2(string arg1);
}

public class Service1 : IService1
{
 public void Call1(string arg1)
 {
  throw new Exception("Call1 failed");
 }

 public async Task<string> Call2(string arg1)
 {

// I realize this is a naff implementation - but it simplifies the issue I'm seeing

  throw new Exception("Call2 failed");
 }
}


Viewing all articles
Browse latest Browse all 559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>