Add Loupe to Your Project

Add the Gibraltar Loupe Agent for ASP.NET Web Forms NuGet package then tweak your web.config file, as shown below.

<?xml version="1.0"?>
<configuration>
    <!-- ... -->
    <gibraltar>
        <publisher productName="MyCompany"
                    applicationName="Website"
                    applicationVersion="1.0"
                    environmentName="Production"
                    promotionLevelName="Release" />
    </gibraltar>
    <!-- ... -->
</configuration>

To have Loupe Server provide centralized log and error management, just add one more line of XML:

<?xml version="1.0"?>
<configuration>
    <!-- ... -->
    <gibraltar>
        <publisher productName="MyCompany"
                    applicationName="Website"
                    applicationVersion="1.0"
                    environmentName="Production"
                    promotionLevelName="Release" />
        <server autoSendSessions="true"
                useGibraltarService="true"
                customerName="YOUR LOUPE SERVICE ACCOUNT" />
        <!-- If you have an on-premises Loupe Server, use this instead:
        <server autoSendSessions="true"
                useGibraltarService="false"
                server="YOUR LOUPE SERVER DNS NAME" /> --> 
    </gibraltar>
    <!-- ... -->
</configuration>

That was easy! What's Next?

With just these few steps you're now collecting crucial details on every error, recording performance metrics and logging every trace message your program emits.

Learn more about Loupe in our ASP.NET Web Forms Developers Guide.