Recent Posts

Skipping IIS Custom Error pages

1 minute read

By default, IIS7 intercepts 4xx and 5xx status responses with its own custom error pages. At work, we have a custom redirection module that checks if the sta...

MS Build - Publish to FileSystem

less than 1 minute read

I'm working for a simple project and wanted to deploy it to the webserver in my church. I installed TeamCity and set it up to pull the source code from githu...

Catch multiple Exceptions at one go

less than 1 minute read

It is not a good practice to catch System.Exception, as the catch block will be executed with unexpected exceptions and it will hide the real error. But some...