Using the elmah.io extension for Visual Studio
Being able to focus on .NET developers makes it possible to do all kinds of cool things. Like building an elmah.io extension for Visual Studio. That's exactly what we've done and here's how to use it.
Download the elmah.io extension from the Visual Studio Marketplace.
Don't use the Extensions and Updates feature inside Visual Studio, since Visual Studio causes a problem with installing extensions in previous versions.
Double/click the downloaded VSIX and enable elmah.io in the versions of Visual Studio of your choice. The extension supports Visual Studio 2015, 2017, and 2019. If you like living on the edge, there's a preview for Visual Studio 2022 here.
Inside Visual Studio navigate to View | Other Windows | elmah.io or simply search for elmah.io in the Quick Launcher (Ctrl + Q).
You'll see the elmah.io window somewhere. Click the Sign In button and sign in with a username/password or one of the social providers:
If you are part of multiple elmah.io organizations, select the one you want to access:
If this is the first time someone is browsing the chosen organization from Visual Studio, authorize the creation of a new API key:
Once logged in, the list of logs is populated with all of your logs defined at elmah.io. Select a log and click the search icon:
Log messages can be filtered by date range, full-text search, and using Lucene query language as already known from the elmah.io UI.
To inspect a single message, double-click it and the message details window will open:
The toolbar at the top provides a couple of options: View the message on elmah.io, hide the message and delete the message.
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.