.NET and Open Source: better together

RTur.net

  • Join Us on Facebook!
  • Follow Us on Twitter!
  • LinkedIn
  • Subcribe to Our RSS Feed

ELMAH on BlogEngine 2.0, the easy way

Just got an email asking about how to install ELMAH on BlogEngine.NET 2.0:

I am trying to use Elmah with BE 2.0.0.40
Keep getting web.config errors one after the other.
Are you currently using it? Could you provide me a web.config for BlogEngine

Come on guys! Installing ELMAH by hand? It’s so 2010!

  1. If you don’t have NuGet package manager installed yet, do yourself a favor
  2. Open BlogEngine in Visual Studio, right-click web site in the project explorer and select “Add Library Package Reference..”
  3. Find ELMAH in the NuGet feed and click “Install”. You done.

elmah

elmah2