Logging to elmah.io from DevExpress (eXpressApp Framework)
eXpressApp Framework (XAF) is built on top of ASP.NET. Installing elmah.io corresponds to any other ASP.NET site:
dotnet add package Elmah.Io
<PackageReference Include="Elmah.Io" Version="4.*" />
paket add Elmah.Io
During the installation, you will be asked for your API key (Where is my API key?) and log ID (Where is my log ID?).
To verify the integration, throw a new exception in
Default.aspx or similar:
<body class="VerticalTemplate"> <% throw new Exception("Test exception"); %> <form id="form2" runat="server"> <!-- ... --> </form> </body>
Launch the project and see the test exception flow into elmah.io.
This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.
See how we can help you monitor your website for crashes Monitor your website