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…

Read More

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