DotNet ASP NET agent constraints

Hi,
In my case I have a dot net ASPNET application deployed on IIS with dotnet framework 4.7. for information I do not have the source code of the application and I need to instrument the transactions via dotnet autoinstrumentation method. in the doc, it is clear that Elastic.Apm.AspNetFullFramework must be added then recompiled, this option is not possible in my case. so i tried every way

  • add the DLLs in the application bin
  • modified the web.conf.

it works by modifying by replacing the DLLs of the application by those of the agent however in this case the application does not work correctly because I replaced certain DLLs of the application by those of the agent having the same name .

I used the opentelemetry dotnet autoinstrumentation agent, I manage to instrument the transactions well without any change in the DLLs there is only an addition of configuration in web.config

Please, is there any way the auto instrumentation agent can work by just modifying web.config

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Hi @btsinfo - sorry for the late reply.

Your scenario is better covered by the profiler based agent: Profiler Auto instrumentation | APM .NET Agent Reference [1.12] | Elastic

That does not require any code change.

1 Like