Happy New Year from ReflectSoftware

Hello everyone and welcome to 2014.

As we start off this new year, we wanted to let you know that we will soon be releasing some new updates for version 5.2 of our ReflectInsight Viewer and our .NET Logging Extensions that we worked on before breaking for the holidays.

These updates bring some minor bug fixes and performance improvements to the products. We’ll have more details to share soon as we ramp up to release this update.

Stay tuned for more information.

The ReflectSoftware Team

Announcing ReflectInsight 5.2 Logging Extensions on NuGet/CodePlex including support for Common.Logging framework

We’re pleased to announce an updated release of the ReflectInsight Logging Extension on NuGet Gallery.

This update includes the following bug fixes and improvements:

  • New Feature: Added support for Common.Logging framework
  • New Feature: Sample and Getting Started documentation for Common.Logging extension
  • New Feature: Added new SendEnumeration message
  • Improvement: Performance improvements with NLog library
  • Improvement: Performance improvements with Log4net library
  •  

    For more information about the ReflectInsight Extensions, along with documentation, source, samples and binaries, please visit our InsightExtensions CodePlex site for more information.

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

Thanks
ReflectSoftware Team

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

Introducing the ReflectInsight Email Listener Destination

We’d like to introduce to you a new destination listener extension for ReflectInsight for sending emails. This new destination listener extension is called ReflectSoftware.Insight.Listeners.Email and allows you to send logging messages via email. This is typically done for Exceptions, Errors and Fatal messages types where you might want to be notified via email if something went wrong in your application.

Email Destination Listener Configuration

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

Download

2. Download the ReflectInsight Listener Extension Binaries or Source and rebuild if necessary. We already include the *ReflectSoftware.Insight.Listeners.Email.dll* in the libraries folder as part of the above ReflectInsight download, but we will be removing this and making it available as a NuGet package as part of the next release. We will provide more details about this when it’s available on NuGet.

3. Once you have the ReflectInsight Listener Extensions, go to your project in Visual Studio and add a reference to the following assemblies:

  • ReflectSoftware.Insight.dll
  • ReflectSoftware.Insight.Listeners.Email.dll.

sshot-489

4. The next step is to configure your app or web configuration file and incorporate the ReflectInsight Email Listener. If you don’t already have an App.config or Web.config, add it. Then open the configuration file and add a new ConfigSection as shown here:

image

5. Now you will need to add and configure the <system.net> mail settings section in your configuration file and set the appropriate values:

image

6. Now you will need to add the InsightSettings section. You can get started with the following simple configuration which only includes the necessary details for this demo:

image

7. Notice the <emailDetails> section. It’s in here that you define your email template. You can pass in parameters, which is shown above for example.

8. In the <listenerGroups> section, you will need to configure the Email destination and include a filter to use. The filter is defined in the <filters> section, which you specify the messages to include or exclude from being sent to that destination. In our example, we only want to include the Error, Exception and Fatal message types. Whenever one of these messages is received, it will be delivered via email.

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

NuGet Package

We’ve also created a NuGet package for this extension. You can find it over on Nuget.

To install the ReflectInsight Email Destination Listener extension, run the following command in the Package Manager Console:

ReflectInsight_Email_Nuget

Wrapping Up

As you can see it’s very easy to get started with using the new destination Email Listener. You can view the source and create your own listeners too.

Download_Trial42

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

Thanks
ReflectSoftware Team

Announcing updated release of ReflectInsight Logging Extensions on NuGet/CodePlex

We’re pleased to announce an updated release of the ReflectInsight Logging Extension on NuGet Gallery.

This update includes the following bug fixes and improvements:

  • Improvement: Updated support for .NET Diagnostic Debug/Trace to include Sources
  • Improvement: Added support for Enterprise Library Logging Application Block v6.0
  • Improvement: Added support for PostSharp 3.0
  • Improvement: Added support for .NET 4.5 binaries

    Enterprise Library Logging Application Block

    For the Enterprise Library Logging Application Block, we posted 2 package updates to support both v5 and v6 of the Enterprise Library Logging Application Block:

    EnterpriseLibrary.Logging v5
    Install-Package ReflectSoftware.Insight.Extensions.EnterpriseLibrary -Version 5.1.2.5
    EnterpriseLibrary.Logging v6
    Install-Package ReflectSoftware.Insight.Extensions.EnterpriseLibrary

    PostSharp

    We migrated our ReflectSoftware.Insight.Extensions.PostShap extension to support the latest version of of PostSharp, version 3.0.0.26.

    For more information about the ReflectInsight Extensions, along with documentation, source, samples and binaries, please visit our InsightExtensions CodePlex site for more information.

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

Thanks
ReflectSoftware Team

ReflectInsight Logging Extensions Updated Release on NuGet Gallery

We’re pleased to announce an updated release of the ReflectInsight Logging Extension on NuGet Gallery.

For more information about the ReflectInsight Extensions, along with documentation, sample source and binaries, please visit our InsightExtensions CodePlex Site for more information.

Thanks
ReflectSoftware Team

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: