In this recipe, we take a look at how to handle cross cutting concerns in our Nancy application. Specifically, we will see the following:
Both of these are achieved via the application wide hooks; that is, they work for all requests. There are similar module specific hooks; for example, they work only on requests handled by that module.
We will use the NLog (http://nlog-project.org) logging library in this recipe but this could be any logging library.
We will work on the code done so ...