Loupe - Log - Monitor - Resolve
Loupe / Getting Started / Using Loupe with .NET Core
In This Topic
    Using Loupe with .NET Core
    In This Topic

    To cater to the unique needs of .NET Core Loupe has a dedicated stack of agents designed for .NET Standard 2.0 and later / .NET Core 2.1.  Additional agents build on top of the core agent to provide additional logging and diagnostics for ASP.NET Core and Entity Framework Core.

    While ASP.NET Core and EF Core support applications developed for the .NET Framework the Loupe agents are designed to work on top of the Loupe Agent for .NET Core exclusively at this time.  If you need them to work for .NET Framework, contact our support team for how to build them for this situation.
     Adding the Loupe Agent to your Application

    Add the Loupe Agent for .NET Core from NuGet which will add the appropriate dependency libraries to your Visual Studio project.

    .NET Core uses a different, more flexible, approach to application configuration than .NET Framework applications.  Instead of XML config files .NET Core has an entire extensible configuration subsystem that can be used.  In most situations you'll do a combination of coded configuration and JSON configuration.  For details, see Developer's Guide - Agent Configuration.

    If you don't see anything recorded by Loupe after adding the Agent, make sure you have at least one log statement at the start of your application.  This ensures the Agent gets initialized in a timely manner.  See Ensuring the Loupe Agent gets Loaded for more information.
     Packaging and Sending Loupe Data from your Application
    The Loupe Agent provides a comprehensive set of capabilities to gather the session data recorded while your application runs and send it to where you can work with it to fix customer issues, understand feature usage, and drive your product development forward.  To determine the best approach for your situation, see Developer's Guide - Packaging and Sending Data.
    See Also