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…
A Remotely Managed Bing Image Search Wallpaper App – Part 1
At a previous job I made the mistake of leaving my computer unlocked on rare occasions and I ended up getting Biebered. We were constantly trolling each other and playing pranks which kept things fun. Changing someone’s wallpaper is pretty basic so I decided to take it up a notch for striking back. One day…
ASP.NET NLog Sql Server Logging and Error Handling Part 2
Be sure to check out Part 1 as this post builds upon it and the two go hand in hand. Series Overview Part 1 – Setting up logging with ASP.NET MVC, NLog and SQL Server Part 2 – Unhandled exception processing, building an error report, emailing errors, and custom error pages. Custom Error Handling Attribute…
ASP.NET NLog Sql Server Logging and Error Handling Part 1
It was the eleventh hour before a web app was to go live and there was nothing in place for error handling or logging. You’re shocked I’m sure (that’s my sarcastic voice). Normally with web apps in the past I’ve used ELMAH for unhandled error logging and NLog with text file targets for other logging.…
Using T4 to Generate Typesafe Enum Classes and Resource Files
In working on the domain layer of an application, I wrote a couple of typesafe enumeration classes that mirrored data in a couple of reference tables in a database. If you are not familiar with the pattern, Jimmy Bogard’s Enumeration classes post explains the pattern and rationale. The classes I wrote inherit from a modified…
AutoMapper’s ForMember
Calling AutoMapper’s ForMember has been bugging me lately with having to deal with its member configuration options like so: The member configuration options provides much more than just MapFrom but 99 times out of 100 I’m only dealing with MapFrom. What I’d really like is something like this: In looking around I did find http://trycatchfail.com/blog/post/A-More-Fluent-API-For-AutoMapper.aspx.…
A Week With the New MacBook Air
Time for a New Computer My mid-2009 MacBook Pro has been good to me as my first Mac. However after 3+ years it was showing its age with slow performance, particularly with any heavy disk access and especially running Windows. It stopped resuming from sleep quite a bit and started locking up more. I had…
Trying Out Jobs in PowerShell
An older app in our workplace stack is a webforms website project and it has a large enough directory structure to take a while to compile the site. I have to run the site a fair amount for a rewrite effort and it changes enough to make the initial build and run painfully slow. Since…
PowerShell Activity Progress with Time Estimates
The Goal Recently I worked on a PowerShell module to do various application build related functions on development machines. One side objective was multi-level activity progress reporting with time estimation so activity duration could be gauged over time. The desire was for this to be done generically and quickly as it was more of a…
CodeStock 2012 Windows Phone App
The CodeStock conference is coming up soon on June 15th in downtown Knoxville. As such I have upgraded the CodeStock 2011 Windows Phone app for this year’s conference and am pleased to announce it has been published to the marketplace. Marketplace Video Source Code Changes Over Last Year’s Version I have not had much time…