Upgrade Notes
- This release fixes a known issue in .NET Tracer 1.18.0 - 1.19.1 that would cause .NET Framework 4.6+ applications hosted on IIS to crash with
System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a(#876) - If the provided Workaround was used, please use the provided Resolution to remove the workaround before upgrading
Changes
- Remove external assembly dependencies from the .NET Tracer:
Fixes
- Fix
System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.(PR: #880, Issue: #876) - Fix
System.InvalidProgramException: Common Language Runtime detected an invalid program(#875) - Fix
CallVirtual expected a StackExchange.Redis.RedisBase; found StackExchange.Redis.RedisBase(#872) - Fix
System.Runtime.Remoting.RemotingException: Object /<identifier1>/<identifier2>.rem has been disconnected or does not exist at the server.(#822, #855) - Fix trace agent connection issues in Azure App Services environment (#852)
- Ensure
ObjectExtensions.CallMethodcan call the same target method with different expected return types (#863) - Use the default WebRequest for the
http://prefix to send traces to the agent (PR: #860, Issue: #858) - Reduce time spent performing DNS resolution when sending traces to the agent on localhost (#841, #864, #865)
- Fix templates for tracer log messages (#847)
- Fix error handling when sending traces to the agent (#850)
- Add netstandard feature flag to the diagnostic log (#866)
Performance Improvements
- Use a single cached buffer for trace serialization (#867)