NLog for MVC - How to Log the Machine Name and the Client IP Address in NLog
In a previous post, I went through the steps to configure NLog for MVC web application. In the following tip I will show you the steps to log the client IP address and the machine name: Step 1: Installing NLog.Web NLog.Web is an extension that e xtend NLog with targets and layout renderers for websites and web applications. It can be downloaded from NuGet . You can u se the GUI or the following command in the Package Manager Console: …