Database Reference
In-Depth Information
We will configure the app.config file. We will add several areas to the app.config
file:
1. Log4net has to be included in the configuration section.
2. We will add an entire section for AdoNetAppender that will span many lines
telling the system how to configure the table, with specific files to be added to
each row in the table.
3. We will reuse the existing connection string. Using the same connection string
several times in the same app.config file has a tendency to create deadlocks,
so it is best to reuse the same alias name originally created for the connection
string. In this case, NServiceBus/Transport .
We will configure NSB to log with Log4Net in code as follows:
Search WWH ::




Custom Search