Tag Archives: Exceptions

.NET Core Api – Catch exceptions using a middleware

In .NET Core, we are starting to get used to the fact that nothing comes for free, and in the world of ultimate freedom of choice, every feature needs to be implemented by us. This includes error handling. In a … Continue reading

Posted in .NET Core, c#, Microsoft Azure | Tagged , , , | 3 Comments

Sitecore.Diagnostics.Assert statements

Recently I was corrected by my colleague Alan Coates about my use of Assert statements in my code, which gave me the opportunity to write this article. Sitecore has a fundamental Assert (Sitecore.Diagnostics.Assert) namespace which differs fundamentally from the .NET Debug.Assert … Continue reading

Posted in c#, General .NET, Sitecore 6 | Tagged , , , , , | 3 Comments