.NET Agent 2.12.146.0

Released on: 
Friday, September 13, 2013 - 14:21

Notes

Fixes

  • Fixes an issue where content-type was being explicitly checked for "text/HTML." In some frameworks, such as NancyFX, the charset was being added to the content-type before the New Relic HTTP module was loaded which caused the explicit check to fail and the RUM header and footer to not be added to the pages.
  • Fixes an issue when the application results in a status code 404 or greater the metrics would be reported for the page not found instead of recording metrics for the 404 itself. This change also addresses an issue where assets such as png, css, js and so on would have metrics recorded for each individual asset instead of rolling them up into the appropriate asset group, such as *.png or *.css. Finally there were other metric grouping issues fixed where metrics were being named the custom route (such as /products/1) on some applications instead of using the name of the code asset that was doing the work to create the page (such as /products/productstemplate.aspx).
  • Corrects functionality of the Status Monitor for IIS6 installations and applications running under sites other than DefaultWebSite.

New Features

  • A thread profiler has been added to the .NET agent. The thread profiler is a low-impact profiling tool that can be used in production to identify bottlenecks in an application.

Improvements

  • Improves the logic around the RUM response filters which reduces the overall overhead of the .NET agent.
  • Log files now have windows style line endings so they display correctly in notepad.exe.
  • The status monitor tray application will now prompt for elevation on launch rather than error at runtime when it doesn't have correct permissions.
  • Azure Cloud Services nuget package : Modified the package so that when installing a new version it will attempt an upgrade if an existing agent is installed. (This feature requires Nuget v.2.6 which prompts the user to overwrite existing / modified files - the newrelic.cmd must be overwritten to apply the new commands on the cloud service)
  • Azure Cloud Services nuget package : The package now properly cleans up the environment variables out of the csdef when an uninstall or update occurs.
  • Azure Cloud Services nuget package : For Worker Roles, the msiexec command in the newrelic.cmd file as been changed so that when the agent is installed it will install it for all CLR based applications.