{{ !articles[0].partner.isSponsoringArticle ? "Platinum" : "Portal" }} Partner

ELMAH.MVC 2.0.2 is out

Published by

ELMAH MVC 2.0.2 has been just pushed recently. This is a contribution by James Crowley which adds a special configuration key that prevents ELMAH.MVC to setup a global `HandleErrorAttribute()`. It's in particular useful, than you already setup some configuration inside the app, so you don't want default behavior.

Inside the web.config file you will find a configuration setting for that.

 <add key="elmah.mvc.disableHandler" value="false" />
 <add key="elmah.mvc.disableHandleErrorFilter" value="false" />
 <add key="elmah.mvc.requiresAuthentication" value="false" />
 <add key="elmah.mvc.allowedRoles" value="*" />
 <add key="elmah.mvc.route" value="elmah" />

It is elmah.mvc.disableHandleErrorFilter. By default it's `false`, meaning `HandleErrorAttribute()` from ELMAH.MVC is used. To disable it, just set true to this setting.

And btw, it's already 30.000 downloads of NuGet package! Huge number, thanks a lot for all users and contributors.


Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB.

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks