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.…

Read More

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.…

Read More