I want to build a logging module that I can easily plug into all my sites.
I am thinking that using an HttpModule would be the best idea since I can easily incorporate it into all my existing sites.
Since the main responsibility of the module is logging, and logging actions take some time to complete I want to have my logging functions run async.
I've never used an httpmodule previously, and there doesn't seem to be a ton of good examples out there .
Does anyone have any feedback on the merits of utilizing an httpmodule for this functionality?
Should I be concerned about spinning up threads (in a threadpool) within an httpmodule? Will it noticeably impact performance?
Any other thoughts are appreciated as well.