Part 1 gave an overview introduction to the app and covered job scheduling, searching for images on Bing, and downloading images. Part 2 covers setting the wallpaper, remote app settings, remote logging and more. Setting the Wallpaper The switch wallpaper job is scheduled to start running later than the download job to give time for…
Quick NLog Tip: Getting the Log Filename
I have found NLog to be very easy to use but one thing that was not clear was how to retrieve a log’s filename. Our unhandled exception process packages up different files into a zip file for support and I wanted to resolve the log filename to include it in the package. The below code…
Ninject and NLog with Multiple Loggers
Today I wanted to add some simple file logging to my ASP.NET MVC application and I thought it would be a good time to try out NLog. I used log4net in the past but it has become stale and NLog appeared more modern and capable. I liked what I saw with NLog but I wanted…