How do I configure ELMAH programmatically?
I'm interested in using ELMAH but need to configure it programmatically. We have existing infrastructure for determining connection strings and the like,开发者_如何学运维 and can't code them into Web.Config.
How do I go about using ELMAH in this case?
Subclassing like the above answer didn't make sense. I did some more searching and found this blog post which worked for me: http://blog.travisgosselin.com/elmah-with-programmatic-configuration/
精彩评论