i am using ELMAH – Error Logging Modules And Handlers For ASP.NET in my project!
is there a way for put elmah’s configuration in a separate web.config file?
mean is it possible to have two or more merged configuration files in a project?
thanks in advance
So long as you use the
configSourceattribute, you can use as many different files as you want.It is common to all configuration sections (documented here).
Assuming your section group is named
elmah, you can do the following: