Announcing ReflectInsight 5.4

Today we’re excited to announce the general availability of our next release of ReflectInsight, version 5.4.6412.57.

This update includes the following bug fixes and improvements:

Viewer Improvements

  • Updated wording in the Options Dialog in the Auto Save/Auto Purge sections to make it more clear what each represents:
    image
  • Added new Auto Save by File Size. File size can be between 0 MB and 102,400 MB. File size of 0 is ignored
  • Updated layout in the Options Dialog in the Font and Colors section
  • Fixed a bug when checking for updates when in debug mode
  • Fixed an issue where live messages were not properly blocked when the Live Viewer would crash when receiving messages to the Watch and a user changed the theme. if changing the theme
  • Updated the Account backstage to show license expiry information for when a user’s support and upgrade expires
  • Updated status bar label to show number of messages in the current User Defined View vs. that of the Master view. In this example the Master view has 123 messages and the User Defined View only has 30:
    image
  • Updated status bar button Keep New Messages in View to show the text label:
    image

     

    Library Improvements

    • Added support for Auto Save by File Size. File size can be between 0 MB and 102,400 MB. File size of 0 is ignored
    • Added support for passing in XML document objects (i.e. XmlDocument and XDocument) for SetExternalConfigurationMode
    • Fixed an issue with Debugger Attached mode where messages to the Live Viewer were being cut short because the connection was closed before all messages were flushed
    • Added ability within the TraceMethod scope to execute the inner body code, allowing you to trap and log exceptions based on policy
    • Updated library, extensions and listeners to latest NuGet packages
    • Configuration bug fixes

        Other Improvements

      • New Destination Binding sample
      • New Database (SQL Server) Listener sample
      • Updated samples to latest NuGet packages
      • Updated Router Service and installer with new application logo/icon
      • General performance improvements

      Please download the latest version of ReflectInsight now and enjoy! Also checkout our updated Samples, and of course all our libraries can be found on NuGet.

      Download_Trial42

      We welcome any feedback you may have. Feedback can be given at our UserVoice site.

      Thanks
      ReflectSoftware Team

      Advertisements

      Introduction to Trace Sources with ReflectInsight Logging Extensions

      We’ve updated our .NET Diagnostic Debug/Trace Extension to now include support for TraceSource.

      The TraceSource class is used by applications to produce traces that can be associated with the application. TraceSource provides tracing methods that allow you to easily trace events, trace data, and issue informational traces. Trace output from TraceSource can be controlled by configuration file settings. The configuration file is located in the folder with the application executable and has the name of the application with the .config file name extension added. For example, the name of the configuration file for TraceSourceSample.exe is TraceSourceSample.exe.config. The configuration file can be used to determine where the trace information is to be sent and what levels of activity are to be traced.

      Configuration

      To configure your application to use the new ReflectSoftware Insight Extension for TraceSource, you will need to add the the following to your app configuration file:

      <configuration>
        <system.diagnostics>
          <sources>
            <source name="SourceTrace" switchValue="All">
              <listeners>
                <clear />
                <add name="ReflectInsight.Trace" />
              </listeners>
            </source>
          </sources>
          <sharedListeners>
            <add name="ReflectInsight.Trace" type="ReflectSoftware.Insight.RITraceListener, ReflectSoftware.Insight" />
          </sharedListeners>
        </system.diagnostics>
      </configuration>
      

      There is a getting started guide over on the InsightExtensions site that goes into more detail about configuring this extension.

      New Message Types for TraceSource Messages

      We’ve added additional message types to support TraceSource. These message types are Start, Stop, Suspend, Resume, Transfer and Verbose.

      Here is a screenshot demonstrating these message types:

      sshot-511

      By adding support for TraceSource, this allows you to leverage your current investment in this, but leverage the power and flexibility that comes with the ReflectInsight viewer. You can now view your Debug/Trace messages in real-time, in a rich viewer that allows you to filter out and search for what really matters to you.

      References

      Getting Started with the .NET Diagnostic Debug/Trace Insight Extension

      We’ve added support for the System.Diagnostics Debug/Trace functionality. This allows you to leverage your current investment in this, but leverage the power and flexibility that comes with the ReflectInsight viewer. You can view your Debug/Trace messages in real-time, in a rich viewer that allows you to filter out and search for what really matters to you.

      .NET Diagnostic Debug/Trace Configuration

      1. Download and install the ReflectInsight Viewer. You will need this installed to view your messages from the ReflectInsight Logging Extensions.

      Download

      2. Once you have the ReflectInsight Extensions, go to your project in Visual Studio and add a reference to ReflectSoftware.Insight..dll
      DebugTrace_Adding_Assembly_thumb4 
      3. The next step is to configure your app or web configuration file and incorporate the ReflectInsight appender. If you don’t already have an App.config or Web.config, add it. Then open the configuration file and add a new config section as shown here:

      RI_Extensions_Tracer_Configuration_t

      4. Now you need to add another configuration file to your project for the Insight configuration details. Typically this file is called Insight.config.

      5. Now that you’ve added the Insight configuration file to your project, we’ll need to add an entry to your app/web configuration file to reference it:

      image_thumb5_thumb

      6. Now you need to configure your App/Web configuration with a reference to the System.Diagnostics section. You need to add the following section:

      RI_Extensions_Tracer_Listener_thumb2

      7. That’s it, you’re done!

      8. For an even easier setup and configuration, try using our NuGet package which will automate all of this for you.

      NuGet Package

      We’ve created a NuGet package for our Debug/Trace extension. You can find it over on Nuget.

      To install the ReflectInsight Debug/Trace extension, run the following command in the Package Manager Console.

      sshot-3235

       

      References

      Documentation

      Documentation for our ReflectInsight Viewer is available here.
      Documentation for our ReflectInsight Logging Extensions can be found here.

      ReflectInsight Viewer Download

      Download ReflectInsight now and enjoy!

      Download

      Feedback

      We welcome any feedback you may have on our Insight Extensions or the ReflectInsight Viewer. This can be done on our UserVoice site.

      The ReflectSoftware Team

      %d bloggers like this: