You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or you can call it in the DbConfiguration class if there is one in your application to configure execution policy.
using Amazon.XRay.Recorder.Handlers.EntityFramework;
public class YourDbConfiguration : DbConfiguration
{
public YourDbConfiguration()
{
AWSXRayEntityFramework6.AddXRayInterceptor();
}
}
The Project file for AWSXRayRecorder.Handlers.EntityFramework.csproj explicitly removes this class file for .Net 2.0 Standard and .Net Core 6.0.
Why? EF6 is compatible with .Net Core 6.0
Additionally if there is a blocker, the documentation should be updated to indicate that it only works with .Net Framework
The text was updated successfully, but these errors were encountered:
Hi @sykesbPragmatics
Apologies for the late response. The decision to not support EF6 tracing with any of the .Net Core platform was taken because Microsoft recommends using EFCore for the new .NetCore applications, and that is usually a common practice.
We can look into adding the EF6 tracing support for .NetCore but I can't provide the timeline for it. In case, we don't add the support, we will update the documentation as you suggested.
Thanks.
I have a .Net Core 6.0 Application that references Entity Framework 6 (Version 6.4.4) and I'm trying to add tracing for EF6
Documentation:
https://github.com/aws/aws-xray-sdk-dotnet/tree/master#net-1
The Project file for AWSXRayRecorder.Handlers.EntityFramework.csproj explicitly removes this class file for .Net 2.0 Standard and .Net Core 6.0.
Why? EF6 is compatible with .Net Core 6.0
Additionally if there is a blocker, the documentation should be updated to indicate that it only works with .Net Framework
The text was updated successfully, but these errors were encountered: