Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

ELMAH.MVC 2.0.2 is out

DZone's Guide to

ELMAH.MVC 2.0.2 is out

·
Free Resource

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.

<appSettings>
 <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" />
</appSettings>

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.


Topics:

Published at DZone with permission of Alexander Beletsky, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}